Browse Source

fix. typo

matrixbirds 5 years ago
parent
commit
f986e668d7
3 changed files with 12 additions and 11 deletions
  1. 8
    6
      lib/RtcEngine.native.js
  2. 1
    1
      lib/RtcEngine.native.js.map
  3. 3
    4
      src/RtcEngine.native.ts

+ 8
- 6
lib/RtcEngine.native.js View File

659
         Agora.setAudioSessionOperationRestriction();
659
         Agora.setAudioSessionOperationRestriction();
660
     }
660
     }
661
     /**
661
     /**
662
+     * @deprecated
662
      * start echo test
663
      * start echo test
663
      *
664
      *
664
      * This method launches an audio call test to determine whether the audio devices (for example, headset and speaker) and the network connection are working properly.
665
      * This method launches an audio call test to determine whether the audio devices (for example, headset and speaker) and the network connection are working properly.
665
      * @returns Promise<{success, value}>
666
      * @returns Promise<{success, value}>
666
      */
667
      */
667
-    static startEchoTest() {
668
-        return Agora.startEchoTest();
669
-    }
668
+    // public static startEchoTest(): Promise<any> {
669
+    //     return Agora.startEchoTest();
670
+    // }
670
     /**
671
     /**
671
      * stop echo test
672
      * stop echo test
672
      *
673
      *
828
         return Agora.removeInjectStreamUrl(options);
829
         return Agora.removeInjectStreamUrl(options);
829
     }
830
     }
830
     /**
831
     /**
832
+     * @deprecated
831
      * set video quality
833
      * set video quality
832
      *
834
      *
833
      * This method sets the preferences for the video quality. (Live broadcast only).
835
      * This method sets the preferences for the video quality. (Live broadcast only).
835
      * @param quality boolean
837
      * @param quality boolean
836
      * @returns Promise<{success, value}>
838
      * @returns Promise<{success, value}>
837
      */
839
      */
838
-    static setVideoQualityParameters(quality) {
839
-        return Agora.setVideoQualityParameters(quality);
840
-    }
840
+    // public static setVideoQualityParameters(quality: boolean): Promise<any> {
841
+    //     return Agora.setVideoQualityParameters(quality);
842
+    // }
841
     /**
843
     /**
842
      * set local video mirror mode
844
      * set local video mirror mode
843
      *
845
      *

+ 1
- 1
lib/RtcEngine.native.js.map
File diff suppressed because it is too large
View File


+ 3
- 4
src/RtcEngine.native.ts View File

771
     // }
771
     // }
772
 
772
 
773
     /**
773
     /**
774
-     * @deprecated
775
      * stop echo test
774
      * stop echo test
776
      * 
775
      * 
777
      * This method stop launched an audio call test.
776
      * This method stop launched an audio call test.
778
      * @returns Promise<{success, value}>
777
      * @returns Promise<{success, value}>
779
      */
778
      */
780
-    // public static stopEchoTest(): Promise<any> {
781
-    //     return Agora.stopEchoTest();
782
-    // }
779
+    public static stopEchoTest(): Promise<any> {
780
+        return Agora.stopEchoTest();
781
+    }
783
 
782
 
784
     /**
783
     /**
785
      * enable lastmile test
784
      * enable lastmile test