@100mslive/react-native-hms 0.9.93 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -13
- package/android/.gradle/6.9/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/6.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.idea/jarRepositories.xml +10 -0
- package/android/.idea/libraries/Gradle__androidx_tracing_tracing_1_1_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__com_facebook_fbjni_fbjni_0_3_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__com_facebook_react_react_native_0_71_0_rc_0_debug_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__com_facebook_soloader_annotation_0_10_4.xml +13 -0
- package/android/.idea/libraries/Gradle__com_facebook_soloader_nativeloader_0_10_4.xml +13 -0
- package/android/.idea/libraries/Gradle__com_facebook_soloader_soloader_0_10_4_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__com_github_100mslive_android_sdk_lib_2_5_1_aar.xml +10 -0
- package/android/.idea/libraries/Gradle__com_github_100mslive_webrtc_m104_hms_1_3_aar.xml +10 -0
- package/android/.idea/modules/android.androidTest.iml +35 -33
- package/android/.idea/modules/android.main.iml +36 -33
- package/android/.idea/modules/android.unitTest.iml +35 -33
- package/android/.idea/sonarlint/issuestore/3/c/3c46088b6add3088181589d8ed726652742b6221 +5 -0
- package/android/.idea/sonarlint/issuestore/a/8/a8c9f5ddd88723818e51ae3cf8693d02355a8691 +0 -0
- package/android/.idea/sonarlint/issuestore/index.pb +5 -1
- package/android/build.gradle +12 -10
- package/android/src/main/java/com/reactnativehmssdk/HMSDecoder.kt +8 -25
- package/android/src/main/java/com/reactnativehmssdk/HMSHelper.kt +119 -89
- package/android/src/main/java/com/reactnativehmssdk/HMSManager.kt +196 -0
- package/android/src/main/java/com/reactnativehmssdk/HMSRNSDK.kt +99 -40
- package/android/src/main/java/com/reactnativehmssdk/HMSView.kt +1 -1
- package/ios/HMSDecoder.swift +17 -15
- package/ios/HMSHelper.swift +52 -22
- package/ios/HMSManager.m +7 -0
- package/ios/HMSManager.swift +62 -14
- package/ios/HMSRNSDK.swift +71 -30
- package/ios/Hmssdk.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/Hmssdk.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/Hmssdk.xcodeproj/project.xcworkspace/xcuserdata/yogesh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Hmssdk.xcodeproj/xcuserdata/yogesh.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/lib/commonjs/classes/HMSAudioCodec.js +0 -1
- package/lib/commonjs/classes/HMSAudioCodec.js.map +1 -1
- package/lib/commonjs/classes/HMSAudioDevice.js +0 -1
- package/lib/commonjs/classes/HMSAudioDevice.js.map +1 -1
- package/lib/commonjs/classes/HMSAudioFilePlayerNode.js +0 -14
- package/lib/commonjs/classes/HMSAudioFilePlayerNode.js.map +1 -1
- package/lib/commonjs/classes/HMSAudioMixerSource.js +3 -7
- package/lib/commonjs/classes/HMSAudioMixerSource.js.map +1 -1
- package/lib/commonjs/classes/HMSAudioMixingMode.js +0 -1
- package/lib/commonjs/classes/HMSAudioMixingMode.js.map +1 -1
- package/lib/commonjs/classes/HMSAudioMode.js +0 -1
- package/lib/commonjs/classes/HMSAudioMode.js.map +1 -1
- package/lib/commonjs/classes/HMSAudioNode.js +3 -8
- package/lib/commonjs/classes/HMSAudioNode.js.map +1 -1
- package/lib/commonjs/classes/HMSAudioSettings.js +3 -7
- package/lib/commonjs/classes/HMSAudioSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSAudioTrack.js +0 -4
- package/lib/commonjs/classes/HMSAudioTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSAudioTrackSettings.js +9 -17
- package/lib/commonjs/classes/HMSAudioTrackSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSBrowserRecordingState.js +3 -9
- package/lib/commonjs/classes/HMSBrowserRecordingState.js.map +1 -1
- package/lib/commonjs/classes/HMSCameraFacing.js +0 -1
- package/lib/commonjs/classes/HMSCameraFacing.js.map +1 -1
- package/lib/commonjs/classes/HMSChangeTrackStateRequest.js +3 -8
- package/lib/commonjs/classes/HMSChangeTrackStateRequest.js.map +1 -1
- package/lib/commonjs/classes/HMSConfig.js +3 -10
- package/lib/commonjs/classes/HMSConfig.js.map +1 -1
- package/lib/commonjs/classes/HMSEncoder.js +12 -86
- package/lib/commonjs/classes/HMSEncoder.js.map +1 -1
- package/lib/commonjs/classes/HMSException.js +5 -12
- package/lib/commonjs/classes/HMSException.js.map +1 -1
- package/lib/commonjs/classes/HMSHLSConfig.js +3 -7
- package/lib/commonjs/classes/HMSHLSConfig.js.map +1 -1
- package/lib/commonjs/classes/HMSHLSMeetingURLVariant.js +3 -7
- package/lib/commonjs/classes/HMSHLSMeetingURLVariant.js.map +1 -1
- package/lib/commonjs/classes/HMSHLSRecordingConfig.js +3 -7
- package/lib/commonjs/classes/HMSHLSRecordingConfig.js.map +1 -1
- package/lib/commonjs/classes/HMSHLSRecordingState.js +3 -9
- package/lib/commonjs/classes/HMSHLSRecordingState.js.map +1 -1
- package/lib/commonjs/classes/HMSHLSStreamingState.js +3 -7
- package/lib/commonjs/classes/HMSHLSStreamingState.js.map +1 -1
- package/lib/commonjs/classes/HMSHLSVariant.js +3 -9
- package/lib/commonjs/classes/HMSHLSVariant.js.map +1 -1
- package/lib/commonjs/classes/HMSHelper.js +0 -3
- package/lib/commonjs/classes/HMSHelper.js.map +1 -1
- package/lib/commonjs/classes/HMSLocalAudioStats.js +3 -8
- package/lib/commonjs/classes/HMSLocalAudioStats.js.map +1 -1
- package/lib/commonjs/classes/HMSLocalAudioTrack.js +3 -16
- package/lib/commonjs/classes/HMSLocalAudioTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSLocalPeer.js +3 -15
- package/lib/commonjs/classes/HMSLocalPeer.js.map +1 -1
- package/lib/commonjs/classes/HMSLocalVideoStats.js +3 -10
- package/lib/commonjs/classes/HMSLocalVideoStats.js.map +1 -1
- package/lib/commonjs/classes/HMSLocalVideoTrack.js +3 -16
- package/lib/commonjs/classes/HMSLocalVideoTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSLogAlarmManager.js +14 -0
- package/lib/commonjs/classes/HMSLogAlarmManager.js.map +1 -0
- package/lib/commonjs/classes/HMSLogLevel.js +0 -1
- package/lib/commonjs/classes/HMSLogLevel.js.map +1 -1
- package/lib/commonjs/classes/HMSLogSettings.js +21 -0
- package/lib/commonjs/classes/HMSLogSettings.js.map +1 -0
- package/lib/commonjs/classes/HMSLogger.js +3 -31
- package/lib/commonjs/classes/HMSLogger.js.map +1 -1
- package/lib/commonjs/classes/HMSMessage.js +4 -10
- package/lib/commonjs/classes/HMSMessage.js.map +1 -1
- package/lib/commonjs/classes/HMSMessageRecipient.js +3 -8
- package/lib/commonjs/classes/HMSMessageRecipient.js.map +1 -1
- package/lib/commonjs/classes/HMSMessageRecipientType.js +0 -1
- package/lib/commonjs/classes/HMSMessageRecipientType.js.map +1 -1
- package/lib/commonjs/classes/HMSMessageType.js +13 -0
- package/lib/commonjs/classes/HMSMessageType.js.map +1 -0
- package/lib/commonjs/classes/HMSMicNode.js +0 -7
- package/lib/commonjs/classes/HMSMicNode.js.map +1 -1
- package/lib/commonjs/classes/HMSNetworkQuality.js +3 -6
- package/lib/commonjs/classes/HMSNetworkQuality.js.map +1 -1
- package/lib/commonjs/classes/HMSPeer.js +3 -16
- package/lib/commonjs/classes/HMSPeer.js.map +1 -1
- package/lib/commonjs/classes/HMSPeerUpdate.js +0 -1
- package/lib/commonjs/classes/HMSPeerUpdate.js.map +1 -1
- package/lib/commonjs/classes/HMSPermissions.js +3 -13
- package/lib/commonjs/classes/HMSPermissions.js.map +1 -1
- package/lib/commonjs/classes/HMSPublishSettings.js +3 -12
- package/lib/commonjs/classes/HMSPublishSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSRTCStats.js +3 -12
- package/lib/commonjs/classes/HMSRTCStats.js.map +1 -1
- package/lib/commonjs/classes/HMSRTCStatsReport.js +3 -8
- package/lib/commonjs/classes/HMSRTCStatsReport.js.map +1 -1
- package/lib/commonjs/classes/HMSRTMPConfig.js +3 -9
- package/lib/commonjs/classes/HMSRTMPConfig.js.map +1 -1
- package/lib/commonjs/classes/HMSRemoteAudioStats.js +3 -10
- package/lib/commonjs/classes/HMSRemoteAudioStats.js.map +1 -1
- package/lib/commonjs/classes/HMSRemoteAudioTrack.js +3 -11
- package/lib/commonjs/classes/HMSRemoteAudioTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSRemotePeer.js +3 -15
- package/lib/commonjs/classes/HMSRemotePeer.js.map +1 -1
- package/lib/commonjs/classes/HMSRemoteVideoStats.js +3 -12
- package/lib/commonjs/classes/HMSRemoteVideoStats.js.map +1 -1
- package/lib/commonjs/classes/HMSRemoteVideoTrack.js +3 -13
- package/lib/commonjs/classes/HMSRemoteVideoTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSRole.js +3 -13
- package/lib/commonjs/classes/HMSRole.js.map +1 -1
- package/lib/commonjs/classes/HMSRoleChangeRequest.js +3 -7
- package/lib/commonjs/classes/HMSRoleChangeRequest.js.map +1 -1
- package/lib/commonjs/classes/HMSRoom.js +5 -16
- package/lib/commonjs/classes/HMSRoom.js.map +1 -1
- package/lib/commonjs/classes/HMSRoomUpdate.js +0 -1
- package/lib/commonjs/classes/HMSRoomUpdate.js.map +1 -1
- package/lib/commonjs/classes/HMSRtmpStreamingState.js +3 -9
- package/lib/commonjs/classes/HMSRtmpStreamingState.js.map +1 -1
- package/lib/commonjs/classes/HMSRtmpVideoResolution.js +3 -7
- package/lib/commonjs/classes/HMSRtmpVideoResolution.js.map +1 -1
- package/lib/commonjs/classes/HMSSDK.js +172 -382
- package/lib/commonjs/classes/HMSSDK.js.map +1 -1
- package/lib/commonjs/classes/HMSScreenBroadcastAudioReceiverNode.js +0 -4
- package/lib/commonjs/classes/HMSScreenBroadcastAudioReceiverNode.js.map +1 -1
- package/lib/commonjs/classes/HMSServerRecordingState.js +3 -8
- package/lib/commonjs/classes/HMSServerRecordingState.js.map +1 -1
- package/lib/commonjs/classes/HMSSimulcastLayerSettings.js +3 -9
- package/lib/commonjs/classes/HMSSimulcastLayerSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSSimulcastSettings.js +3 -7
- package/lib/commonjs/classes/HMSSimulcastSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSSpeaker.js +3 -8
- package/lib/commonjs/classes/HMSSpeaker.js.map +1 -1
- package/lib/commonjs/classes/HMSSubscribeSettings.js +5 -10
- package/lib/commonjs/classes/HMSSubscribeSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSTrack.js +3 -12
- package/lib/commonjs/classes/HMSTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSTrackSettings.js +3 -10
- package/lib/commonjs/classes/HMSTrackSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSTrackSettingsInitState.js +13 -0
- package/lib/commonjs/classes/HMSTrackSettingsInitState.js.map +1 -0
- package/lib/commonjs/classes/HMSTrackSource.js +0 -1
- package/lib/commonjs/classes/HMSTrackSource.js.map +1 -1
- package/lib/commonjs/classes/HMSTrackType.js +0 -1
- package/lib/commonjs/classes/HMSTrackType.js.map +1 -1
- package/lib/commonjs/classes/HMSTrackUpdate.js +0 -1
- package/lib/commonjs/classes/HMSTrackUpdate.js.map +1 -1
- package/lib/commonjs/classes/HMSUpdateListenerActions.js +0 -1
- package/lib/commonjs/classes/HMSUpdateListenerActions.js.map +1 -1
- package/lib/commonjs/classes/HMSVideoCodec.js +0 -1
- package/lib/commonjs/classes/HMSVideoCodec.js.map +1 -1
- package/lib/commonjs/classes/HMSVideoResolution.js +3 -7
- package/lib/commonjs/classes/HMSVideoResolution.js.map +1 -1
- package/lib/commonjs/classes/HMSVideoSettings.js +3 -10
- package/lib/commonjs/classes/HMSVideoSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSVideoTrack.js +3 -12
- package/lib/commonjs/classes/HMSVideoTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSVideoTrackSettings.js +14 -24
- package/lib/commonjs/classes/HMSVideoTrackSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSVideoViewMode.js +0 -1
- package/lib/commonjs/classes/HMSVideoViewMode.js.map +1 -1
- package/lib/commonjs/classes/HmsView.js +20 -26
- package/lib/commonjs/classes/HmsView.js.map +1 -1
- package/lib/commonjs/index.js +48 -144
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/classes/HMSAudioCodec.js +0 -1
- package/lib/module/classes/HMSAudioCodec.js.map +1 -1
- package/lib/module/classes/HMSAudioDevice.js +0 -1
- package/lib/module/classes/HMSAudioDevice.js.map +1 -1
- package/lib/module/classes/HMSAudioFilePlayerNode.js +0 -9
- package/lib/module/classes/HMSAudioFilePlayerNode.js.map +1 -1
- package/lib/module/classes/HMSAudioMixerSource.js +3 -5
- package/lib/module/classes/HMSAudioMixerSource.js.map +1 -1
- package/lib/module/classes/HMSAudioMixingMode.js +0 -1
- package/lib/module/classes/HMSAudioMixingMode.js.map +1 -1
- package/lib/module/classes/HMSAudioMode.js +0 -1
- package/lib/module/classes/HMSAudioMode.js.map +1 -1
- package/lib/module/classes/HMSAudioNode.js +3 -6
- package/lib/module/classes/HMSAudioNode.js.map +1 -1
- package/lib/module/classes/HMSAudioSettings.js +3 -5
- package/lib/module/classes/HMSAudioSettings.js.map +1 -1
- package/lib/module/classes/HMSAudioTrack.js +0 -1
- package/lib/module/classes/HMSAudioTrack.js.map +1 -1
- package/lib/module/classes/HMSAudioTrackSettings.js +9 -15
- package/lib/module/classes/HMSAudioTrackSettings.js.map +1 -1
- package/lib/module/classes/HMSBrowserRecordingState.js +3 -7
- package/lib/module/classes/HMSBrowserRecordingState.js.map +1 -1
- package/lib/module/classes/HMSCameraFacing.js +0 -1
- package/lib/module/classes/HMSCameraFacing.js.map +1 -1
- package/lib/module/classes/HMSChangeTrackStateRequest.js +3 -6
- package/lib/module/classes/HMSChangeTrackStateRequest.js.map +1 -1
- package/lib/module/classes/HMSConfig.js +3 -8
- package/lib/module/classes/HMSConfig.js.map +1 -1
- package/lib/module/classes/HMSEncoder.js +12 -54
- package/lib/module/classes/HMSEncoder.js.map +1 -1
- package/lib/module/classes/HMSException.js +5 -10
- package/lib/module/classes/HMSException.js.map +1 -1
- package/lib/module/classes/HMSHLSConfig.js +3 -5
- package/lib/module/classes/HMSHLSConfig.js.map +1 -1
- package/lib/module/classes/HMSHLSMeetingURLVariant.js +3 -5
- package/lib/module/classes/HMSHLSMeetingURLVariant.js.map +1 -1
- package/lib/module/classes/HMSHLSRecordingConfig.js +3 -5
- package/lib/module/classes/HMSHLSRecordingConfig.js.map +1 -1
- package/lib/module/classes/HMSHLSRecordingState.js +3 -7
- package/lib/module/classes/HMSHLSRecordingState.js.map +1 -1
- package/lib/module/classes/HMSHLSStreamingState.js +3 -5
- package/lib/module/classes/HMSHLSStreamingState.js.map +1 -1
- package/lib/module/classes/HMSHLSVariant.js +3 -7
- package/lib/module/classes/HMSHLSVariant.js.map +1 -1
- package/lib/module/classes/HMSHelper.js +0 -1
- package/lib/module/classes/HMSHelper.js.map +1 -1
- package/lib/module/classes/HMSLocalAudioStats.js +3 -6
- package/lib/module/classes/HMSLocalAudioStats.js.map +1 -1
- package/lib/module/classes/HMSLocalAudioTrack.js +3 -10
- package/lib/module/classes/HMSLocalAudioTrack.js.map +1 -1
- package/lib/module/classes/HMSLocalPeer.js +3 -10
- package/lib/module/classes/HMSLocalPeer.js.map +1 -1
- package/lib/module/classes/HMSLocalVideoStats.js +3 -8
- package/lib/module/classes/HMSLocalVideoStats.js.map +1 -1
- package/lib/module/classes/HMSLocalVideoTrack.js +3 -10
- package/lib/module/classes/HMSLocalVideoTrack.js.map +1 -1
- package/lib/module/classes/HMSLogAlarmManager.js +7 -0
- package/lib/module/classes/HMSLogAlarmManager.js.map +1 -0
- package/lib/module/classes/HMSLogLevel.js +0 -1
- package/lib/module/classes/HMSLogLevel.js.map +1 -1
- package/lib/module/classes/HMSLogSettings.js +14 -0
- package/lib/module/classes/HMSLogSettings.js.map +1 -0
- package/lib/module/classes/HMSLogger.js +3 -23
- package/lib/module/classes/HMSLogger.js.map +1 -1
- package/lib/module/classes/HMSMessage.js +4 -8
- package/lib/module/classes/HMSMessage.js.map +1 -1
- package/lib/module/classes/HMSMessageRecipient.js +3 -6
- package/lib/module/classes/HMSMessageRecipient.js.map +1 -1
- package/lib/module/classes/HMSMessageRecipientType.js +0 -1
- package/lib/module/classes/HMSMessageRecipientType.js.map +1 -1
- package/lib/module/classes/HMSMessageType.js +6 -0
- package/lib/module/classes/HMSMessageType.js.map +1 -0
- package/lib/module/classes/HMSMicNode.js +0 -2
- package/lib/module/classes/HMSMicNode.js.map +1 -1
- package/lib/module/classes/HMSNetworkQuality.js +3 -4
- package/lib/module/classes/HMSNetworkQuality.js.map +1 -1
- package/lib/module/classes/HMSPeer.js +3 -14
- package/lib/module/classes/HMSPeer.js.map +1 -1
- package/lib/module/classes/HMSPeerUpdate.js +0 -1
- package/lib/module/classes/HMSPeerUpdate.js.map +1 -1
- package/lib/module/classes/HMSPermissions.js +3 -11
- package/lib/module/classes/HMSPermissions.js.map +1 -1
- package/lib/module/classes/HMSPublishSettings.js +3 -10
- package/lib/module/classes/HMSPublishSettings.js.map +1 -1
- package/lib/module/classes/HMSRTCStats.js +3 -10
- package/lib/module/classes/HMSRTCStats.js.map +1 -1
- package/lib/module/classes/HMSRTCStatsReport.js +3 -6
- package/lib/module/classes/HMSRTCStatsReport.js.map +1 -1
- package/lib/module/classes/HMSRTMPConfig.js +3 -7
- package/lib/module/classes/HMSRTMPConfig.js.map +1 -1
- package/lib/module/classes/HMSRemoteAudioStats.js +3 -8
- package/lib/module/classes/HMSRemoteAudioStats.js.map +1 -1
- package/lib/module/classes/HMSRemoteAudioTrack.js +3 -5
- package/lib/module/classes/HMSRemoteAudioTrack.js.map +1 -1
- package/lib/module/classes/HMSRemotePeer.js +3 -10
- package/lib/module/classes/HMSRemotePeer.js.map +1 -1
- package/lib/module/classes/HMSRemoteVideoStats.js +3 -10
- package/lib/module/classes/HMSRemoteVideoStats.js.map +1 -1
- package/lib/module/classes/HMSRemoteVideoTrack.js +3 -7
- package/lib/module/classes/HMSRemoteVideoTrack.js.map +1 -1
- package/lib/module/classes/HMSRole.js +3 -11
- package/lib/module/classes/HMSRole.js.map +1 -1
- package/lib/module/classes/HMSRoleChangeRequest.js +3 -5
- package/lib/module/classes/HMSRoleChangeRequest.js.map +1 -1
- package/lib/module/classes/HMSRoom.js +5 -14
- package/lib/module/classes/HMSRoom.js.map +1 -1
- package/lib/module/classes/HMSRoomUpdate.js +0 -1
- package/lib/module/classes/HMSRoomUpdate.js.map +1 -1
- package/lib/module/classes/HMSRtmpStreamingState.js +3 -7
- package/lib/module/classes/HMSRtmpStreamingState.js.map +1 -1
- package/lib/module/classes/HMSRtmpVideoResolution.js +3 -5
- package/lib/module/classes/HMSRtmpVideoResolution.js.map +1 -1
- package/lib/module/classes/HMSSDK.js +172 -336
- package/lib/module/classes/HMSSDK.js.map +1 -1
- package/lib/module/classes/HMSScreenBroadcastAudioReceiverNode.js +0 -1
- package/lib/module/classes/HMSScreenBroadcastAudioReceiverNode.js.map +1 -1
- package/lib/module/classes/HMSServerRecordingState.js +3 -6
- package/lib/module/classes/HMSServerRecordingState.js.map +1 -1
- package/lib/module/classes/HMSSimulcastLayerSettings.js +3 -7
- package/lib/module/classes/HMSSimulcastLayerSettings.js.map +1 -1
- package/lib/module/classes/HMSSimulcastSettings.js +3 -5
- package/lib/module/classes/HMSSimulcastSettings.js.map +1 -1
- package/lib/module/classes/HMSSpeaker.js +3 -6
- package/lib/module/classes/HMSSpeaker.js.map +1 -1
- package/lib/module/classes/HMSSubscribeSettings.js +5 -8
- package/lib/module/classes/HMSSubscribeSettings.js.map +1 -1
- package/lib/module/classes/HMSTrack.js +3 -10
- package/lib/module/classes/HMSTrack.js.map +1 -1
- package/lib/module/classes/HMSTrackSettings.js +3 -8
- package/lib/module/classes/HMSTrackSettings.js.map +1 -1
- package/lib/module/classes/HMSTrackSettingsInitState.js +6 -0
- package/lib/module/classes/HMSTrackSettingsInitState.js.map +1 -0
- package/lib/module/classes/HMSTrackSource.js +0 -1
- package/lib/module/classes/HMSTrackSource.js.map +1 -1
- package/lib/module/classes/HMSTrackType.js +0 -1
- package/lib/module/classes/HMSTrackType.js.map +1 -1
- package/lib/module/classes/HMSTrackUpdate.js +0 -1
- package/lib/module/classes/HMSTrackUpdate.js.map +1 -1
- package/lib/module/classes/HMSUpdateListenerActions.js +0 -1
- package/lib/module/classes/HMSUpdateListenerActions.js.map +1 -1
- package/lib/module/classes/HMSVideoCodec.js +0 -1
- package/lib/module/classes/HMSVideoCodec.js.map +1 -1
- package/lib/module/classes/HMSVideoResolution.js +3 -5
- package/lib/module/classes/HMSVideoResolution.js.map +1 -1
- package/lib/module/classes/HMSVideoSettings.js +3 -8
- package/lib/module/classes/HMSVideoSettings.js.map +1 -1
- package/lib/module/classes/HMSVideoTrack.js +3 -9
- package/lib/module/classes/HMSVideoTrack.js.map +1 -1
- package/lib/module/classes/HMSVideoTrackSettings.js +14 -22
- package/lib/module/classes/HMSVideoTrackSettings.js.map +1 -1
- package/lib/module/classes/HMSVideoViewMode.js +0 -1
- package/lib/module/classes/HMSVideoViewMode.js.map +1 -1
- package/lib/module/classes/HmsView.js +20 -15
- package/lib/module/classes/HmsView.js.map +1 -1
- package/lib/module/index.js +4 -0
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/classes/HMSAudioTrackSettings.d.ts +5 -7
- package/lib/typescript/classes/HMSBrowserRecordingState.d.ts +2 -2
- package/lib/typescript/classes/HMSEncoder.d.ts +2 -5
- package/lib/typescript/classes/HMSLogAlarmManager.d.ts +5 -0
- package/lib/typescript/classes/HMSLogSettings.d.ts +12 -0
- package/lib/typescript/classes/HMSMessage.d.ts +3 -2
- package/lib/typescript/classes/HMSMessageType.d.ts +4 -0
- package/lib/typescript/classes/HMSRoom.d.ts +3 -0
- package/lib/typescript/classes/HMSRtmpStreamingState.d.ts +2 -2
- package/lib/typescript/classes/HMSSDK.d.ts +52 -17
- package/lib/typescript/classes/HMSServerRecordingState.d.ts +2 -2
- package/lib/typescript/classes/HMSSubscribeSettings.d.ts +2 -2
- package/lib/typescript/classes/HMSTrackSettings.d.ts +0 -2
- package/lib/typescript/classes/HMSTrackSettingsInitState.d.ts +4 -0
- package/lib/typescript/classes/HMSVideoTrack.d.ts +0 -2
- package/lib/typescript/classes/HMSVideoTrackSettings.d.ts +10 -15
- package/lib/typescript/index.d.ts +4 -0
- package/package.json +1 -1
- package/react-native-hms.podspec +2 -2
- package/src/classes/HMSAudioTrackSettings.ts +8 -10
- package/src/classes/HMSBrowserRecordingState.ts +2 -2
- package/src/classes/HMSEncoder.ts +12 -20
- package/src/classes/HMSLogAlarmManager.ts +5 -0
- package/src/classes/HMSLogSettings.ts +18 -0
- package/src/classes/HMSMessage.ts +3 -2
- package/src/classes/HMSMessageType.ts +4 -0
- package/src/classes/HMSRoom.ts +4 -0
- package/src/classes/HMSRtmpStreamingState.ts +2 -2
- package/src/classes/HMSSDK.tsx +165 -149
- package/src/classes/HMSServerRecordingState.ts +2 -2
- package/src/classes/HMSSubscribeSettings.ts +3 -3
- package/src/classes/HMSTrackSettings.ts +0 -3
- package/src/classes/HMSTrackSettingsInitState.ts +4 -0
- package/src/classes/HMSVideoTrack.ts +0 -2
- package/src/classes/HMSVideoTrackSettings.ts +14 -21
- package/src/classes/HmsView.tsx +15 -1
- package/src/index.ts +4 -0
- package/android/.idea/libraries/Gradle__com_facebook_fbjni_fbjni_java_only_0_2_2.xml +0 -13
- package/android/.idea/libraries/Gradle__com_facebook_react_react_native_0_69_1_debug_aar.xml +0 -14
- package/android/.idea/libraries/Gradle__com_facebook_soloader_annotation_0_10_3.xml +0 -13
- package/android/.idea/libraries/Gradle__com_facebook_soloader_nativeloader_0_10_3.xml +0 -13
- package/android/.idea/libraries/Gradle__com_facebook_soloader_soloader_0_10_3_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_github_100mslive_android_sdk_lib_2_4_7_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__com_github_100mslive_webrtc_m97_hms_1_1_aar.xml +0 -11
|
@@ -4,25 +4,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSPublishSettings = void 0;
|
|
7
|
-
|
|
8
|
-
function
|
|
9
|
-
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
10
|
class HMSPublishSettings {
|
|
11
11
|
constructor(params) {
|
|
12
12
|
_defineProperty(this, "audio", void 0);
|
|
13
|
-
|
|
14
13
|
_defineProperty(this, "video", void 0);
|
|
15
|
-
|
|
16
14
|
_defineProperty(this, "screen", void 0);
|
|
17
|
-
|
|
18
15
|
_defineProperty(this, "audioSimulcast", void 0);
|
|
19
|
-
|
|
20
16
|
_defineProperty(this, "videoSimulcast", void 0);
|
|
21
|
-
|
|
22
17
|
_defineProperty(this, "screenSimulcast", void 0);
|
|
23
|
-
|
|
24
18
|
_defineProperty(this, "allowed", void 0);
|
|
25
|
-
|
|
26
19
|
this.audio = params.audio;
|
|
27
20
|
this.video = params.video;
|
|
28
21
|
this.screen = params.screen;
|
|
@@ -31,8 +24,6 @@ class HMSPublishSettings {
|
|
|
31
24
|
this.screenSimulcast = params.screenSimulcast;
|
|
32
25
|
this.allowed = params.allowed;
|
|
33
26
|
}
|
|
34
|
-
|
|
35
27
|
}
|
|
36
|
-
|
|
37
28
|
exports.HMSPublishSettings = HMSPublishSettings;
|
|
38
29
|
//# sourceMappingURL=HMSPublishSettings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSPublishSettings","constructor","params","audio","video","screen","audioSimulcast","videoSimulcast","screenSimulcast","allowed"],"sources":["HMSPublishSettings.ts"],"sourcesContent":["import type { HMSAudioSettings } from './HMSAudioSettings';\nimport type { HMSSimulcastSettings } from './HMSSimulcastSettings';\nimport type { HMSVideoSettings } from './HMSVideoSettings';\n\nexport class HMSPublishSettings {\n audio: HMSAudioSettings;\n video: HMSVideoSettings;\n screen: HMSVideoSettings;\n audioSimulcast?: HMSSimulcastSettings;\n videoSimulcast?: HMSSimulcastSettings;\n screenSimulcast?: HMSSimulcastSettings;\n allowed?: [string];\n\n constructor(params: {\n audio: HMSAudioSettings;\n video: HMSVideoSettings;\n screen: HMSVideoSettings;\n audioSimulcast?: HMSSimulcastSettings;\n videoSimulcast?: HMSSimulcastSettings;\n screenSimulcast?: HMSSimulcastSettings;\n allowed?: [string];\n }) {\n this.audio = params.audio;\n this.video = params.video;\n this.screen = params.screen;\n this.audioSimulcast = params.audioSimulcast;\n this.videoSimulcast = params.videoSimulcast;\n this.screenSimulcast = params.screenSimulcast;\n this.allowed = params.allowed;\n }\n}\n"],"mappings":";;;;;;;;;AAIO,MAAMA,
|
|
1
|
+
{"version":3,"names":["HMSPublishSettings","constructor","params","audio","video","screen","audioSimulcast","videoSimulcast","screenSimulcast","allowed"],"sources":["HMSPublishSettings.ts"],"sourcesContent":["import type { HMSAudioSettings } from './HMSAudioSettings';\nimport type { HMSSimulcastSettings } from './HMSSimulcastSettings';\nimport type { HMSVideoSettings } from './HMSVideoSettings';\n\nexport class HMSPublishSettings {\n audio: HMSAudioSettings;\n video: HMSVideoSettings;\n screen: HMSVideoSettings;\n audioSimulcast?: HMSSimulcastSettings;\n videoSimulcast?: HMSSimulcastSettings;\n screenSimulcast?: HMSSimulcastSettings;\n allowed?: [string];\n\n constructor(params: {\n audio: HMSAudioSettings;\n video: HMSVideoSettings;\n screen: HMSVideoSettings;\n audioSimulcast?: HMSSimulcastSettings;\n videoSimulcast?: HMSSimulcastSettings;\n screenSimulcast?: HMSSimulcastSettings;\n allowed?: [string];\n }) {\n this.audio = params.audio;\n this.video = params.video;\n this.screen = params.screen;\n this.audioSimulcast = params.audioSimulcast;\n this.videoSimulcast = params.videoSimulcast;\n this.screenSimulcast = params.screenSimulcast;\n this.allowed = params.allowed;\n }\n}\n"],"mappings":";;;;;;;;;AAIO,MAAMA,kBAAkB,CAAC;EAS9BC,WAAW,CAACC,MAQX,EAAE;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IACD,IAAI,CAACC,KAAK,GAAGD,MAAM,CAACC,KAAK;IACzB,IAAI,CAACC,KAAK,GAAGF,MAAM,CAACE,KAAK;IACzB,IAAI,CAACC,MAAM,GAAGH,MAAM,CAACG,MAAM;IAC3B,IAAI,CAACC,cAAc,GAAGJ,MAAM,CAACI,cAAc;IAC3C,IAAI,CAACC,cAAc,GAAGL,MAAM,CAACK,cAAc;IAC3C,IAAI,CAACC,eAAe,GAAGN,MAAM,CAACM,eAAe;IAC7C,IAAI,CAACC,OAAO,GAAGP,MAAM,CAACO,OAAO;EAC/B;AACF;AAAC"}
|
|
@@ -4,25 +4,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRTCStats = void 0;
|
|
7
|
-
|
|
8
|
-
function
|
|
9
|
-
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
10
|
class HMSRTCStats {
|
|
11
11
|
constructor(params) {
|
|
12
12
|
_defineProperty(this, "bitrateReceived", void 0);
|
|
13
|
-
|
|
14
13
|
_defineProperty(this, "bitrateSent", void 0);
|
|
15
|
-
|
|
16
14
|
_defineProperty(this, "bytesReceived", void 0);
|
|
17
|
-
|
|
18
15
|
_defineProperty(this, "bytesSent", void 0);
|
|
19
|
-
|
|
20
16
|
_defineProperty(this, "packetsLost", void 0);
|
|
21
|
-
|
|
22
17
|
_defineProperty(this, "packetsReceived", void 0);
|
|
23
|
-
|
|
24
18
|
_defineProperty(this, "roundTripTime", void 0);
|
|
25
|
-
|
|
26
19
|
this.bitrateReceived = params.bitrateReceived;
|
|
27
20
|
this.bitrateSent = params.bitrateSent;
|
|
28
21
|
this.bytesReceived = params.bytesReceived;
|
|
@@ -31,8 +24,6 @@ class HMSRTCStats {
|
|
|
31
24
|
this.packetsReceived = params.packetsReceived;
|
|
32
25
|
this.roundTripTime = params.roundTripTime;
|
|
33
26
|
}
|
|
34
|
-
|
|
35
27
|
}
|
|
36
|
-
|
|
37
28
|
exports.HMSRTCStats = HMSRTCStats;
|
|
38
29
|
//# sourceMappingURL=HMSRTCStats.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSRTCStats","constructor","params","bitrateReceived","bitrateSent","bytesReceived","bytesSent","packetsLost","packetsReceived","roundTripTime"],"sources":["HMSRTCStats.ts"],"sourcesContent":["export class HMSRTCStats {\n bitrateReceived?: number;\n bitrateSent?: number;\n bytesReceived?: number;\n bytesSent?: number;\n packetsLost?: number;\n packetsReceived?: number;\n roundTripTime?: number;\n\n constructor(params: {\n bitrateReceived?: number;\n bitrateSent?: number;\n bytesReceived?: number;\n bytesSent?: number;\n packetsLost?: number;\n packetsReceived?: number;\n roundTripTime?: number;\n }) {\n this.bitrateReceived = params.bitrateReceived;\n this.bitrateSent = params.bitrateSent;\n this.bytesReceived = params.bytesReceived;\n this.bytesSent = params.bytesSent;\n this.packetsLost = params.packetsLost;\n this.packetsReceived = params.packetsReceived;\n this.roundTripTime = params.roundTripTime;\n }\n}\n"],"mappings":";;;;;;;;;AAAO,MAAMA,
|
|
1
|
+
{"version":3,"names":["HMSRTCStats","constructor","params","bitrateReceived","bitrateSent","bytesReceived","bytesSent","packetsLost","packetsReceived","roundTripTime"],"sources":["HMSRTCStats.ts"],"sourcesContent":["export class HMSRTCStats {\n bitrateReceived?: number;\n bitrateSent?: number;\n bytesReceived?: number;\n bytesSent?: number;\n packetsLost?: number;\n packetsReceived?: number;\n roundTripTime?: number;\n\n constructor(params: {\n bitrateReceived?: number;\n bitrateSent?: number;\n bytesReceived?: number;\n bytesSent?: number;\n packetsLost?: number;\n packetsReceived?: number;\n roundTripTime?: number;\n }) {\n this.bitrateReceived = params.bitrateReceived;\n this.bitrateSent = params.bitrateSent;\n this.bytesReceived = params.bytesReceived;\n this.bytesSent = params.bytesSent;\n this.packetsLost = params.packetsLost;\n this.packetsReceived = params.packetsReceived;\n this.roundTripTime = params.roundTripTime;\n }\n}\n"],"mappings":";;;;;;;;;AAAO,MAAMA,WAAW,CAAC;EASvBC,WAAW,CAACC,MAQX,EAAE;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IACD,IAAI,CAACC,eAAe,GAAGD,MAAM,CAACC,eAAe;IAC7C,IAAI,CAACC,WAAW,GAAGF,MAAM,CAACE,WAAW;IACrC,IAAI,CAACC,aAAa,GAAGH,MAAM,CAACG,aAAa;IACzC,IAAI,CAACC,SAAS,GAAGJ,MAAM,CAACI,SAAS;IACjC,IAAI,CAACC,WAAW,GAAGL,MAAM,CAACK,WAAW;IACrC,IAAI,CAACC,eAAe,GAAGN,MAAM,CAACM,eAAe;IAC7C,IAAI,CAACC,aAAa,GAAGP,MAAM,CAACO,aAAa;EAC3C;AACF;AAAC"}
|
|
@@ -4,23 +4,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRTCStatsReport = void 0;
|
|
7
|
-
|
|
8
|
-
function
|
|
9
|
-
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
10
|
class HMSRTCStatsReport {
|
|
11
11
|
constructor(params) {
|
|
12
12
|
_defineProperty(this, "video", void 0);
|
|
13
|
-
|
|
14
13
|
_defineProperty(this, "audio", void 0);
|
|
15
|
-
|
|
16
14
|
_defineProperty(this, "combined", void 0);
|
|
17
|
-
|
|
18
15
|
this.audio = params.audio;
|
|
19
16
|
this.video = params.video;
|
|
20
17
|
this.combined = params.combined;
|
|
21
18
|
}
|
|
22
|
-
|
|
23
19
|
}
|
|
24
|
-
|
|
25
20
|
exports.HMSRTCStatsReport = HMSRTCStatsReport;
|
|
26
21
|
//# sourceMappingURL=HMSRTCStatsReport.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSRTCStatsReport","constructor","params","audio","video","combined"],"sources":["HMSRTCStatsReport.ts"],"sourcesContent":["import type { HMSRTCStats } from './HMSRTCStats';\n\nexport class HMSRTCStatsReport {\n video?: HMSRTCStats;\n audio?: HMSRTCStats;\n combined?: HMSRTCStats;\n\n constructor(params: {\n video?: HMSRTCStats;\n audio?: HMSRTCStats;\n combined?: HMSRTCStats;\n }) {\n this.audio = params.audio;\n this.video = params.video;\n this.combined = params.combined;\n }\n}\n"],"mappings":";;;;;;;;;AAEO,MAAMA,
|
|
1
|
+
{"version":3,"names":["HMSRTCStatsReport","constructor","params","audio","video","combined"],"sources":["HMSRTCStatsReport.ts"],"sourcesContent":["import type { HMSRTCStats } from './HMSRTCStats';\n\nexport class HMSRTCStatsReport {\n video?: HMSRTCStats;\n audio?: HMSRTCStats;\n combined?: HMSRTCStats;\n\n constructor(params: {\n video?: HMSRTCStats;\n audio?: HMSRTCStats;\n combined?: HMSRTCStats;\n }) {\n this.audio = params.audio;\n this.video = params.video;\n this.combined = params.combined;\n }\n}\n"],"mappings":";;;;;;;;;AAEO,MAAMA,iBAAiB,CAAC;EAK7BC,WAAW,CAACC,MAIX,EAAE;IAAA;IAAA;IAAA;IACD,IAAI,CAACC,KAAK,GAAGD,MAAM,CAACC,KAAK;IACzB,IAAI,CAACC,KAAK,GAAGF,MAAM,CAACE,KAAK;IACzB,IAAI,CAACC,QAAQ,GAAGH,MAAM,CAACG,QAAQ;EACjC;AACF;AAAC"}
|
|
@@ -4,26 +4,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRTMPConfig = void 0;
|
|
7
|
-
|
|
8
|
-
function
|
|
9
|
-
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
10
|
class HMSRTMPConfig {
|
|
11
11
|
constructor(params) {
|
|
12
12
|
_defineProperty(this, "meetingURL", void 0);
|
|
13
|
-
|
|
14
13
|
_defineProperty(this, "rtmpURLs", void 0);
|
|
15
|
-
|
|
16
14
|
_defineProperty(this, "record", void 0);
|
|
17
|
-
|
|
18
15
|
_defineProperty(this, "resolution", void 0);
|
|
19
|
-
|
|
20
16
|
this.meetingURL = params.meetingURL;
|
|
21
17
|
this.rtmpURLs = params.rtmpURLs;
|
|
22
18
|
this.record = params.record;
|
|
23
19
|
this.resolution = params.resolution;
|
|
24
20
|
}
|
|
25
|
-
|
|
26
21
|
}
|
|
27
|
-
|
|
28
22
|
exports.HMSRTMPConfig = HMSRTMPConfig;
|
|
29
23
|
//# sourceMappingURL=HMSRTMPConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSRTMPConfig","constructor","params","meetingURL","rtmpURLs","record","resolution"],"sources":["HMSRTMPConfig.ts"],"sourcesContent":["import type { HMSRtmpVideoResolution } from './HMSRtmpVideoResolution';\n\nexport class HMSRTMPConfig {\n meetingURL: string;\n rtmpURLs?: Array<string>;\n record: boolean;\n resolution?: HMSRtmpVideoResolution;\n\n constructor(params: {\n meetingURL: string;\n rtmpURLs?: Array<string>;\n record: boolean;\n resolution?: HMSRtmpVideoResolution;\n }) {\n this.meetingURL = params.meetingURL;\n this.rtmpURLs = params.rtmpURLs;\n this.record = params.record;\n this.resolution = params.resolution;\n }\n}\n"],"mappings":";;;;;;;;;AAEO,MAAMA,
|
|
1
|
+
{"version":3,"names":["HMSRTMPConfig","constructor","params","meetingURL","rtmpURLs","record","resolution"],"sources":["HMSRTMPConfig.ts"],"sourcesContent":["import type { HMSRtmpVideoResolution } from './HMSRtmpVideoResolution';\n\nexport class HMSRTMPConfig {\n meetingURL: string;\n rtmpURLs?: Array<string>;\n record: boolean;\n resolution?: HMSRtmpVideoResolution;\n\n constructor(params: {\n meetingURL: string;\n rtmpURLs?: Array<string>;\n record: boolean;\n resolution?: HMSRtmpVideoResolution;\n }) {\n this.meetingURL = params.meetingURL;\n this.rtmpURLs = params.rtmpURLs;\n this.record = params.record;\n this.resolution = params.resolution;\n }\n}\n"],"mappings":";;;;;;;;;AAEO,MAAMA,aAAa,CAAC;EAMzBC,WAAW,CAACC,MAKX,EAAE;IAAA;IAAA;IAAA;IAAA;IACD,IAAI,CAACC,UAAU,GAAGD,MAAM,CAACC,UAAU;IACnC,IAAI,CAACC,QAAQ,GAAGF,MAAM,CAACE,QAAQ;IAC/B,IAAI,CAACC,MAAM,GAAGH,MAAM,CAACG,MAAM;IAC3B,IAAI,CAACC,UAAU,GAAGJ,MAAM,CAACI,UAAU;EACrC;AACF;AAAC"}
|
|
@@ -4,29 +4,22 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRemoteAudioStats = void 0;
|
|
7
|
-
|
|
8
|
-
function
|
|
9
|
-
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
10
|
class HMSRemoteAudioStats {
|
|
11
11
|
constructor(params) {
|
|
12
12
|
_defineProperty(this, "bitrate", void 0);
|
|
13
|
-
|
|
14
13
|
_defineProperty(this, "packetsReceived", void 0);
|
|
15
|
-
|
|
16
14
|
_defineProperty(this, "packetsLost", void 0);
|
|
17
|
-
|
|
18
15
|
_defineProperty(this, "bytesReceived", void 0);
|
|
19
|
-
|
|
20
16
|
_defineProperty(this, "jitter", void 0);
|
|
21
|
-
|
|
22
17
|
this.bitrate = params.bitrate;
|
|
23
18
|
this.packetsReceived = params.packetsReceived;
|
|
24
19
|
this.jitter = params.jitter;
|
|
25
20
|
this.packetsLost = params.packetsLost;
|
|
26
21
|
this.bytesReceived = params.bytesReceived;
|
|
27
22
|
}
|
|
28
|
-
|
|
29
23
|
}
|
|
30
|
-
|
|
31
24
|
exports.HMSRemoteAudioStats = HMSRemoteAudioStats;
|
|
32
25
|
//# sourceMappingURL=HMSRemoteAudioStats.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSRemoteAudioStats","constructor","params","bitrate","packetsReceived","jitter","packetsLost","bytesReceived"],"sources":["HMSRemoteAudioStats.ts"],"sourcesContent":["export class HMSRemoteAudioStats {\n bitrate?: number;\n packetsReceived?: number;\n packetsLost?: number;\n bytesReceived?: number;\n jitter?: number;\n\n constructor(params: {\n bitrate?: number;\n packetsReceived?: number;\n packetsLost?: number;\n bytesReceived?: number;\n jitter?: number;\n }) {\n this.bitrate = params.bitrate;\n this.packetsReceived = params.packetsReceived;\n this.jitter = params.jitter;\n this.packetsLost = params.packetsLost;\n this.bytesReceived = params.bytesReceived;\n }\n}\n"],"mappings":";;;;;;;;;AAAO,MAAMA,
|
|
1
|
+
{"version":3,"names":["HMSRemoteAudioStats","constructor","params","bitrate","packetsReceived","jitter","packetsLost","bytesReceived"],"sources":["HMSRemoteAudioStats.ts"],"sourcesContent":["export class HMSRemoteAudioStats {\n bitrate?: number;\n packetsReceived?: number;\n packetsLost?: number;\n bytesReceived?: number;\n jitter?: number;\n\n constructor(params: {\n bitrate?: number;\n packetsReceived?: number;\n packetsLost?: number;\n bytesReceived?: number;\n jitter?: number;\n }) {\n this.bitrate = params.bitrate;\n this.packetsReceived = params.packetsReceived;\n this.jitter = params.jitter;\n this.packetsLost = params.packetsLost;\n this.bytesReceived = params.bytesReceived;\n }\n}\n"],"mappings":";;;;;;;;;AAAO,MAAMA,mBAAmB,CAAC;EAO/BC,WAAW,CAACC,MAMX,EAAE;IAAA;IAAA;IAAA;IAAA;IAAA;IACD,IAAI,CAACC,OAAO,GAAGD,MAAM,CAACC,OAAO;IAC7B,IAAI,CAACC,eAAe,GAAGF,MAAM,CAACE,eAAe;IAC7C,IAAI,CAACC,MAAM,GAAGH,MAAM,CAACG,MAAM;IAC3B,IAAI,CAACC,WAAW,GAAGJ,MAAM,CAACI,WAAW;IACrC,IAAI,CAACC,aAAa,GAAGL,MAAM,CAACK,aAAa;EAC3C;AACF;AAAC"}
|
|
@@ -4,22 +4,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRemoteAudioTrack = void 0;
|
|
7
|
-
|
|
8
7
|
var _reactNative = require("react-native");
|
|
9
|
-
|
|
10
8
|
var _HMSLogger = require("./HMSLogger");
|
|
11
|
-
|
|
12
9
|
var _HMSAudioTrack = require("./HMSAudioTrack");
|
|
13
|
-
|
|
14
|
-
function
|
|
15
|
-
|
|
10
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
12
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
16
13
|
const {
|
|
17
14
|
/**
|
|
18
15
|
* @ignore
|
|
19
16
|
*/
|
|
20
17
|
HMSManager
|
|
21
18
|
} = _reactNative.NativeModules;
|
|
22
|
-
|
|
23
19
|
class HMSRemoteAudioTrack extends _HMSAudioTrack.HMSAudioTrack {
|
|
24
20
|
/**
|
|
25
21
|
* Switches Audio of remote user on/off depending upon the value of playbackAllowed
|
|
@@ -42,10 +38,8 @@ class HMSRemoteAudioTrack extends _HMSAudioTrack.HMSAudioTrack {
|
|
|
42
38
|
playbackAllowed
|
|
43
39
|
});
|
|
44
40
|
}
|
|
45
|
-
|
|
46
41
|
constructor(params) {
|
|
47
42
|
super(params);
|
|
48
|
-
|
|
49
43
|
_defineProperty(this, "isPlaybackAllowed", async () => {
|
|
50
44
|
try {
|
|
51
45
|
const logger = (0, _HMSLogger.getLogger)();
|
|
@@ -65,8 +59,6 @@ class HMSRemoteAudioTrack extends _HMSAudioTrack.HMSAudioTrack {
|
|
|
65
59
|
}
|
|
66
60
|
});
|
|
67
61
|
}
|
|
68
|
-
|
|
69
62
|
}
|
|
70
|
-
|
|
71
63
|
exports.HMSRemoteAudioTrack = HMSRemoteAudioTrack;
|
|
72
64
|
//# sourceMappingURL=HMSRemoteAudioTrack.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSManager","NativeModules","HMSRemoteAudioTrack","HMSAudioTrack","setPlaybackAllowed","playbackAllowed","logger","getLogger","verbose","trackId","id","source","type","constructor","params","val","isPlaybackAllowed","e"],"sources":["HMSRemoteAudioTrack.ts"],"sourcesContent":["import { NativeModules } from 'react-native';\nimport { getLogger } from './HMSLogger';\nimport type { HMSTrackType } from './HMSTrackType';\nimport { HMSAudioTrack } from './HMSAudioTrack';\n\nconst {\n /**\n * @ignore\n */\n HMSManager,\n} = NativeModules;\n\nexport class HMSRemoteAudioTrack extends HMSAudioTrack {\n /**\n * Switches Audio of remote user on/off depending upon the value of playbackAllowed\n *\n * @param {boolean} playbackAllowed\n * @memberof HMSRemoteAudioTrack\n */\n setPlaybackAllowed(playbackAllowed: boolean) {\n const logger = getLogger();\n logger?.verbose('#Function setPlaybackAllowed', {\n trackId: this.trackId,\n id: this.id,\n source: this.source,\n type: this.type,\n playbackAllowed,\n });\n HMSManager.setPlaybackAllowed({\n id: this.id,\n trackId: this.trackId,\n playbackAllowed,\n });\n }\n\n isPlaybackAllowed = async () => {\n try {\n const logger = getLogger();\n logger?.verbose('#Function isPlaybackAllowed', {\n trackId: this.trackId,\n id: this.id,\n source: this.source,\n type: this.type,\n });\n const val = await HMSManager.isPlaybackAllowed({\n id: this.id,\n trackId: this.trackId,\n });\n return val;\n } catch (e) {\n return true;\n }\n };\n\n constructor(params: {\n trackId: string;\n source?: number | string;\n isMute?: boolean;\n trackDescription?: string;\n playbackAllowed?: boolean;\n id: string;\n type?: HMSTrackType;\n }) {\n super(params);\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["HMSManager","NativeModules","HMSRemoteAudioTrack","HMSAudioTrack","setPlaybackAllowed","playbackAllowed","logger","getLogger","verbose","trackId","id","source","type","constructor","params","val","isPlaybackAllowed","e"],"sources":["HMSRemoteAudioTrack.ts"],"sourcesContent":["import { NativeModules } from 'react-native';\nimport { getLogger } from './HMSLogger';\nimport type { HMSTrackType } from './HMSTrackType';\nimport { HMSAudioTrack } from './HMSAudioTrack';\n\nconst {\n /**\n * @ignore\n */\n HMSManager,\n} = NativeModules;\n\nexport class HMSRemoteAudioTrack extends HMSAudioTrack {\n /**\n * Switches Audio of remote user on/off depending upon the value of playbackAllowed\n *\n * @param {boolean} playbackAllowed\n * @memberof HMSRemoteAudioTrack\n */\n setPlaybackAllowed(playbackAllowed: boolean) {\n const logger = getLogger();\n logger?.verbose('#Function setPlaybackAllowed', {\n trackId: this.trackId,\n id: this.id,\n source: this.source,\n type: this.type,\n playbackAllowed,\n });\n HMSManager.setPlaybackAllowed({\n id: this.id,\n trackId: this.trackId,\n playbackAllowed,\n });\n }\n\n isPlaybackAllowed = async () => {\n try {\n const logger = getLogger();\n logger?.verbose('#Function isPlaybackAllowed', {\n trackId: this.trackId,\n id: this.id,\n source: this.source,\n type: this.type,\n });\n const val = await HMSManager.isPlaybackAllowed({\n id: this.id,\n trackId: this.trackId,\n });\n return val;\n } catch (e) {\n return true;\n }\n };\n\n constructor(params: {\n trackId: string;\n source?: number | string;\n isMute?: boolean;\n trackDescription?: string;\n playbackAllowed?: boolean;\n id: string;\n type?: HMSTrackType;\n }) {\n super(params);\n }\n}\n"],"mappings":";;;;;;AAAA;AACA;AAEA;AAAgD;AAAA;AAAA;AAEhD,MAAM;EACJ;AACF;AACA;EACEA;AACF,CAAC,GAAGC,0BAAa;AAEV,MAAMC,mBAAmB,SAASC,4BAAa,CAAC;EACrD;AACF;AACA;AACA;AACA;AACA;EACEC,kBAAkB,CAACC,eAAwB,EAAE;IAC3C,MAAMC,MAAM,GAAG,IAAAC,oBAAS,GAAE;IAC1BD,MAAM,aAANA,MAAM,uBAANA,MAAM,CAAEE,OAAO,CAAC,8BAA8B,EAAE;MAC9CC,OAAO,EAAE,IAAI,CAACA,OAAO;MACrBC,EAAE,EAAE,IAAI,CAACA,EAAE;MACXC,MAAM,EAAE,IAAI,CAACA,MAAM;MACnBC,IAAI,EAAE,IAAI,CAACA,IAAI;MACfP;IACF,CAAC,CAAC;IACFL,UAAU,CAACI,kBAAkB,CAAC;MAC5BM,EAAE,EAAE,IAAI,CAACA,EAAE;MACXD,OAAO,EAAE,IAAI,CAACA,OAAO;MACrBJ;IACF,CAAC,CAAC;EACJ;EAqBAQ,WAAW,CAACC,MAQX,EAAE;IACD,KAAK,CAACA,MAAM,CAAC;IAAC,2CA5BI,YAAY;MAC9B,IAAI;QACF,MAAMR,MAAM,GAAG,IAAAC,oBAAS,GAAE;QAC1BD,MAAM,aAANA,MAAM,uBAANA,MAAM,CAAEE,OAAO,CAAC,6BAA6B,EAAE;UAC7CC,OAAO,EAAE,IAAI,CAACA,OAAO;UACrBC,EAAE,EAAE,IAAI,CAACA,EAAE;UACXC,MAAM,EAAE,IAAI,CAACA,MAAM;UACnBC,IAAI,EAAE,IAAI,CAACA;QACb,CAAC,CAAC;QACF,MAAMG,GAAG,GAAG,MAAMf,UAAU,CAACgB,iBAAiB,CAAC;UAC7CN,EAAE,EAAE,IAAI,CAACA,EAAE;UACXD,OAAO,EAAE,IAAI,CAACA;QAChB,CAAC,CAAC;QACF,OAAOM,GAAG;MACZ,CAAC,CAAC,OAAOE,CAAC,EAAE;QACV,OAAO,IAAI;MACb;IACF,CAAC;EAYD;AACF;AAAC"}
|
|
@@ -4,43 +4,31 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRemotePeer = void 0;
|
|
7
|
-
|
|
8
7
|
var _HMSPeer = require("./HMSPeer");
|
|
9
|
-
|
|
10
8
|
var _HMSRemoteAudioTrack = require("./HMSRemoteAudioTrack");
|
|
11
|
-
|
|
12
9
|
var _HMSRemoteVideoTrack = require("./HMSRemoteVideoTrack");
|
|
13
|
-
|
|
14
|
-
function
|
|
15
|
-
|
|
10
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
12
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
16
13
|
class HMSRemotePeer extends _HMSPeer.HMSPeer {
|
|
17
14
|
constructor(params) {
|
|
18
15
|
super(params);
|
|
19
|
-
|
|
20
16
|
_defineProperty(this, "remoteAudio", void 0);
|
|
21
|
-
|
|
22
17
|
_defineProperty(this, "remoteVideo", void 0);
|
|
23
|
-
|
|
24
18
|
_defineProperty(this, "remoteAudioTrack", () => {
|
|
25
19
|
return this.remoteAudio;
|
|
26
20
|
});
|
|
27
|
-
|
|
28
21
|
_defineProperty(this, "remoteVideoTrack", () => {
|
|
29
22
|
return this.remoteVideo;
|
|
30
23
|
});
|
|
31
|
-
|
|
32
24
|
this.isLocal = false;
|
|
33
|
-
|
|
34
25
|
if (params.remoteAudioTrackData) {
|
|
35
26
|
this.remoteAudio = new _HMSRemoteAudioTrack.HMSRemoteAudioTrack(params.remoteAudioTrackData);
|
|
36
27
|
}
|
|
37
|
-
|
|
38
28
|
if (params.remoteVideoTrackData) {
|
|
39
29
|
this.remoteVideo = new _HMSRemoteVideoTrack.HMSRemoteVideoTrack(params.remoteVideoTrackData);
|
|
40
30
|
}
|
|
41
31
|
}
|
|
42
|
-
|
|
43
32
|
}
|
|
44
|
-
|
|
45
33
|
exports.HMSRemotePeer = HMSRemotePeer;
|
|
46
34
|
//# sourceMappingURL=HMSRemotePeer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSRemotePeer","HMSPeer","constructor","params","remoteAudio","remoteVideo","isLocal","remoteAudioTrackData","HMSRemoteAudioTrack","remoteVideoTrackData","HMSRemoteVideoTrack"],"sources":["HMSRemotePeer.ts"],"sourcesContent":["import type { HMSAudioTrack } from './HMSAudioTrack';\nimport type { HMSNetworkQuality } from './HMSNetworkQuality';\nimport { HMSPeer } from './HMSPeer';\nimport { HMSRemoteAudioTrack } from './HMSRemoteAudioTrack';\nimport { HMSRemoteVideoTrack } from './HMSRemoteVideoTrack';\nimport type { HMSRole } from './HMSRole';\nimport type { HMSTrack } from './HMSTrack';\nimport type { HMSVideoTrack } from './HMSVideoTrack';\n\nexport class HMSRemotePeer extends HMSPeer {\n private remoteAudio?: HMSRemoteAudioTrack;\n private remoteVideo?: HMSRemoteVideoTrack;\n\n remoteAudioTrack = () => {\n return this.remoteAudio;\n };\n\n remoteVideoTrack = () => {\n return this.remoteVideo;\n };\n\n constructor(params: {\n peerID: string;\n name: string;\n isLocal?: boolean;\n customerUserID?: string;\n customerDescription?: string;\n metadata?: string;\n audioTrack?: HMSAudioTrack;\n videoTrack?: HMSVideoTrack;\n role?: HMSRole;\n networkQuality?: HMSNetworkQuality;\n auxiliaryTracks?: HMSTrack[];\n remoteAudioTrackData?: {\n trackId: string;\n source?: number | string;\n isMute?: boolean;\n trackDescription?: string;\n playbackAllowed?: boolean;\n id: string;\n };\n remoteVideoTrackData?: {\n trackId: string;\n source?: number | string;\n trackDescription?: string;\n isMute?: boolean;\n layer?: any;\n playbackAllowed?: boolean;\n id: string;\n };\n }) {\n super(params);\n this.isLocal = false;\n\n if (params.remoteAudioTrackData) {\n this.remoteAudio = new HMSRemoteAudioTrack(params.remoteAudioTrackData);\n }\n\n if (params.remoteVideoTrackData) {\n this.remoteVideo = new HMSRemoteVideoTrack(params.remoteVideoTrackData);\n }\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["HMSRemotePeer","HMSPeer","constructor","params","remoteAudio","remoteVideo","isLocal","remoteAudioTrackData","HMSRemoteAudioTrack","remoteVideoTrackData","HMSRemoteVideoTrack"],"sources":["HMSRemotePeer.ts"],"sourcesContent":["import type { HMSAudioTrack } from './HMSAudioTrack';\nimport type { HMSNetworkQuality } from './HMSNetworkQuality';\nimport { HMSPeer } from './HMSPeer';\nimport { HMSRemoteAudioTrack } from './HMSRemoteAudioTrack';\nimport { HMSRemoteVideoTrack } from './HMSRemoteVideoTrack';\nimport type { HMSRole } from './HMSRole';\nimport type { HMSTrack } from './HMSTrack';\nimport type { HMSVideoTrack } from './HMSVideoTrack';\n\nexport class HMSRemotePeer extends HMSPeer {\n private remoteAudio?: HMSRemoteAudioTrack;\n private remoteVideo?: HMSRemoteVideoTrack;\n\n remoteAudioTrack = () => {\n return this.remoteAudio;\n };\n\n remoteVideoTrack = () => {\n return this.remoteVideo;\n };\n\n constructor(params: {\n peerID: string;\n name: string;\n isLocal?: boolean;\n customerUserID?: string;\n customerDescription?: string;\n metadata?: string;\n audioTrack?: HMSAudioTrack;\n videoTrack?: HMSVideoTrack;\n role?: HMSRole;\n networkQuality?: HMSNetworkQuality;\n auxiliaryTracks?: HMSTrack[];\n remoteAudioTrackData?: {\n trackId: string;\n source?: number | string;\n isMute?: boolean;\n trackDescription?: string;\n playbackAllowed?: boolean;\n id: string;\n };\n remoteVideoTrackData?: {\n trackId: string;\n source?: number | string;\n trackDescription?: string;\n isMute?: boolean;\n layer?: any;\n playbackAllowed?: boolean;\n id: string;\n };\n }) {\n super(params);\n this.isLocal = false;\n\n if (params.remoteAudioTrackData) {\n this.remoteAudio = new HMSRemoteAudioTrack(params.remoteAudioTrackData);\n }\n\n if (params.remoteVideoTrackData) {\n this.remoteVideo = new HMSRemoteVideoTrack(params.remoteVideoTrackData);\n }\n }\n}\n"],"mappings":";;;;;;AAEA;AACA;AACA;AAA4D;AAAA;AAAA;AAKrD,MAAMA,aAAa,SAASC,gBAAO,CAAC;EAYzCC,WAAW,CAACC,MA6BX,EAAE;IACD,KAAK,CAACA,MAAM,CAAC;IAAC;IAAA;IAAA,0CAtCG,MAAM;MACvB,OAAO,IAAI,CAACC,WAAW;IACzB,CAAC;IAAA,0CAEkB,MAAM;MACvB,OAAO,IAAI,CAACC,WAAW;IACzB,CAAC;IAiCC,IAAI,CAACC,OAAO,GAAG,KAAK;IAEpB,IAAIH,MAAM,CAACI,oBAAoB,EAAE;MAC/B,IAAI,CAACH,WAAW,GAAG,IAAII,wCAAmB,CAACL,MAAM,CAACI,oBAAoB,CAAC;IACzE;IAEA,IAAIJ,MAAM,CAACM,oBAAoB,EAAE;MAC/B,IAAI,CAACJ,WAAW,GAAG,IAAIK,wCAAmB,CAACP,MAAM,CAACM,oBAAoB,CAAC;IACzE;EACF;AACF;AAAC"}
|
|
@@ -4,25 +4,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRemoteVideoStats = void 0;
|
|
7
|
-
|
|
8
|
-
function
|
|
9
|
-
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
10
|
class HMSRemoteVideoStats {
|
|
11
11
|
constructor(params) {
|
|
12
12
|
_defineProperty(this, "bitrate", void 0);
|
|
13
|
-
|
|
14
13
|
_defineProperty(this, "packetsReceived", void 0);
|
|
15
|
-
|
|
16
14
|
_defineProperty(this, "packetsLost", void 0);
|
|
17
|
-
|
|
18
15
|
_defineProperty(this, "bytesReceived", void 0);
|
|
19
|
-
|
|
20
16
|
_defineProperty(this, "jitter", void 0);
|
|
21
|
-
|
|
22
17
|
_defineProperty(this, "resolution", void 0);
|
|
23
|
-
|
|
24
18
|
_defineProperty(this, "frameRate", void 0);
|
|
25
|
-
|
|
26
19
|
this.bitrate = params.bitrate;
|
|
27
20
|
this.packetsReceived = params.packetsReceived;
|
|
28
21
|
this.packetsLost = params.packetsLost;
|
|
@@ -31,8 +24,6 @@ class HMSRemoteVideoStats {
|
|
|
31
24
|
this.resolution = params.resolution;
|
|
32
25
|
this.frameRate = params.frameRate;
|
|
33
26
|
}
|
|
34
|
-
|
|
35
27
|
}
|
|
36
|
-
|
|
37
28
|
exports.HMSRemoteVideoStats = HMSRemoteVideoStats;
|
|
38
29
|
//# sourceMappingURL=HMSRemoteVideoStats.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSRemoteVideoStats","constructor","params","bitrate","packetsReceived","packetsLost","bytesReceived","jitter","resolution","frameRate"],"sources":["HMSRemoteVideoStats.ts"],"sourcesContent":["import type { HMSVideoResolution } from './HMSVideoResolution';\n\nexport class HMSRemoteVideoStats {\n bitrate?: number;\n packetsReceived?: number;\n packetsLost?: number;\n bytesReceived?: number;\n jitter?: number;\n resolution?: HMSVideoResolution;\n frameRate?: number;\n\n constructor(params: {\n bitrate?: number;\n packetsReceived?: number;\n packetsLost?: number;\n bytesReceived?: number;\n jitter?: number;\n resolution?: HMSVideoResolution;\n frameRate?: number;\n }) {\n this.bitrate = params.bitrate;\n this.packetsReceived = params.packetsReceived;\n this.packetsLost = params.packetsLost;\n this.bytesReceived = params.bytesReceived;\n this.jitter = params.jitter;\n this.resolution = params.resolution;\n this.frameRate = params.frameRate;\n }\n}\n"],"mappings":";;;;;;;;;AAEO,MAAMA,
|
|
1
|
+
{"version":3,"names":["HMSRemoteVideoStats","constructor","params","bitrate","packetsReceived","packetsLost","bytesReceived","jitter","resolution","frameRate"],"sources":["HMSRemoteVideoStats.ts"],"sourcesContent":["import type { HMSVideoResolution } from './HMSVideoResolution';\n\nexport class HMSRemoteVideoStats {\n bitrate?: number;\n packetsReceived?: number;\n packetsLost?: number;\n bytesReceived?: number;\n jitter?: number;\n resolution?: HMSVideoResolution;\n frameRate?: number;\n\n constructor(params: {\n bitrate?: number;\n packetsReceived?: number;\n packetsLost?: number;\n bytesReceived?: number;\n jitter?: number;\n resolution?: HMSVideoResolution;\n frameRate?: number;\n }) {\n this.bitrate = params.bitrate;\n this.packetsReceived = params.packetsReceived;\n this.packetsLost = params.packetsLost;\n this.bytesReceived = params.bytesReceived;\n this.jitter = params.jitter;\n this.resolution = params.resolution;\n this.frameRate = params.frameRate;\n }\n}\n"],"mappings":";;;;;;;;;AAEO,MAAMA,mBAAmB,CAAC;EAS/BC,WAAW,CAACC,MAQX,EAAE;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IACD,IAAI,CAACC,OAAO,GAAGD,MAAM,CAACC,OAAO;IAC7B,IAAI,CAACC,eAAe,GAAGF,MAAM,CAACE,eAAe;IAC7C,IAAI,CAACC,WAAW,GAAGH,MAAM,CAACG,WAAW;IACrC,IAAI,CAACC,aAAa,GAAGJ,MAAM,CAACI,aAAa;IACzC,IAAI,CAACC,MAAM,GAAGL,MAAM,CAACK,MAAM;IAC3B,IAAI,CAACC,UAAU,GAAGN,MAAM,CAACM,UAAU;IACnC,IAAI,CAACC,SAAS,GAAGP,MAAM,CAACO,SAAS;EACnC;AACF;AAAC"}
|
|
@@ -4,22 +4,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRemoteVideoTrack = void 0;
|
|
7
|
-
|
|
8
7
|
var _reactNative = require("react-native");
|
|
9
|
-
|
|
10
8
|
var _HMSLogger = require("./HMSLogger");
|
|
11
|
-
|
|
12
9
|
var _HMSVideoTrack = require("./HMSVideoTrack");
|
|
13
|
-
|
|
14
|
-
function
|
|
15
|
-
|
|
10
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
12
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
16
13
|
const {
|
|
17
14
|
/**
|
|
18
15
|
* @ignore
|
|
19
16
|
*/
|
|
20
17
|
HMSManager
|
|
21
18
|
} = _reactNative.NativeModules;
|
|
22
|
-
|
|
23
19
|
class HMSRemoteVideoTrack extends _HMSVideoTrack.HMSVideoTrack {
|
|
24
20
|
//TODO: layer to be made HMSSimulcastLayer type
|
|
25
21
|
|
|
@@ -44,12 +40,9 @@ class HMSRemoteVideoTrack extends _HMSVideoTrack.HMSVideoTrack {
|
|
|
44
40
|
playbackAllowed
|
|
45
41
|
});
|
|
46
42
|
}
|
|
47
|
-
|
|
48
43
|
constructor(params) {
|
|
49
44
|
super(params);
|
|
50
|
-
|
|
51
45
|
_defineProperty(this, "layer", void 0);
|
|
52
|
-
|
|
53
46
|
_defineProperty(this, "isPlaybackAllowed", async () => {
|
|
54
47
|
try {
|
|
55
48
|
const logger = (0, _HMSLogger.getLogger)();
|
|
@@ -68,11 +61,8 @@ class HMSRemoteVideoTrack extends _HMSVideoTrack.HMSVideoTrack {
|
|
|
68
61
|
return true;
|
|
69
62
|
}
|
|
70
63
|
});
|
|
71
|
-
|
|
72
64
|
this.layer = params.layer;
|
|
73
65
|
}
|
|
74
|
-
|
|
75
66
|
}
|
|
76
|
-
|
|
77
67
|
exports.HMSRemoteVideoTrack = HMSRemoteVideoTrack;
|
|
78
68
|
//# sourceMappingURL=HMSRemoteVideoTrack.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSManager","NativeModules","HMSRemoteVideoTrack","HMSVideoTrack","setPlaybackAllowed","playbackAllowed","logger","getLogger","verbose","trackId","id","source","type","constructor","params","val","isPlaybackAllowed","e","layer"],"sources":["HMSRemoteVideoTrack.ts"],"sourcesContent":["import { NativeModules } from 'react-native';\nimport { getLogger } from './HMSLogger';\nimport { HMSVideoTrack } from './HMSVideoTrack';\nimport type { HMSTrackType } from './HMSTrackType';\n\nconst {\n /**\n * @ignore\n */\n HMSManager,\n} = NativeModules;\n\nexport class HMSRemoteVideoTrack extends HMSVideoTrack {\n layer?: any; //TODO: layer to be made HMSSimulcastLayer type\n\n /**\n * Switches Video of remote user on/off depending upon the value of playbackAllowed\n *\n * @param {boolean} playbackAllowed\n * @memberof HMSRemoteVideoTrack\n */\n setPlaybackAllowed(playbackAllowed: boolean) {\n const logger = getLogger();\n logger?.verbose('#Function setPlaybackAllowed', {\n trackId: this.trackId,\n id: this.id,\n source: this.source,\n type: this.type,\n playbackAllowed,\n });\n HMSManager.setPlaybackAllowed({\n id: this.id,\n trackId: this.trackId,\n playbackAllowed,\n });\n }\n\n isPlaybackAllowed = async () => {\n try {\n const logger = getLogger();\n logger?.verbose('#Function isPlaybackAllowed', {\n trackId: this.trackId,\n id: this.id,\n source: this.source,\n type: this.type,\n });\n const val = await HMSManager.isPlaybackAllowed({\n id: this.id,\n trackId: this.trackId,\n });\n return val;\n } catch (e) {\n return true;\n }\n };\n\n constructor(params: {\n trackId: string;\n source?: number | string;\n trackDescription?: string;\n isMute?: boolean;\n layer?: any;\n playbackAllowed?: boolean;\n id: string;\n type?: HMSTrackType;\n }) {\n super(params);\n this.layer = params.layer;\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["HMSManager","NativeModules","HMSRemoteVideoTrack","HMSVideoTrack","setPlaybackAllowed","playbackAllowed","logger","getLogger","verbose","trackId","id","source","type","constructor","params","val","isPlaybackAllowed","e","layer"],"sources":["HMSRemoteVideoTrack.ts"],"sourcesContent":["import { NativeModules } from 'react-native';\nimport { getLogger } from './HMSLogger';\nimport { HMSVideoTrack } from './HMSVideoTrack';\nimport type { HMSTrackType } from './HMSTrackType';\n\nconst {\n /**\n * @ignore\n */\n HMSManager,\n} = NativeModules;\n\nexport class HMSRemoteVideoTrack extends HMSVideoTrack {\n layer?: any; //TODO: layer to be made HMSSimulcastLayer type\n\n /**\n * Switches Video of remote user on/off depending upon the value of playbackAllowed\n *\n * @param {boolean} playbackAllowed\n * @memberof HMSRemoteVideoTrack\n */\n setPlaybackAllowed(playbackAllowed: boolean) {\n const logger = getLogger();\n logger?.verbose('#Function setPlaybackAllowed', {\n trackId: this.trackId,\n id: this.id,\n source: this.source,\n type: this.type,\n playbackAllowed,\n });\n HMSManager.setPlaybackAllowed({\n id: this.id,\n trackId: this.trackId,\n playbackAllowed,\n });\n }\n\n isPlaybackAllowed = async () => {\n try {\n const logger = getLogger();\n logger?.verbose('#Function isPlaybackAllowed', {\n trackId: this.trackId,\n id: this.id,\n source: this.source,\n type: this.type,\n });\n const val = await HMSManager.isPlaybackAllowed({\n id: this.id,\n trackId: this.trackId,\n });\n return val;\n } catch (e) {\n return true;\n }\n };\n\n constructor(params: {\n trackId: string;\n source?: number | string;\n trackDescription?: string;\n isMute?: boolean;\n layer?: any;\n playbackAllowed?: boolean;\n id: string;\n type?: HMSTrackType;\n }) {\n super(params);\n this.layer = params.layer;\n }\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAAgD;AAAA;AAAA;AAGhD,MAAM;EACJ;AACF;AACA;EACEA;AACF,CAAC,GAAGC,0BAAa;AAEV,MAAMC,mBAAmB,SAASC,4BAAa,CAAC;EACxC;;EAEb;AACF;AACA;AACA;AACA;AACA;EACEC,kBAAkB,CAACC,eAAwB,EAAE;IAC3C,MAAMC,MAAM,GAAG,IAAAC,oBAAS,GAAE;IAC1BD,MAAM,aAANA,MAAM,uBAANA,MAAM,CAAEE,OAAO,CAAC,8BAA8B,EAAE;MAC9CC,OAAO,EAAE,IAAI,CAACA,OAAO;MACrBC,EAAE,EAAE,IAAI,CAACA,EAAE;MACXC,MAAM,EAAE,IAAI,CAACA,MAAM;MACnBC,IAAI,EAAE,IAAI,CAACA,IAAI;MACfP;IACF,CAAC,CAAC;IACFL,UAAU,CAACI,kBAAkB,CAAC;MAC5BM,EAAE,EAAE,IAAI,CAACA,EAAE;MACXD,OAAO,EAAE,IAAI,CAACA,OAAO;MACrBJ;IACF,CAAC,CAAC;EACJ;EAqBAQ,WAAW,CAACC,MASX,EAAE;IACD,KAAK,CAACA,MAAM,CAAC;IAAC;IAAA,2CA7BI,YAAY;MAC9B,IAAI;QACF,MAAMR,MAAM,GAAG,IAAAC,oBAAS,GAAE;QAC1BD,MAAM,aAANA,MAAM,uBAANA,MAAM,CAAEE,OAAO,CAAC,6BAA6B,EAAE;UAC7CC,OAAO,EAAE,IAAI,CAACA,OAAO;UACrBC,EAAE,EAAE,IAAI,CAACA,EAAE;UACXC,MAAM,EAAE,IAAI,CAACA,MAAM;UACnBC,IAAI,EAAE,IAAI,CAACA;QACb,CAAC,CAAC;QACF,MAAMG,GAAG,GAAG,MAAMf,UAAU,CAACgB,iBAAiB,CAAC;UAC7CN,EAAE,EAAE,IAAI,CAACA,EAAE;UACXD,OAAO,EAAE,IAAI,CAACA;QAChB,CAAC,CAAC;QACF,OAAOM,GAAG;MACZ,CAAC,CAAC,OAAOE,CAAC,EAAE;QACV,OAAO,IAAI;MACb;IACF,CAAC;IAaC,IAAI,CAACC,KAAK,GAAGJ,MAAM,CAACI,KAAK;EAC3B;AACF;AAAC"}
|
|
@@ -4,27 +4,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRole = void 0;
|
|
7
|
-
|
|
8
|
-
function
|
|
9
|
-
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
10
|
class HMSRole {
|
|
11
11
|
constructor(params) {
|
|
12
12
|
_defineProperty(this, "name", void 0);
|
|
13
|
-
|
|
14
13
|
_defineProperty(this, "publishSettings", void 0);
|
|
15
|
-
|
|
16
14
|
_defineProperty(this, "subscribeSettings", void 0);
|
|
17
|
-
|
|
18
15
|
_defineProperty(this, "permissions", void 0);
|
|
19
|
-
|
|
20
16
|
_defineProperty(this, "priority", void 0);
|
|
21
|
-
|
|
22
17
|
_defineProperty(this, "generalPermissions", void 0);
|
|
23
|
-
|
|
24
18
|
_defineProperty(this, "internalPlugins", void 0);
|
|
25
|
-
|
|
26
19
|
_defineProperty(this, "externalPlugins", void 0);
|
|
27
|
-
|
|
28
20
|
if (params) {
|
|
29
21
|
this.name = params.name;
|
|
30
22
|
this.priority = params.priority;
|
|
@@ -36,8 +28,6 @@ class HMSRole {
|
|
|
36
28
|
this.externalPlugins = params.externalPlugins;
|
|
37
29
|
}
|
|
38
30
|
}
|
|
39
|
-
|
|
40
31
|
}
|
|
41
|
-
|
|
42
32
|
exports.HMSRole = HMSRole;
|
|
43
33
|
//# sourceMappingURL=HMSRole.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSRole","constructor","params","name","priority","permissions","publishSettings","subscribeSettings","generalPermissions","internalPlugins","externalPlugins"],"sources":["HMSRole.ts"],"sourcesContent":["import type { HMSPermissions } from './HMSPermissions';\nimport type { HMSPublishSettings } from './HMSPublishSettings';\nimport type { HMSSubscribeSettings } from './HMSSubscribeSettings';\n\nexport class HMSRole {\n name?: string;\n publishSettings?: HMSPublishSettings;\n subscribeSettings?: HMSSubscribeSettings;\n permissions?: HMSPermissions;\n priority?: number;\n generalPermissions?: any;\n internalPlugins?: any;\n externalPlugins?: any;\n\n constructor(params?: {\n name?: string;\n priority?: number;\n permissions?: HMSPermissions;\n publishSettings?: HMSPublishSettings;\n subscribeSettings?: HMSSubscribeSettings;\n generalPermissions?: any;\n internalPlugins?: any;\n externalPlugins?: any;\n }) {\n if (params) {\n this.name = params.name;\n this.priority = params.priority;\n this.permissions = params.permissions;\n this.publishSettings = params.publishSettings;\n this.subscribeSettings = params.subscribeSettings;\n this.generalPermissions = params.generalPermissions;\n this.internalPlugins = params.internalPlugins;\n this.externalPlugins = params.externalPlugins;\n }\n }\n}\n"],"mappings":";;;;;;;;;AAIO,MAAMA,
|
|
1
|
+
{"version":3,"names":["HMSRole","constructor","params","name","priority","permissions","publishSettings","subscribeSettings","generalPermissions","internalPlugins","externalPlugins"],"sources":["HMSRole.ts"],"sourcesContent":["import type { HMSPermissions } from './HMSPermissions';\nimport type { HMSPublishSettings } from './HMSPublishSettings';\nimport type { HMSSubscribeSettings } from './HMSSubscribeSettings';\n\nexport class HMSRole {\n name?: string;\n publishSettings?: HMSPublishSettings;\n subscribeSettings?: HMSSubscribeSettings;\n permissions?: HMSPermissions;\n priority?: number;\n generalPermissions?: any;\n internalPlugins?: any;\n externalPlugins?: any;\n\n constructor(params?: {\n name?: string;\n priority?: number;\n permissions?: HMSPermissions;\n publishSettings?: HMSPublishSettings;\n subscribeSettings?: HMSSubscribeSettings;\n generalPermissions?: any;\n internalPlugins?: any;\n externalPlugins?: any;\n }) {\n if (params) {\n this.name = params.name;\n this.priority = params.priority;\n this.permissions = params.permissions;\n this.publishSettings = params.publishSettings;\n this.subscribeSettings = params.subscribeSettings;\n this.generalPermissions = params.generalPermissions;\n this.internalPlugins = params.internalPlugins;\n this.externalPlugins = params.externalPlugins;\n }\n }\n}\n"],"mappings":";;;;;;;;;AAIO,MAAMA,OAAO,CAAC;EAUnBC,WAAW,CAACC,MASX,EAAE;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IACD,IAAIA,MAAM,EAAE;MACV,IAAI,CAACC,IAAI,GAAGD,MAAM,CAACC,IAAI;MACvB,IAAI,CAACC,QAAQ,GAAGF,MAAM,CAACE,QAAQ;MAC/B,IAAI,CAACC,WAAW,GAAGH,MAAM,CAACG,WAAW;MACrC,IAAI,CAACC,eAAe,GAAGJ,MAAM,CAACI,eAAe;MAC7C,IAAI,CAACC,iBAAiB,GAAGL,MAAM,CAACK,iBAAiB;MACjD,IAAI,CAACC,kBAAkB,GAAGN,MAAM,CAACM,kBAAkB;MACnD,IAAI,CAACC,eAAe,GAAGP,MAAM,CAACO,eAAe;MAC7C,IAAI,CAACC,eAAe,GAAGR,MAAM,CAACQ,eAAe;IAC/C;EACF;AACF;AAAC"}
|
|
@@ -4,20 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRoleChangeRequest = void 0;
|
|
7
|
-
|
|
8
|
-
function
|
|
9
|
-
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
10
|
class HMSRoleChangeRequest {
|
|
11
11
|
constructor(params) {
|
|
12
12
|
_defineProperty(this, "requestedBy", void 0);
|
|
13
|
-
|
|
14
13
|
_defineProperty(this, "suggestedRole", void 0);
|
|
15
|
-
|
|
16
14
|
this.requestedBy = params.requestedBy;
|
|
17
15
|
this.suggestedRole = params.suggestedRole;
|
|
18
16
|
}
|
|
19
|
-
|
|
20
17
|
}
|
|
21
|
-
|
|
22
18
|
exports.HMSRoleChangeRequest = HMSRoleChangeRequest;
|
|
23
19
|
//# sourceMappingURL=HMSRoleChangeRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSRoleChangeRequest","constructor","params","requestedBy","suggestedRole"],"sources":["HMSRoleChangeRequest.ts"],"sourcesContent":["import type { HMSRole } from './HMSRole';\nimport type { HMSPeer } from './HMSPeer';\n\nexport class HMSRoleChangeRequest {\n requestedBy: HMSPeer;\n suggestedRole: HMSRole;\n\n constructor(params: { requestedBy: HMSPeer; suggestedRole: HMSRole }) {\n this.requestedBy = params.requestedBy;\n this.suggestedRole = params.suggestedRole;\n }\n}\n"],"mappings":";;;;;;;;;AAGO,MAAMA,
|
|
1
|
+
{"version":3,"names":["HMSRoleChangeRequest","constructor","params","requestedBy","suggestedRole"],"sources":["HMSRoleChangeRequest.ts"],"sourcesContent":["import type { HMSRole } from './HMSRole';\nimport type { HMSPeer } from './HMSPeer';\n\nexport class HMSRoleChangeRequest {\n requestedBy: HMSPeer;\n suggestedRole: HMSRole;\n\n constructor(params: { requestedBy: HMSPeer; suggestedRole: HMSRole }) {\n this.requestedBy = params.requestedBy;\n this.suggestedRole = params.suggestedRole;\n }\n}\n"],"mappings":";;;;;;;;;AAGO,MAAMA,oBAAoB,CAAC;EAIhCC,WAAW,CAACC,MAAwD,EAAE;IAAA;IAAA;IACpE,IAAI,CAACC,WAAW,GAAGD,MAAM,CAACC,WAAW;IACrC,IAAI,CAACC,aAAa,GAAGF,MAAM,CAACE,aAAa;EAC3C;AACF;AAAC"}
|