@100mslive/react-native-hms 0.9.94 → 1.1.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 +44 -29
- 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_github_100mslive_android_sdk_lib_2_5_0_aar.xml → Gradle__com_github_100mslive_android_sdk_lib_2_5_1_aar.xml} +3 -3
- package/android/.idea/libraries/{Gradle__com_github_100mslive_webrtc_m104_hms_1_2_aar.xml → Gradle__com_github_100mslive_webrtc_m104_hms_1_3_aar.xml} +3 -3
- package/android/.idea/modules/android.androidTest.iml +10 -8
- package/android/.idea/modules/android.main.iml +10 -8
- package/android/.idea/modules/android.unitTest.iml +10 -8
- package/android/.idea/sonarlint/issuestore/3/c/3c46088b6add3088181589d8ed726652742b6221 +4 -4
- package/android/.idea/sonarlint/issuestore/a/8/a8c9f5ddd88723818e51ae3cf8693d02355a8691 +0 -0
- package/android/.idea/sonarlint/issuestore/index.pb +2 -0
- package/android/build.gradle +5 -1
- package/android/src/main/java/com/reactnativehmssdk/HMSDecoder.kt +23 -23
- package/android/src/main/java/com/reactnativehmssdk/HMSManager.kt +421 -3
- package/android/src/main/java/com/reactnativehmssdk/HMSRNSDK.kt +670 -531
- package/android/src/main/java/com/reactnativehmssdk/PipActionReceiver.kt +66 -0
- package/android/src/main/res/drawable/ic_call_end_24.xml +10 -0
- package/android/src/main/res/drawable/ic_camera_toggle_off.xml +11 -0
- package/android/src/main/res/drawable/ic_camera_toggle_on.xml +10 -0
- package/android/src/main/res/drawable/ic_mic_24.xml +10 -0
- package/android/src/main/res/drawable/ic_mic_off_24.xml +10 -0
- package/ios/HMSDecoder.swift +10 -7
- package/ios/HMSHelper.swift +22 -16
- package/ios/HMSManager.m +4 -0
- package/ios/HMSManager.swift +29 -0
- package/ios/HMSRNSDK.swift +60 -0
- 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/HMSAudioMixerSource.js +3 -1
- package/lib/commonjs/classes/HMSAudioMixerSource.js.map +1 -1
- package/lib/commonjs/classes/HMSAudioNode.js +3 -1
- package/lib/commonjs/classes/HMSAudioNode.js.map +1 -1
- package/lib/commonjs/classes/HMSAudioSettings.js +3 -1
- package/lib/commonjs/classes/HMSAudioSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSAudioTrackSettings.js +3 -1
- package/lib/commonjs/classes/HMSAudioTrackSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSBrowserRecordingState.js +3 -1
- package/lib/commonjs/classes/HMSBrowserRecordingState.js.map +1 -1
- package/lib/commonjs/classes/HMSChangeTrackStateRequest.js +3 -1
- package/lib/commonjs/classes/HMSChangeTrackStateRequest.js.map +1 -1
- package/lib/commonjs/classes/HMSConfig.js +3 -1
- package/lib/commonjs/classes/HMSConfig.js.map +1 -1
- package/lib/commonjs/classes/HMSEncoder.js +2 -1
- package/lib/commonjs/classes/HMSEncoder.js.map +1 -1
- package/lib/commonjs/classes/HMSException.js +3 -1
- package/lib/commonjs/classes/HMSException.js.map +1 -1
- package/lib/commonjs/classes/HMSHLSConfig.js +3 -1
- package/lib/commonjs/classes/HMSHLSConfig.js.map +1 -1
- package/lib/commonjs/classes/HMSHLSMeetingURLVariant.js +3 -1
- package/lib/commonjs/classes/HMSHLSMeetingURLVariant.js.map +1 -1
- package/lib/commonjs/classes/HMSHLSRecordingConfig.js +3 -1
- package/lib/commonjs/classes/HMSHLSRecordingConfig.js.map +1 -1
- package/lib/commonjs/classes/HMSHLSRecordingState.js +3 -1
- package/lib/commonjs/classes/HMSHLSRecordingState.js.map +1 -1
- package/lib/commonjs/classes/HMSHLSStreamingState.js +3 -1
- package/lib/commonjs/classes/HMSHLSStreamingState.js.map +1 -1
- package/lib/commonjs/classes/HMSHLSVariant.js +3 -1
- package/lib/commonjs/classes/HMSHLSVariant.js.map +1 -1
- package/lib/commonjs/classes/HMSLocalAudioStats.js +3 -1
- package/lib/commonjs/classes/HMSLocalAudioStats.js.map +1 -1
- package/lib/commonjs/classes/HMSLocalAudioTrack.js +3 -1
- package/lib/commonjs/classes/HMSLocalAudioTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSLocalPeer.js +3 -1
- package/lib/commonjs/classes/HMSLocalPeer.js.map +1 -1
- package/lib/commonjs/classes/HMSLocalVideoStats.js +3 -1
- package/lib/commonjs/classes/HMSLocalVideoStats.js.map +1 -1
- package/lib/commonjs/classes/HMSLocalVideoTrack.js +3 -1
- package/lib/commonjs/classes/HMSLocalVideoTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSLogSettings.js +3 -1
- package/lib/commonjs/classes/HMSLogSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSLogger.js +3 -1
- package/lib/commonjs/classes/HMSLogger.js.map +1 -1
- package/lib/commonjs/classes/HMSMessage.js +3 -1
- package/lib/commonjs/classes/HMSMessage.js.map +1 -1
- package/lib/commonjs/classes/HMSMessageRecipient.js +3 -1
- package/lib/commonjs/classes/HMSMessageRecipient.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/HMSNetworkQuality.js +3 -1
- package/lib/commonjs/classes/HMSNetworkQuality.js.map +1 -1
- package/lib/commonjs/classes/HMSPIPListenerActions.js +12 -0
- package/lib/commonjs/classes/HMSPIPListenerActions.js.map +1 -0
- package/lib/commonjs/classes/HMSPeer.js +3 -1
- package/lib/commonjs/classes/HMSPeer.js.map +1 -1
- package/lib/commonjs/classes/HMSPermissions.js +3 -1
- package/lib/commonjs/classes/HMSPermissions.js.map +1 -1
- package/lib/commonjs/classes/HMSPublishSettings.js +3 -1
- package/lib/commonjs/classes/HMSPublishSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSRTCStats.js +3 -1
- package/lib/commonjs/classes/HMSRTCStats.js.map +1 -1
- package/lib/commonjs/classes/HMSRTCStatsReport.js +3 -1
- package/lib/commonjs/classes/HMSRTCStatsReport.js.map +1 -1
- package/lib/commonjs/classes/HMSRTMPConfig.js +3 -1
- package/lib/commonjs/classes/HMSRTMPConfig.js.map +1 -1
- package/lib/commonjs/classes/HMSRemoteAudioStats.js +3 -1
- package/lib/commonjs/classes/HMSRemoteAudioStats.js.map +1 -1
- package/lib/commonjs/classes/HMSRemoteAudioTrack.js +3 -1
- package/lib/commonjs/classes/HMSRemoteAudioTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSRemotePeer.js +3 -1
- package/lib/commonjs/classes/HMSRemotePeer.js.map +1 -1
- package/lib/commonjs/classes/HMSRemoteVideoStats.js +3 -1
- package/lib/commonjs/classes/HMSRemoteVideoStats.js.map +1 -1
- package/lib/commonjs/classes/HMSRemoteVideoTrack.js +3 -1
- package/lib/commonjs/classes/HMSRemoteVideoTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSRole.js +3 -1
- package/lib/commonjs/classes/HMSRole.js.map +1 -1
- package/lib/commonjs/classes/HMSRoleChangeRequest.js +3 -1
- package/lib/commonjs/classes/HMSRoleChangeRequest.js.map +1 -1
- package/lib/commonjs/classes/HMSRoom.js +5 -1
- package/lib/commonjs/classes/HMSRoom.js.map +1 -1
- package/lib/commonjs/classes/HMSRtmpStreamingState.js +3 -1
- package/lib/commonjs/classes/HMSRtmpStreamingState.js.map +1 -1
- package/lib/commonjs/classes/HMSRtmpVideoResolution.js +3 -1
- package/lib/commonjs/classes/HMSRtmpVideoResolution.js.map +1 -1
- package/lib/commonjs/classes/HMSSDK.js +92 -4
- package/lib/commonjs/classes/HMSSDK.js.map +1 -1
- package/lib/commonjs/classes/HMSServerRecordingState.js +3 -1
- package/lib/commonjs/classes/HMSServerRecordingState.js.map +1 -1
- package/lib/commonjs/classes/HMSSimulcastLayerSettings.js +3 -1
- package/lib/commonjs/classes/HMSSimulcastLayerSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSSimulcastSettings.js +3 -1
- package/lib/commonjs/classes/HMSSimulcastSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSSpeaker.js +3 -1
- package/lib/commonjs/classes/HMSSpeaker.js.map +1 -1
- package/lib/commonjs/classes/HMSSubscribeSettings.js +3 -1
- package/lib/commonjs/classes/HMSSubscribeSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSTrack.js +3 -1
- package/lib/commonjs/classes/HMSTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSTrackSettings.js +3 -1
- package/lib/commonjs/classes/HMSTrackSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSVideoResolution.js +3 -1
- package/lib/commonjs/classes/HMSVideoResolution.js.map +1 -1
- package/lib/commonjs/classes/HMSVideoSettings.js +3 -1
- package/lib/commonjs/classes/HMSVideoSettings.js.map +1 -1
- package/lib/commonjs/classes/HMSVideoTrack.js +3 -1
- package/lib/commonjs/classes/HMSVideoTrack.js.map +1 -1
- package/lib/commonjs/classes/HMSVideoTrackSettings.js +3 -1
- package/lib/commonjs/classes/HMSVideoTrackSettings.js.map +1 -1
- package/lib/commonjs/classes/HmsView.js +13 -1
- package/lib/commonjs/classes/HmsView.js.map +1 -1
- package/lib/commonjs/index.js +24 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/classes/HMSAudioMixerSource.js +3 -1
- package/lib/module/classes/HMSAudioMixerSource.js.map +1 -1
- package/lib/module/classes/HMSAudioNode.js +3 -1
- package/lib/module/classes/HMSAudioNode.js.map +1 -1
- package/lib/module/classes/HMSAudioSettings.js +3 -1
- package/lib/module/classes/HMSAudioSettings.js.map +1 -1
- package/lib/module/classes/HMSAudioTrackSettings.js +3 -1
- package/lib/module/classes/HMSAudioTrackSettings.js.map +1 -1
- package/lib/module/classes/HMSBrowserRecordingState.js +3 -1
- package/lib/module/classes/HMSBrowserRecordingState.js.map +1 -1
- package/lib/module/classes/HMSChangeTrackStateRequest.js +3 -1
- package/lib/module/classes/HMSChangeTrackStateRequest.js.map +1 -1
- package/lib/module/classes/HMSConfig.js +3 -1
- package/lib/module/classes/HMSConfig.js.map +1 -1
- package/lib/module/classes/HMSEncoder.js +2 -1
- package/lib/module/classes/HMSEncoder.js.map +1 -1
- package/lib/module/classes/HMSException.js +3 -1
- package/lib/module/classes/HMSException.js.map +1 -1
- package/lib/module/classes/HMSHLSConfig.js +3 -1
- package/lib/module/classes/HMSHLSConfig.js.map +1 -1
- package/lib/module/classes/HMSHLSMeetingURLVariant.js +3 -1
- package/lib/module/classes/HMSHLSMeetingURLVariant.js.map +1 -1
- package/lib/module/classes/HMSHLSRecordingConfig.js +3 -1
- package/lib/module/classes/HMSHLSRecordingConfig.js.map +1 -1
- package/lib/module/classes/HMSHLSRecordingState.js +3 -1
- package/lib/module/classes/HMSHLSRecordingState.js.map +1 -1
- package/lib/module/classes/HMSHLSStreamingState.js +3 -1
- package/lib/module/classes/HMSHLSStreamingState.js.map +1 -1
- package/lib/module/classes/HMSHLSVariant.js +3 -1
- package/lib/module/classes/HMSHLSVariant.js.map +1 -1
- package/lib/module/classes/HMSLocalAudioStats.js +3 -1
- package/lib/module/classes/HMSLocalAudioStats.js.map +1 -1
- package/lib/module/classes/HMSLocalAudioTrack.js +3 -1
- package/lib/module/classes/HMSLocalAudioTrack.js.map +1 -1
- package/lib/module/classes/HMSLocalPeer.js +3 -1
- package/lib/module/classes/HMSLocalPeer.js.map +1 -1
- package/lib/module/classes/HMSLocalVideoStats.js +3 -1
- package/lib/module/classes/HMSLocalVideoStats.js.map +1 -1
- package/lib/module/classes/HMSLocalVideoTrack.js +3 -1
- package/lib/module/classes/HMSLocalVideoTrack.js.map +1 -1
- package/lib/module/classes/HMSLogSettings.js +3 -1
- package/lib/module/classes/HMSLogSettings.js.map +1 -1
- package/lib/module/classes/HMSLogger.js +3 -1
- package/lib/module/classes/HMSLogger.js.map +1 -1
- package/lib/module/classes/HMSMessage.js +3 -1
- package/lib/module/classes/HMSMessage.js.map +1 -1
- package/lib/module/classes/HMSMessageRecipient.js +3 -1
- package/lib/module/classes/HMSMessageRecipient.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/HMSNetworkQuality.js +3 -1
- package/lib/module/classes/HMSNetworkQuality.js.map +1 -1
- package/lib/module/classes/HMSPIPListenerActions.js +5 -0
- package/lib/module/classes/HMSPIPListenerActions.js.map +1 -0
- package/lib/module/classes/HMSPeer.js +3 -1
- package/lib/module/classes/HMSPeer.js.map +1 -1
- package/lib/module/classes/HMSPermissions.js +3 -1
- package/lib/module/classes/HMSPermissions.js.map +1 -1
- package/lib/module/classes/HMSPublishSettings.js +3 -1
- package/lib/module/classes/HMSPublishSettings.js.map +1 -1
- package/lib/module/classes/HMSRTCStats.js +3 -1
- package/lib/module/classes/HMSRTCStats.js.map +1 -1
- package/lib/module/classes/HMSRTCStatsReport.js +3 -1
- package/lib/module/classes/HMSRTCStatsReport.js.map +1 -1
- package/lib/module/classes/HMSRTMPConfig.js +3 -1
- package/lib/module/classes/HMSRTMPConfig.js.map +1 -1
- package/lib/module/classes/HMSRemoteAudioStats.js +3 -1
- package/lib/module/classes/HMSRemoteAudioStats.js.map +1 -1
- package/lib/module/classes/HMSRemoteAudioTrack.js +3 -1
- package/lib/module/classes/HMSRemoteAudioTrack.js.map +1 -1
- package/lib/module/classes/HMSRemotePeer.js +3 -1
- package/lib/module/classes/HMSRemotePeer.js.map +1 -1
- package/lib/module/classes/HMSRemoteVideoStats.js +3 -1
- package/lib/module/classes/HMSRemoteVideoStats.js.map +1 -1
- package/lib/module/classes/HMSRemoteVideoTrack.js +3 -1
- package/lib/module/classes/HMSRemoteVideoTrack.js.map +1 -1
- package/lib/module/classes/HMSRole.js +3 -1
- package/lib/module/classes/HMSRole.js.map +1 -1
- package/lib/module/classes/HMSRoleChangeRequest.js +3 -1
- package/lib/module/classes/HMSRoleChangeRequest.js.map +1 -1
- package/lib/module/classes/HMSRoom.js +5 -1
- package/lib/module/classes/HMSRoom.js.map +1 -1
- package/lib/module/classes/HMSRtmpStreamingState.js +3 -1
- package/lib/module/classes/HMSRtmpStreamingState.js.map +1 -1
- package/lib/module/classes/HMSRtmpVideoResolution.js +3 -1
- package/lib/module/classes/HMSRtmpVideoResolution.js.map +1 -1
- package/lib/module/classes/HMSSDK.js +92 -4
- package/lib/module/classes/HMSSDK.js.map +1 -1
- package/lib/module/classes/HMSServerRecordingState.js +3 -1
- package/lib/module/classes/HMSServerRecordingState.js.map +1 -1
- package/lib/module/classes/HMSSimulcastLayerSettings.js +3 -1
- package/lib/module/classes/HMSSimulcastLayerSettings.js.map +1 -1
- package/lib/module/classes/HMSSimulcastSettings.js +3 -1
- package/lib/module/classes/HMSSimulcastSettings.js.map +1 -1
- package/lib/module/classes/HMSSpeaker.js +3 -1
- package/lib/module/classes/HMSSpeaker.js.map +1 -1
- package/lib/module/classes/HMSSubscribeSettings.js +3 -1
- package/lib/module/classes/HMSSubscribeSettings.js.map +1 -1
- package/lib/module/classes/HMSTrack.js +3 -1
- package/lib/module/classes/HMSTrack.js.map +1 -1
- package/lib/module/classes/HMSTrackSettings.js +3 -1
- package/lib/module/classes/HMSTrackSettings.js.map +1 -1
- package/lib/module/classes/HMSVideoResolution.js +3 -1
- package/lib/module/classes/HMSVideoResolution.js.map +1 -1
- package/lib/module/classes/HMSVideoSettings.js +3 -1
- package/lib/module/classes/HMSVideoSettings.js.map +1 -1
- package/lib/module/classes/HMSVideoTrack.js +3 -1
- package/lib/module/classes/HMSVideoTrack.js.map +1 -1
- package/lib/module/classes/HMSVideoTrackSettings.js +3 -1
- package/lib/module/classes/HMSVideoTrackSettings.js.map +1 -1
- package/lib/module/classes/HmsView.js +13 -1
- package/lib/module/classes/HmsView.js.map +1 -1
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/classes/HMSMessage.d.ts +3 -2
- package/lib/typescript/classes/HMSMessageType.d.ts +4 -0
- package/lib/typescript/classes/HMSPIPListenerActions.d.ts +3 -0
- package/lib/typescript/classes/HMSRoom.d.ts +3 -0
- package/lib/typescript/classes/HMSSDK.d.ts +53 -5
- package/lib/typescript/index.d.ts +2 -0
- package/package.json +1 -1
- package/react-native-hms.podspec +3 -2
- package/src/classes/HMSEncoder.ts +1 -0
- package/src/classes/HMSMessage.ts +3 -2
- package/src/classes/HMSMessageType.ts +4 -0
- package/src/classes/HMSPIPListenerActions.ts +3 -0
- package/src/classes/HMSRoom.ts +4 -0
- package/src/classes/HMSSDK.tsx +149 -5
- package/src/classes/HmsView.tsx +15 -1
- package/src/index.ts +2 -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_70_3_debug_aar.xml +0 -14
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.HMSMessageType = void 0;
|
|
7
|
+
let HMSMessageType;
|
|
8
|
+
exports.HMSMessageType = HMSMessageType;
|
|
9
|
+
(function (HMSMessageType) {
|
|
10
|
+
HMSMessageType["CHAT"] = "chat";
|
|
11
|
+
HMSMessageType["METADATA"] = "metadata";
|
|
12
|
+
})(HMSMessageType || (exports.HMSMessageType = HMSMessageType = {}));
|
|
13
|
+
//# sourceMappingURL=HMSMessageType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["HMSMessageType"],"sources":["HMSMessageType.ts"],"sourcesContent":["export enum HMSMessageType {\n CHAT = 'chat',\n METADATA = 'metadata',\n}\n"],"mappings":";;;;;;IAAYA,cAAc;AAAA;AAAA,WAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;AAAA,GAAdA,cAAc,8BAAdA,cAAc"}
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSNetworkQuality = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSNetworkQuality {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "downlinkQuality", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSNetworkQuality","constructor","params","downlinkQuality"],"sources":["HMSNetworkQuality.ts"],"sourcesContent":["export class HMSNetworkQuality {\n downlinkQuality: number;\n\n constructor(params: { downlinkQuality: number }) {\n this.downlinkQuality = params.downlinkQuality;\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["HMSNetworkQuality","constructor","params","downlinkQuality"],"sources":["HMSNetworkQuality.ts"],"sourcesContent":["export class HMSNetworkQuality {\n downlinkQuality: number;\n\n constructor(params: { downlinkQuality: number }) {\n this.downlinkQuality = params.downlinkQuality;\n }\n}\n"],"mappings":";;;;;;;;;AAAO,MAAMA,iBAAiB,CAAC;EAG7BC,WAAW,CAACC,MAAmC,EAAE;IAAA;IAC/C,IAAI,CAACC,eAAe,GAAGD,MAAM,CAACC,eAAe;EAC/C;AACF;AAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.HMSPIPListenerActions = void 0;
|
|
7
|
+
let HMSPIPListenerActions;
|
|
8
|
+
exports.HMSPIPListenerActions = HMSPIPListenerActions;
|
|
9
|
+
(function (HMSPIPListenerActions) {
|
|
10
|
+
HMSPIPListenerActions["ON_PIP_ROOM_LEAVE"] = "ON_PIP_ROOM_LEAVE";
|
|
11
|
+
})(HMSPIPListenerActions || (exports.HMSPIPListenerActions = HMSPIPListenerActions = {}));
|
|
12
|
+
//# sourceMappingURL=HMSPIPListenerActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["HMSPIPListenerActions"],"sources":["HMSPIPListenerActions.ts"],"sourcesContent":["export enum HMSPIPListenerActions {\n ON_PIP_ROOM_LEAVE = 'ON_PIP_ROOM_LEAVE',\n}\n"],"mappings":";;;;;;IAAYA,qBAAqB;AAAA;AAAA,WAArBA,qBAAqB;EAArBA,qBAAqB;AAAA,GAArBA,qBAAqB,qCAArBA,qBAAqB"}
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSPeer = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSPeer {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "peerID", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSPeer","constructor","params","peerID","name","isLocal","customerUserID","customerDescription","audioTrack","videoTrack","auxiliaryTracks","role","networkQuality","metadata"],"sources":["HMSPeer.ts"],"sourcesContent":["import type { HMSAudioTrack } from './HMSAudioTrack';\nimport type { HMSNetworkQuality } from './HMSNetworkQuality';\nimport type { HMSRole } from './HMSRole';\nimport type { HMSTrack } from './HMSTrack';\nimport type { HMSVideoTrack } from './HMSVideoTrack';\n\nexport class HMSPeer {\n peerID: string;\n name: string;\n isLocal?: boolean;\n customerUserID?: string;\n customerDescription?: string;\n metadata?: string;\n role?: HMSRole;\n networkQuality?: HMSNetworkQuality;\n audioTrack?: HMSAudioTrack;\n videoTrack?: HMSVideoTrack;\n auxiliaryTracks?: HMSTrack[];\n\n constructor(params: {\n peerID: string;\n name: string;\n isLocal?: boolean;\n customerUserID?: string;\n customerDescription?: string;\n metadata?: string;\n role?: HMSRole;\n networkQuality?: HMSNetworkQuality;\n audioTrack?: HMSAudioTrack;\n videoTrack?: HMSVideoTrack;\n auxiliaryTracks?: HMSTrack[];\n }) {\n this.peerID = params.peerID;\n this.name = params.name;\n this.isLocal = params.isLocal;\n this.customerUserID = params.customerUserID;\n this.customerDescription = params.customerDescription;\n this.audioTrack = params.audioTrack;\n this.videoTrack = params.videoTrack;\n this.auxiliaryTracks = params.auxiliaryTracks;\n this.role = params.role;\n this.networkQuality = params.networkQuality;\n this.metadata = params.metadata;\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["HMSPeer","constructor","params","peerID","name","isLocal","customerUserID","customerDescription","audioTrack","videoTrack","auxiliaryTracks","role","networkQuality","metadata"],"sources":["HMSPeer.ts"],"sourcesContent":["import type { HMSAudioTrack } from './HMSAudioTrack';\nimport type { HMSNetworkQuality } from './HMSNetworkQuality';\nimport type { HMSRole } from './HMSRole';\nimport type { HMSTrack } from './HMSTrack';\nimport type { HMSVideoTrack } from './HMSVideoTrack';\n\nexport class HMSPeer {\n peerID: string;\n name: string;\n isLocal?: boolean;\n customerUserID?: string;\n customerDescription?: string;\n metadata?: string;\n role?: HMSRole;\n networkQuality?: HMSNetworkQuality;\n audioTrack?: HMSAudioTrack;\n videoTrack?: HMSVideoTrack;\n auxiliaryTracks?: HMSTrack[];\n\n constructor(params: {\n peerID: string;\n name: string;\n isLocal?: boolean;\n customerUserID?: string;\n customerDescription?: string;\n metadata?: string;\n role?: HMSRole;\n networkQuality?: HMSNetworkQuality;\n audioTrack?: HMSAudioTrack;\n videoTrack?: HMSVideoTrack;\n auxiliaryTracks?: HMSTrack[];\n }) {\n this.peerID = params.peerID;\n this.name = params.name;\n this.isLocal = params.isLocal;\n this.customerUserID = params.customerUserID;\n this.customerDescription = params.customerDescription;\n this.audioTrack = params.audioTrack;\n this.videoTrack = params.videoTrack;\n this.auxiliaryTracks = params.auxiliaryTracks;\n this.role = params.role;\n this.networkQuality = params.networkQuality;\n this.metadata = params.metadata;\n }\n}\n"],"mappings":";;;;;;;;;AAMO,MAAMA,OAAO,CAAC;EAanBC,WAAW,CAACC,MAYX,EAAE;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IACD,IAAI,CAACC,MAAM,GAAGD,MAAM,CAACC,MAAM;IAC3B,IAAI,CAACC,IAAI,GAAGF,MAAM,CAACE,IAAI;IACvB,IAAI,CAACC,OAAO,GAAGH,MAAM,CAACG,OAAO;IAC7B,IAAI,CAACC,cAAc,GAAGJ,MAAM,CAACI,cAAc;IAC3C,IAAI,CAACC,mBAAmB,GAAGL,MAAM,CAACK,mBAAmB;IACrD,IAAI,CAACC,UAAU,GAAGN,MAAM,CAACM,UAAU;IACnC,IAAI,CAACC,UAAU,GAAGP,MAAM,CAACO,UAAU;IACnC,IAAI,CAACC,eAAe,GAAGR,MAAM,CAACQ,eAAe;IAC7C,IAAI,CAACC,IAAI,GAAGT,MAAM,CAACS,IAAI;IACvB,IAAI,CAACC,cAAc,GAAGV,MAAM,CAACU,cAAc;IAC3C,IAAI,CAACC,QAAQ,GAAGX,MAAM,CAACW,QAAQ;EACjC;AACF;AAAC"}
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSPermissions = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSPermissions {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "endRoom", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSPermissions","constructor","params","endRoom","removeOthers","unmute","mute","changeRole","browserRecording","hlsStreaming","rtmpStreaming"],"sources":["HMSPermissions.ts"],"sourcesContent":["export class HMSPermissions {\n endRoom?: boolean;\n removeOthers?: boolean;\n unmute?: boolean;\n mute?: boolean;\n changeRole?: boolean;\n browserRecording?: boolean;\n hlsStreaming?: boolean;\n rtmpStreaming?: boolean;\n\n constructor(params?: {\n endRoom?: boolean;\n removeOthers?: boolean;\n unmute?: boolean;\n mute?: boolean;\n changeRole?: boolean;\n browserRecording?: boolean;\n hlsStreaming?: boolean;\n rtmpStreaming?: boolean;\n }) {\n if (params) {\n this.endRoom = params.endRoom;\n this.removeOthers = params.removeOthers;\n this.unmute = params.unmute;\n this.mute = params.mute;\n this.changeRole = params.changeRole;\n this.browserRecording = params.browserRecording;\n this.hlsStreaming = params.hlsStreaming;\n this.rtmpStreaming = params.rtmpStreaming;\n }\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["HMSPermissions","constructor","params","endRoom","removeOthers","unmute","mute","changeRole","browserRecording","hlsStreaming","rtmpStreaming"],"sources":["HMSPermissions.ts"],"sourcesContent":["export class HMSPermissions {\n endRoom?: boolean;\n removeOthers?: boolean;\n unmute?: boolean;\n mute?: boolean;\n changeRole?: boolean;\n browserRecording?: boolean;\n hlsStreaming?: boolean;\n rtmpStreaming?: boolean;\n\n constructor(params?: {\n endRoom?: boolean;\n removeOthers?: boolean;\n unmute?: boolean;\n mute?: boolean;\n changeRole?: boolean;\n browserRecording?: boolean;\n hlsStreaming?: boolean;\n rtmpStreaming?: boolean;\n }) {\n if (params) {\n this.endRoom = params.endRoom;\n this.removeOthers = params.removeOthers;\n this.unmute = params.unmute;\n this.mute = params.mute;\n this.changeRole = params.changeRole;\n this.browserRecording = params.browserRecording;\n this.hlsStreaming = params.hlsStreaming;\n this.rtmpStreaming = params.rtmpStreaming;\n }\n }\n}\n"],"mappings":";;;;;;;;;AAAO,MAAMA,cAAc,CAAC;EAU1BC,WAAW,CAACC,MASX,EAAE;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IACD,IAAIA,MAAM,EAAE;MACV,IAAI,CAACC,OAAO,GAAGD,MAAM,CAACC,OAAO;MAC7B,IAAI,CAACC,YAAY,GAAGF,MAAM,CAACE,YAAY;MACvC,IAAI,CAACC,MAAM,GAAGH,MAAM,CAACG,MAAM;MAC3B,IAAI,CAACC,IAAI,GAAGJ,MAAM,CAACI,IAAI;MACvB,IAAI,CAACC,UAAU,GAAGL,MAAM,CAACK,UAAU;MACnC,IAAI,CAACC,gBAAgB,GAAGN,MAAM,CAACM,gBAAgB;MAC/C,IAAI,CAACC,YAAY,GAAGP,MAAM,CAACO,YAAY;MACvC,IAAI,CAACC,aAAa,GAAGR,MAAM,CAACQ,aAAa;IAC3C;EACF;AACF;AAAC"}
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSPublishSettings = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSPublishSettings {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "audio", void 0);
|
|
@@ -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":"
|
|
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,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRTCStats = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSRTCStats {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "bitrateReceived", void 0);
|
|
@@ -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":"
|
|
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,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRTCStatsReport = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSRTCStatsReport {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "video", void 0);
|
|
@@ -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":"
|
|
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,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRTMPConfig = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSRTMPConfig {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "meetingURL", void 0);
|
|
@@ -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":"
|
|
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,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRemoteAudioStats = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSRemoteAudioStats {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "bitrate", void 0);
|
|
@@ -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":"
|
|
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"}
|
|
@@ -7,7 +7,9 @@ exports.HMSRemoteAudioTrack = void 0;
|
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _HMSLogger = require("./HMSLogger");
|
|
9
9
|
var _HMSAudioTrack = require("./HMSAudioTrack");
|
|
10
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
11
13
|
const {
|
|
12
14
|
/**
|
|
13
15
|
* @ignore
|
|
@@ -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":";;;;;;AAAA;AACA;AAEA;AAAgD;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"}
|
|
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"}
|
|
@@ -7,7 +7,9 @@ exports.HMSRemotePeer = void 0;
|
|
|
7
7
|
var _HMSPeer = require("./HMSPeer");
|
|
8
8
|
var _HMSRemoteAudioTrack = require("./HMSRemoteAudioTrack");
|
|
9
9
|
var _HMSRemoteVideoTrack = require("./HMSRemoteVideoTrack");
|
|
10
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
11
13
|
class HMSRemotePeer extends _HMSPeer.HMSPeer {
|
|
12
14
|
constructor(params) {
|
|
13
15
|
super(params);
|
|
@@ -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":";;;;;;AAEA;AACA;AACA;AAA4D;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"}
|
|
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,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRemoteVideoStats = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSRemoteVideoStats {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "bitrate", void 0);
|
|
@@ -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":"
|
|
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"}
|
|
@@ -7,7 +7,9 @@ exports.HMSRemoteVideoTrack = void 0;
|
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _HMSLogger = require("./HMSLogger");
|
|
9
9
|
var _HMSVideoTrack = require("./HMSVideoTrack");
|
|
10
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
11
13
|
const {
|
|
12
14
|
/**
|
|
13
15
|
* @ignore
|
|
@@ -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":";;;;;;AAAA;AACA;AACA;AAAgD;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"}
|
|
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,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRole = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSRole {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "name", void 0);
|
|
@@ -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":"
|
|
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,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRoleChangeRequest = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSRoleChangeRequest {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "requestedBy", void 0);
|
|
@@ -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":"
|
|
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"}
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRoom = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSRoom {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "id", void 0);
|
|
@@ -18,6 +20,7 @@ class HMSRoom {
|
|
|
18
20
|
_defineProperty(this, "hlsStreamingState", void 0);
|
|
19
21
|
_defineProperty(this, "hlsRecordingState", void 0);
|
|
20
22
|
_defineProperty(this, "peerCount", void 0);
|
|
23
|
+
_defineProperty(this, "localPeer", void 0);
|
|
21
24
|
this.id = params.id;
|
|
22
25
|
this.sessionId = params.sessionId;
|
|
23
26
|
this.name = params.name;
|
|
@@ -29,6 +32,7 @@ class HMSRoom {
|
|
|
29
32
|
this.hlsStreamingState = params.hlsStreamingState;
|
|
30
33
|
this.hlsRecordingState = params.hlsRecordingState;
|
|
31
34
|
this.peerCount = params.peerCount;
|
|
35
|
+
this.localPeer = params.localPeer;
|
|
32
36
|
}
|
|
33
37
|
}
|
|
34
38
|
exports.HMSRoom = HMSRoom;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSRoom","constructor","params","id","sessionId","name","metaData","peers","browserRecordingState","rtmpHMSRtmpStreamingState","serverRecordingState","hlsStreamingState","hlsRecordingState","peerCount"],"sources":["HMSRoom.ts"],"sourcesContent":["import type { HMSPeer } from './HMSPeer';\nimport type { HMSRtmpStreamingState } from './HMSRtmpStreamingState';\nimport type { HMSServerRecordingState } from './HMSServerRecordingState';\nimport type { HMSBrowserRecordingState } from './HMSBrowserRecordingState';\nimport type { HMSHLSStreamingState } from './HMSHLSStreamingState';\nimport type { HMSHLSRecordingState } from './HMSHLSRecordingState';\n\nexport class HMSRoom {\n id: string;\n sessionId: string;\n name: string;\n metaData?: string;\n peers: HMSPeer[];\n browserRecordingState: HMSBrowserRecordingState;\n rtmpHMSRtmpStreamingState: HMSRtmpStreamingState;\n serverRecordingState: HMSServerRecordingState;\n hlsStreamingState: HMSHLSStreamingState;\n hlsRecordingState?: HMSHLSRecordingState;\n peerCount: number;\n\n constructor(params: {\n id: string;\n sessionId: string;\n name: string;\n metaData?: string;\n peers: HMSPeer[];\n browserRecordingState: HMSBrowserRecordingState;\n rtmpHMSRtmpStreamingState: HMSRtmpStreamingState;\n serverRecordingState: HMSServerRecordingState;\n hlsStreamingState: HMSHLSStreamingState;\n hlsRecordingState?: HMSHLSRecordingState;\n peerCount: number;\n }) {\n this.id = params.id;\n this.sessionId = params.sessionId;\n this.name = params.name;\n this.metaData = params.metaData;\n this.peers = params.peers;\n this.browserRecordingState = params.browserRecordingState;\n this.rtmpHMSRtmpStreamingState = params.rtmpHMSRtmpStreamingState;\n this.serverRecordingState = params.serverRecordingState;\n this.hlsStreamingState = params.hlsStreamingState;\n this.hlsRecordingState = params.hlsRecordingState;\n this.peerCount = params.peerCount;\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["HMSRoom","constructor","params","id","sessionId","name","metaData","peers","browserRecordingState","rtmpHMSRtmpStreamingState","serverRecordingState","hlsStreamingState","hlsRecordingState","peerCount","localPeer"],"sources":["HMSRoom.ts"],"sourcesContent":["import type { HMSPeer } from './HMSPeer';\nimport type { HMSRtmpStreamingState } from './HMSRtmpStreamingState';\nimport type { HMSServerRecordingState } from './HMSServerRecordingState';\nimport type { HMSBrowserRecordingState } from './HMSBrowserRecordingState';\nimport type { HMSHLSStreamingState } from './HMSHLSStreamingState';\nimport type { HMSHLSRecordingState } from './HMSHLSRecordingState';\nimport type { HMSLocalPeer } from './HMSLocalPeer';\n\nexport class HMSRoom {\n id: string;\n sessionId: string;\n name: string;\n metaData?: string;\n peers: HMSPeer[];\n browserRecordingState: HMSBrowserRecordingState;\n rtmpHMSRtmpStreamingState: HMSRtmpStreamingState;\n serverRecordingState: HMSServerRecordingState;\n hlsStreamingState: HMSHLSStreamingState;\n hlsRecordingState?: HMSHLSRecordingState;\n peerCount: number;\n localPeer: HMSLocalPeer;\n\n constructor(params: {\n id: string;\n sessionId: string;\n name: string;\n metaData?: string;\n peers: HMSPeer[];\n browserRecordingState: HMSBrowserRecordingState;\n rtmpHMSRtmpStreamingState: HMSRtmpStreamingState;\n serverRecordingState: HMSServerRecordingState;\n hlsStreamingState: HMSHLSStreamingState;\n hlsRecordingState?: HMSHLSRecordingState;\n peerCount: number;\n localPeer: HMSLocalPeer;\n }) {\n this.id = params.id;\n this.sessionId = params.sessionId;\n this.name = params.name;\n this.metaData = params.metaData;\n this.peers = params.peers;\n this.browserRecordingState = params.browserRecordingState;\n this.rtmpHMSRtmpStreamingState = params.rtmpHMSRtmpStreamingState;\n this.serverRecordingState = params.serverRecordingState;\n this.hlsStreamingState = params.hlsStreamingState;\n this.hlsRecordingState = params.hlsRecordingState;\n this.peerCount = params.peerCount;\n this.localPeer = params.localPeer;\n }\n}\n"],"mappings":";;;;;;;;;AAQO,MAAMA,OAAO,CAAC;EAcnBC,WAAW,CAACC,MAaX,EAAE;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IACD,IAAI,CAACC,EAAE,GAAGD,MAAM,CAACC,EAAE;IACnB,IAAI,CAACC,SAAS,GAAGF,MAAM,CAACE,SAAS;IACjC,IAAI,CAACC,IAAI,GAAGH,MAAM,CAACG,IAAI;IACvB,IAAI,CAACC,QAAQ,GAAGJ,MAAM,CAACI,QAAQ;IAC/B,IAAI,CAACC,KAAK,GAAGL,MAAM,CAACK,KAAK;IACzB,IAAI,CAACC,qBAAqB,GAAGN,MAAM,CAACM,qBAAqB;IACzD,IAAI,CAACC,yBAAyB,GAAGP,MAAM,CAACO,yBAAyB;IACjE,IAAI,CAACC,oBAAoB,GAAGR,MAAM,CAACQ,oBAAoB;IACvD,IAAI,CAACC,iBAAiB,GAAGT,MAAM,CAACS,iBAAiB;IACjD,IAAI,CAACC,iBAAiB,GAAGV,MAAM,CAACU,iBAAiB;IACjD,IAAI,CAACC,SAAS,GAAGX,MAAM,CAACW,SAAS;IACjC,IAAI,CAACC,SAAS,GAAGZ,MAAM,CAACY,SAAS;EACnC;AACF;AAAC"}
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRtmpStreamingState = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSRtmpStreamingState {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "running", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSRtmpStreamingState","constructor","params","running","error","startedAt","stoppedAt"],"sources":["HMSRtmpStreamingState.ts"],"sourcesContent":["import type { HMSException } from './HMSException';\n\nexport class HMSRtmpStreamingState {\n running: boolean;\n error?: HMSException;\n startedAt: Date;\n stoppedAt: Date;\n\n constructor(params: {\n running: boolean;\n error?: HMSException;\n startedAt: Date;\n stoppedAt: Date;\n }) {\n this.running = params.running;\n this.error = params.error;\n this.startedAt = params.startedAt;\n this.stoppedAt = params.stoppedAt;\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["HMSRtmpStreamingState","constructor","params","running","error","startedAt","stoppedAt"],"sources":["HMSRtmpStreamingState.ts"],"sourcesContent":["import type { HMSException } from './HMSException';\n\nexport class HMSRtmpStreamingState {\n running: boolean;\n error?: HMSException;\n startedAt: Date;\n stoppedAt: Date;\n\n constructor(params: {\n running: boolean;\n error?: HMSException;\n startedAt: Date;\n stoppedAt: Date;\n }) {\n this.running = params.running;\n this.error = params.error;\n this.startedAt = params.startedAt;\n this.stoppedAt = params.stoppedAt;\n }\n}\n"],"mappings":";;;;;;;;;AAEO,MAAMA,qBAAqB,CAAC;EAMjCC,WAAW,CAACC,MAKX,EAAE;IAAA;IAAA;IAAA;IAAA;IACD,IAAI,CAACC,OAAO,GAAGD,MAAM,CAACC,OAAO;IAC7B,IAAI,CAACC,KAAK,GAAGF,MAAM,CAACE,KAAK;IACzB,IAAI,CAACC,SAAS,GAAGH,MAAM,CAACG,SAAS;IACjC,IAAI,CAACC,SAAS,GAAGJ,MAAM,CAACI,SAAS;EACnC;AACF;AAAC"}
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.HMSRtmpVideoResolution = void 0;
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
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); }
|
|
8
10
|
class HMSRtmpVideoResolution {
|
|
9
11
|
constructor(params) {
|
|
10
12
|
_defineProperty(this, "height", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HMSRtmpVideoResolution","constructor","params","height","width"],"sources":["HMSRtmpVideoResolution.ts"],"sourcesContent":["export class HMSRtmpVideoResolution {\n height: number;\n width: number;\n\n constructor(params: { height: number; width: number }) {\n this.height = params.height;\n this.width = params.width;\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["HMSRtmpVideoResolution","constructor","params","height","width"],"sources":["HMSRtmpVideoResolution.ts"],"sourcesContent":["export class HMSRtmpVideoResolution {\n height: number;\n width: number;\n\n constructor(params: { height: number; width: number }) {\n this.height = params.height;\n this.width = params.width;\n }\n}\n"],"mappings":";;;;;;;;;AAAO,MAAMA,sBAAsB,CAAC;EAIlCC,WAAW,CAACC,MAAyC,EAAE;IAAA;IAAA;IACrD,IAAI,CAACC,MAAM,GAAGD,MAAM,CAACC,MAAM;IAC3B,IAAI,CAACC,KAAK,GAAGF,MAAM,CAACE,KAAK;EAC3B;AACF;AAAC"}
|