|
@@ -1692,7 +1692,6 @@ RCT_EXPORT_METHOD(setLiveTranscoding:(NSDictionary *)options) {
|
1692
|
1692
|
DidLocalPublishFallbackToAudioOnly,
|
1693
|
1693
|
DidRemoteSubscribeFallbackToAudioOnly,
|
1694
|
1694
|
|
1695
|
|
- DeviceTypeStateChanged,
|
1696
|
1695
|
DidAudioRouteChanged,
|
1697
|
1696
|
CameraDidReady,
|
1698
|
1697
|
CameraFocusDidChangedToRect,
|
|
@@ -1970,14 +1969,6 @@ RCT_EXPORT_METHOD(setLiveTranscoding:(NSDictionary *)options) {
|
1970
|
1969
|
}];
|
1971
|
1970
|
}
|
1972
|
1971
|
|
1973
|
|
-- (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine device:(NSString *_Nonnull)deviceId type:(AgoraMediaDeviceType)deviceType stateChanged:(NSInteger)state {
|
1974
|
|
- [self sendEvent:DeviceTypeStateChanged params:@{
|
1975
|
|
- @"deviceId": deviceId,
|
1976
|
|
- @"deviceType": @(deviceType),
|
1977
|
|
- @"state": @(state)
|
1978
|
|
- }];
|
1979
|
|
-}
|
1980
|
|
-
|
1981
|
1972
|
- (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didAudioRouteChanged:(AgoraAudioOutputRouting)routing {
|
1982
|
1973
|
[self sendEvent:DidAudioRouteChanged params:@{
|
1983
|
1974
|
@"routing": @(routing)
|