Browse Source

fix. typo

matrixbirds 5 years ago
parent
commit
efa4c45883
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      ios/RCTAgora/RCTAgora.m

+ 2
- 2
ios/RCTAgora/RCTAgora.m View File

@@ -1663,7 +1663,7 @@ RCT_EXPORT_METHOD(setLiveTranscoding:(NSDictionary *)options) {
1663 1663
            AGTokenPrivilegeWillExpire,
1664 1664
            AGRequestToken,
1665 1665
            
1666
-           DidMicrophoneEnabled,
1666
+           AGMicrophoneEnabled,
1667 1667
            AGAudioVolumeIndication,
1668 1668
            AGActiveSpeaker,
1669 1669
            AGFirstLocalAudioFrame,
@@ -1936,7 +1936,7 @@ RCT_EXPORT_METHOD(setLiveTranscoding:(NSDictionary *)options) {
1936 1936
   [self sendEvent:AGVideoSizeChanged params:@{
1937 1937
                                                  @"uid": @(uid),
1938 1938
                                                  @"width": @(size.width),
1939
-                                                 @"height": @(size.height)
1939
+                                                 @"height": @(size.height),
1940 1940
                                                  @"roration": @(rotation)
1941 1941
                                                  }];
1942 1942
 }