diff --git a/android/build.gradle b/android/build.gradle index 8e41e96f..eaa79078 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -165,9 +165,9 @@ dependencies { implementation "com.facebook.react:react-native:+" implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') /// dependencies start - api 'io.agora.rtc:full-sdk:4.6.4' - implementation 'io.agora.rtc:full-screen-sharing:4.6.4' - api 'io.agora.rtc:iris-rtc:4.6.4-build.6' + api 'io.agora.rtc:agora-special-full:4.6.4.1' + implementation 'io.agora.rtc:full-screen-sharing:4.6.4.1' + api 'io.agora.rtc:iris-rtc:4.6.4.1-build.1' /// dependencies end } diff --git a/examples/expo/ios/Podfile b/examples/expo/ios/Podfile index eebca661..1ffbb349 100644 --- a/examples/expo/ios/Podfile +++ b/examples/expo/ios/Podfile @@ -65,6 +65,6 @@ end target 'ScreenShare' do #dependencies start - pod 'AgoraRtcEngine_iOS', '4.6.4' + pod 'AgoraRtcEngine_Special_iOS', '4.6.4.1' #dependencies end end diff --git a/examples/expo/ios/Podfile.lock b/examples/expo/ios/Podfile.lock index e8bc3f37..9dd32b32 100644 --- a/examples/expo/ios/Podfile.lock +++ b/examples/expo/ios/Podfile.lock @@ -1,42 +1,6 @@ PODS: - - AgoraInfra_iOS (1.3.5) - - AgoraIrisRTC_iOS (4.6.4-build.6) - - AgoraRtcEngine_iOS (4.6.4): - - AgoraRtcEngine_iOS/AIAEC (= 4.6.4) - - AgoraRtcEngine_iOS/AIAECLL (= 4.6.4) - - AgoraRtcEngine_iOS/AINS (= 4.6.4) - - AgoraRtcEngine_iOS/AINSLL (= 4.6.4) - - AgoraRtcEngine_iOS/AudioBeauty (= 4.6.4) - - AgoraRtcEngine_iOS/ClearVision (= 4.6.4) - - AgoraRtcEngine_iOS/ContentInspect (= 4.6.4) - - AgoraRtcEngine_iOS/FaceCapture (= 4.6.4) - - AgoraRtcEngine_iOS/FaceDetection (= 4.6.4) - - AgoraRtcEngine_iOS/LipSync (= 4.6.4) - - AgoraRtcEngine_iOS/ReplayKit (= 4.6.4) - - AgoraRtcEngine_iOS/RtcBasic (= 4.6.4) - - AgoraRtcEngine_iOS/SpatialAudio (= 4.6.4) - - AgoraRtcEngine_iOS/VideoAv1CodecEnc (= 4.6.4) - - AgoraRtcEngine_iOS/VideoCodecEnc (= 4.6.4) - - AgoraRtcEngine_iOS/VirtualBackground (= 4.6.4) - - AgoraRtcEngine_iOS/VQA (= 4.6.4) - - AgoraRtcEngine_iOS/AIAEC (4.6.4) - - AgoraRtcEngine_iOS/AIAECLL (4.6.4) - - AgoraRtcEngine_iOS/AINS (4.6.4) - - AgoraRtcEngine_iOS/AINSLL (4.6.4) - - AgoraRtcEngine_iOS/AudioBeauty (4.6.4) - - AgoraRtcEngine_iOS/ClearVision (4.6.4) - - AgoraRtcEngine_iOS/ContentInspect (4.6.4) - - AgoraRtcEngine_iOS/FaceCapture (4.6.4) - - AgoraRtcEngine_iOS/FaceDetection (4.6.4) - - AgoraRtcEngine_iOS/LipSync (4.6.4) - - AgoraRtcEngine_iOS/ReplayKit (4.6.4) - - AgoraRtcEngine_iOS/RtcBasic (4.6.4): - - AgoraInfra_iOS (= 1.3.5) - - AgoraRtcEngine_iOS/SpatialAudio (4.6.4) - - AgoraRtcEngine_iOS/VideoAv1CodecEnc (4.6.4) - - AgoraRtcEngine_iOS/VideoCodecEnc (4.6.4) - - AgoraRtcEngine_iOS/VirtualBackground (4.6.4) - - AgoraRtcEngine_iOS/VQA (4.6.4) + - AgoraIrisRTC_iOS (4.6.4.1-build.1) + - AgoraRtcEngine_Special_iOS (4.6.4.1) - boost (1.84.0) - DoubleConversion (1.1.6) - EXConstants (17.1.7): @@ -1681,8 +1645,8 @@ PODS: - React-RCTFBReactNativeSpec - ReactCommon/turbomodule/core - react-native-agora (4.6.4): - - AgoraIrisRTC_iOS (= 4.6.4-build.6) - - AgoraRtcEngine_iOS (= 4.6.4) + - AgoraIrisRTC_iOS (= 4.6.4.1-build.1) + - AgoraRtcEngine_Special_iOS (= 4.6.4.1) - DoubleConversion - glog - hermes-engine @@ -2439,7 +2403,7 @@ PODS: - ZXingObjC/Core DEPENDENCIES: - - AgoraRtcEngine_iOS (= 4.6.4) + - AgoraRtcEngine_Special_iOS (= 4.6.4.1) - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) - EXConstants (from `../node_modules/expo-constants/ios`) @@ -2543,9 +2507,8 @@ DEPENDENCIES: SPEC REPOS: trunk: - - AgoraInfra_iOS - AgoraIrisRTC_iOS - - AgoraRtcEngine_iOS + - AgoraRtcEngine_Special_iOS - SocketRocket - ZXingObjC @@ -2749,9 +2712,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: - AgoraInfra_iOS: 0bf927aad4fc425b24ca5d094b333361960f5cb0 - AgoraIrisRTC_iOS: 617c544eae2240cbc21516f0938f6a46a1ea3646 - AgoraRtcEngine_iOS: 2ac3c06dd68eff8e895b5529e59a10a05da63878 + AgoraIrisRTC_iOS: d323c18a08ce9d399c17651459a7fd9f072f26e6 + AgoraRtcEngine_Special_iOS: 3eb0f17f4564a216e55c537e5cbb64f3da858545 boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90 DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb EXConstants: 9d62a46a36eae6d28cb978efcbc68aef354d1704 @@ -2807,7 +2769,7 @@ SPEC CHECKSUMS: React-logger: e6e6164f1753e46d1b7e2c8f0949cd7937eaf31b React-Mapbuffer: 5b4959cbd91e7e8fae42ab0f4b7c25b86fd139a1 React-microtasksnativemodule: 1695ab137281dd03de967b7bbeb4e392601f6432 - react-native-agora: 7f3be715832b9e4f0ffc2916e0f32e10bb38a24b + react-native-agora: f0fe7c8dc5e0585fd1ede5361234522867b52322 react-native-image-tools: 88218449791389bbf550a2c475a3b564c8233c8b react-native-safe-area-context: 6863f9e225b541b481514b0f6d51be0867184c2c react-native-slider: 351d1186b07d686b93dad14ce2b474ca62dea0fc @@ -2850,9 +2812,9 @@ SPEC CHECKSUMS: RNSVG: ab2249cc665e5d0b2d30657a766a86c99a649a65 RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8 SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 - Yoga: adb397651e1c00672c12e9495babca70777e411e + Yoga: 357d74ecf46ef5be0234a0a2b08a9f728b37d93f ZXingObjC: 8898711ab495761b2dbbdec76d90164a6d7e14c5 -PODFILE CHECKSUM: 6b788012466d53c4abc94ef1cf6d5cb8cefaae05 +PODFILE CHECKSUM: e16abd947f71a053d1a217453fb0af9e5782bfe5 COCOAPODS: 1.16.2 diff --git a/examples/expo/ios/reactnativeagoraexampleexpo.xcodeproj/project.pbxproj b/examples/expo/ios/reactnativeagoraexampleexpo.xcodeproj/project.pbxproj index 11d43735..372be8d5 100644 --- a/examples/expo/ios/reactnativeagoraexampleexpo.xcodeproj/project.pbxproj +++ b/examples/expo/ios/reactnativeagoraexampleexpo.xcodeproj/project.pbxproj @@ -490,34 +490,33 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-reactnativeagoraexampleexpo/Pods-reactnativeagoraexampleexpo-frameworks.sh", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraInfra_iOS/aosl.framework/aosl", "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraIrisRTC_iOS/AgoraRtcWrapper.framework/AgoraRtcWrapper", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/AIAEC/AgoraAiEchoCancellationExtension.framework/AgoraAiEchoCancellationExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/AIAECLL/AgoraAiEchoCancellationLLExtension.framework/AgoraAiEchoCancellationLLExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/AINS/AgoraAiNoiseSuppressionExtension.framework/AgoraAiNoiseSuppressionExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/AINSLL/AgoraAiNoiseSuppressionLLExtension.framework/AgoraAiNoiseSuppressionLLExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/AudioBeauty/AgoraAudioBeautyExtension.framework/AgoraAudioBeautyExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/ClearVision/AgoraClearVisionExtension.framework/AgoraClearVisionExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/ContentInspect/AgoraContentInspectExtension.framework/AgoraContentInspectExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/FaceCapture/AgoraFaceCaptureExtension.framework/AgoraFaceCaptureExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/FaceDetection/AgoraFaceDetectionExtension.framework/AgoraFaceDetectionExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/LipSync/AgoraLipSyncExtension.framework/AgoraLipSyncExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/ReplayKit/AgoraReplayKitExtension.framework/AgoraReplayKitExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/RtcBasic/AgoraRtcKit.framework/AgoraRtcKit", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/RtcBasic/Agorafdkaac.framework/Agorafdkaac", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/RtcBasic/Agoraffmpeg.framework/Agoraffmpeg", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/RtcBasic/AgoraSoundTouch.framework/AgoraSoundTouch", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/RtcBasic/video_dec.framework/video_dec", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/SpatialAudio/AgoraSpatialAudioExtension.framework/AgoraSpatialAudioExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/VQA/AgoraVideoQualityAnalyzerExtension.framework/AgoraVideoQualityAnalyzerExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/VideoAv1CodecEnc/AgoraVideoAv1EncoderExtension.framework/AgoraVideoAv1EncoderExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/VideoCodecEnc/AgoraVideoEncoderExtension.framework/AgoraVideoEncoderExtension", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/VirtualBackground/AgoraVideoSegmentationExtension.framework/AgoraVideoSegmentationExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraAiEchoCancellationExtension.framework/AgoraAiEchoCancellationExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraAiEchoCancellationLLExtension.framework/AgoraAiEchoCancellationLLExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraAiNoiseSuppressionExtension.framework/AgoraAiNoiseSuppressionExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraAiNoiseSuppressionLLExtension.framework/AgoraAiNoiseSuppressionLLExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraAudioBeautyExtension.framework/AgoraAudioBeautyExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraClearVisionExtension.framework/AgoraClearVisionExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraContentInspectExtension.framework/AgoraContentInspectExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraFaceCaptureExtension.framework/AgoraFaceCaptureExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraFaceDetectionExtension.framework/AgoraFaceDetectionExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraLipSyncExtension.framework/AgoraLipSyncExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraReplayKitExtension.framework/AgoraReplayKitExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraRtcKit.framework/AgoraRtcKit", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraSoundTouch.framework/AgoraSoundTouch", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraSpatialAudioExtension.framework/AgoraSpatialAudioExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraVideoAv1EncoderExtension.framework/AgoraVideoAv1EncoderExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraVideoEncoderExtension.framework/AgoraVideoEncoderExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraVideoQualityAnalyzerExtension.framework/AgoraVideoQualityAnalyzerExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/AgoraVideoSegmentationExtension.framework/AgoraVideoSegmentationExtension", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/Agorafdkaac.framework/Agorafdkaac", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/Agoraffmpeg.framework/Agoraffmpeg", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/aosl.framework/aosl", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_Special_iOS/video_dec.framework/video_dec", "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermes.framework/hermes", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/aosl.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraRtcWrapper.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraAiEchoCancellationExtension.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraAiEchoCancellationLLExtension.framework", @@ -531,15 +530,16 @@ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraLipSyncExtension.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraReplayKitExtension.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraRtcKit.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Agorafdkaac.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Agoraffmpeg.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraSoundTouch.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/video_dec.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraSpatialAudioExtension.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraVideoQualityAnalyzerExtension.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraVideoAv1EncoderExtension.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraVideoEncoderExtension.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraVideoQualityAnalyzerExtension.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraVideoSegmentationExtension.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Agorafdkaac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Agoraffmpeg.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/aosl.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/video_dec.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework", ); runOnlyForDeploymentPostprocessing = 0; diff --git a/examples/legacy/ios/Podfile b/examples/legacy/ios/Podfile index 8250f4d3..1db05da5 100644 --- a/examples/legacy/ios/Podfile +++ b/examples/legacy/ios/Podfile @@ -41,6 +41,6 @@ end target 'ScreenShare' do #dependencies start - pod 'AgoraRtcEngine_iOS', '4.6.4' + pod 'AgoraRtcEngine_Special_iOS', '4.6.4.1' #dependencies end end diff --git a/react-native-agora.podspec b/react-native-agora.podspec index 67930639..35be1f13 100644 --- a/react-native-agora.podspec +++ b/react-native-agora.podspec @@ -41,8 +41,8 @@ Pod::Spec.new do |s| end #dependencies start - s.dependency 'AgoraRtcEngine_iOS', '4.6.4' - s.dependency 'AgoraIrisRTC_iOS', '4.6.4-build.6' + s.dependency 'AgoraRtcEngine_Special_iOS', '4.6.4.1' + s.dependency 'AgoraIrisRTC_iOS', '4.6.4.1-build.1' #dependencies end s.libraries = 'stdc++' diff --git a/scripts/terra/config/impl_config.yaml b/scripts/terra/config/impl_config.yaml index 586ec40a..92facd99 100644 --- a/scripts/terra/config/impl_config.yaml +++ b/scripts/terra/config/impl_config.yaml @@ -2,7 +2,7 @@ parsers: - name: RTCParser package: '@agoraio-extensions/terra_shared_configs' args: - sdkVersion: 4.6.4 + sdkVersion: 4.6.4.1 FixEnumConstantParser: skipCalEnumValue: true diff --git a/scripts/terra/config/types_config.yaml b/scripts/terra/config/types_config.yaml index bdd89ca3..19b8d881 100644 --- a/scripts/terra/config/types_config.yaml +++ b/scripts/terra/config/types_config.yaml @@ -2,7 +2,7 @@ parsers: - name: RTCParser package: '@agoraio-extensions/terra_shared_configs' args: - sdkVersion: 4.6.4 + sdkVersion: 4.6.4.1 FixEnumConstantParser: skipCalEnumValue: true diff --git a/src/AgoraBase.ts b/src/AgoraBase.ts index d72750df..a43d41d9 100644 --- a/src/AgoraBase.ts +++ b/src/AgoraBase.ts @@ -2595,11 +2595,11 @@ export enum LocalVideoEventType { */ LocalVideoEventTypeScreenCaptureSystemInternalError = 4, /** - * @ignore + * (5): The requested wide-angle or ultra-wide-angle camera is applied. (Android only) */ LocalVideoEventTypeCameraFocalLengthApplied = 5, /** - * @ignore + * (6): The requested wide-angle or ultra-wide-angle camera cannot be opened, and the SDK falls back to the default camera. (Android only) */ LocalVideoEventTypeCameraFocalLengthFallbackToDefault = 6, } diff --git a/src/IAgoraRtcEngine.ts b/src/IAgoraRtcEngine.ts index 6de32a10..eb6560e3 100644 --- a/src/IAgoraRtcEngine.ts +++ b/src/IAgoraRtcEngine.ts @@ -1678,7 +1678,7 @@ export interface IRtcEngineEventHandler { * Since Available since v4.6.1. You can use this callback to get the reason for the local video event. * * @param source Type of video source. See VideoSourceType. - * @param event Type of local video event. See LocalVideoEventType. + * @param event Type of local video event: LocalVideoEventTypeScreenCaptureWindowHidden : The screen capture window is hidden. LocalVideoEventTypeScreenCaptureWindowRecoverFromHidden : The screen capture window recovers from the hidden state. LocalVideoEventTypeScreenCaptureStoppedByUser : Screen capture is stopped by the user. LocalVideoEventTypeScreenCaptureSystemInternalError : A system internal error occurs during screen capture. LocalVideoEventTypeCameraFocalLengthApplied : The requested wide-angle or ultra-wide-angle camera is applied. LocalVideoEventTypeCameraFocalLengthFallbackToDefault : The requested wide-angle or ultra-wide-angle camera cannot be opened, and the SDK falls back to the default camera. */ onLocalVideoEvent?(source: VideoSourceType, event: LocalVideoEventType): void;