@signalwire/js 3.29.2 → 4.0.0-dev-20260220205014
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/dist/base-A5AZTrAd.d.cts +23 -0
- package/dist/base-A5AZTrAd.d.cts.map +1 -0
- package/dist/base-aVtoG8Wk.d.mts +23 -0
- package/dist/base-aVtoG8Wk.d.mts.map +1 -0
- package/dist/browser.mjs +16625 -0
- package/dist/browser.mjs.map +1 -0
- package/dist/browser.umd.js +16646 -0
- package/dist/browser.umd.js.map +1 -0
- package/dist/index.cjs +6210 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2690 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +2690 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +6194 -0
- package/dist/index.mjs.map +1 -0
- package/dist/operators/index.cjs +6 -0
- package/dist/operators/index.d.cts +109 -0
- package/dist/operators/index.d.cts.map +1 -0
- package/dist/operators/index.d.mts +109 -0
- package/dist/operators/index.d.mts.map +1 -0
- package/dist/operators/index.mjs +3 -0
- package/dist/operators-BHQMSEzq.mjs +371 -0
- package/dist/operators-BHQMSEzq.mjs.map +1 -0
- package/dist/operators-DT4UB24-.cjs +596 -0
- package/dist/operators-DT4UB24-.cjs.map +1 -0
- package/package.json +73 -37
- package/README.md +0 -40
- package/dist/core/src/BaseClient.d.ts +0 -19
- package/dist/core/src/BaseClient.d.ts.map +0 -1
- package/dist/core/src/BaseComponent.d.ts +0 -101
- package/dist/core/src/BaseComponent.d.ts.map +0 -1
- package/dist/core/src/BaseComponent.test.d.ts +0 -2
- package/dist/core/src/BaseComponent.test.d.ts.map +0 -1
- package/dist/core/src/BaseConsumer.d.ts +0 -18
- package/dist/core/src/BaseConsumer.d.ts.map +0 -1
- package/dist/core/src/BaseConsumer.test.d.ts +0 -2
- package/dist/core/src/BaseConsumer.test.d.ts.map +0 -1
- package/dist/core/src/BaseJWTSession.d.ts +0 -47
- package/dist/core/src/BaseJWTSession.d.ts.map +0 -1
- package/dist/core/src/BaseJWTSession.test.d.ts +0 -2
- package/dist/core/src/BaseJWTSession.test.d.ts.map +0 -1
- package/dist/core/src/BaseSession.d.ts +0 -117
- package/dist/core/src/BaseSession.d.ts.map +0 -1
- package/dist/core/src/BaseSession.test.d.ts +0 -2
- package/dist/core/src/BaseSession.test.d.ts.map +0 -1
- package/dist/core/src/CustomErrors.d.ts +0 -17
- package/dist/core/src/CustomErrors.d.ts.map +0 -1
- package/dist/core/src/RPCMessages/RPCConnect.d.ts +0 -42
- package/dist/core/src/RPCMessages/RPCConnect.d.ts.map +0 -1
- package/dist/core/src/RPCMessages/RPCDisconnect.d.ts +0 -8
- package/dist/core/src/RPCMessages/RPCDisconnect.d.ts.map +0 -1
- package/dist/core/src/RPCMessages/RPCEventAck.d.ts +0 -8
- package/dist/core/src/RPCMessages/RPCEventAck.d.ts.map +0 -1
- package/dist/core/src/RPCMessages/RPCExecute.d.ts +0 -16
- package/dist/core/src/RPCMessages/RPCExecute.d.ts.map +0 -1
- package/dist/core/src/RPCMessages/RPCPing.d.ts +0 -16
- package/dist/core/src/RPCMessages/RPCPing.d.ts.map +0 -1
- package/dist/core/src/RPCMessages/RPCReauthenticate.d.ts +0 -13
- package/dist/core/src/RPCMessages/RPCReauthenticate.d.ts.map +0 -1
- package/dist/core/src/RPCMessages/VertoMessages.d.ts +0 -84
- package/dist/core/src/RPCMessages/VertoMessages.d.ts.map +0 -1
- package/dist/core/src/RPCMessages/helpers.d.ts +0 -31
- package/dist/core/src/RPCMessages/helpers.d.ts.map +0 -1
- package/dist/core/src/RPCMessages/index.d.ts +0 -9
- package/dist/core/src/RPCMessages/index.d.ts.map +0 -1
- package/dist/core/src/RPCMessages/index.test.d.ts +0 -2
- package/dist/core/src/RPCMessages/index.test.d.ts.map +0 -1
- package/dist/core/src/chat/BaseChat.d.ts +0 -23
- package/dist/core/src/chat/BaseChat.d.ts.map +0 -1
- package/dist/core/src/chat/ChatMember.d.ts +0 -15
- package/dist/core/src/chat/ChatMember.d.ts.map +0 -1
- package/dist/core/src/chat/ChatMessage.d.ts +0 -10
- package/dist/core/src/chat/ChatMessage.d.ts.map +0 -1
- package/dist/core/src/chat/applyCommonMethods.d.ts +0 -22
- package/dist/core/src/chat/applyCommonMethods.d.ts.map +0 -1
- package/dist/core/src/chat/index.d.ts +0 -6
- package/dist/core/src/chat/index.d.ts.map +0 -1
- package/dist/core/src/chat/methods.d.ts +0 -31
- package/dist/core/src/chat/methods.d.ts.map +0 -1
- package/dist/core/src/chat/utils/index.d.ts +0 -3
- package/dist/core/src/chat/utils/index.d.ts.map +0 -1
- package/dist/core/src/chat/utils/toInternalChatChannels.d.ts +0 -3
- package/dist/core/src/chat/utils/toInternalChatChannels.d.ts.map +0 -1
- package/dist/core/src/chat/utils/toInternalChatChannels.test.d.ts +0 -2
- package/dist/core/src/chat/utils/toInternalChatChannels.test.d.ts.map +0 -1
- package/dist/core/src/chat/workers/chatWorker.d.ts +0 -4
- package/dist/core/src/chat/workers/chatWorker.d.ts.map +0 -1
- package/dist/core/src/chat/workers/index.d.ts +0 -2
- package/dist/core/src/chat/workers/index.d.ts.map +0 -1
- package/dist/core/src/index.d.ts +0 -45
- package/dist/core/src/index.d.ts.map +0 -1
- package/dist/core/src/index.test.d.ts +0 -1
- package/dist/core/src/index.test.d.ts.map +0 -1
- package/dist/core/src/memberPosition/index.d.ts +0 -2
- package/dist/core/src/memberPosition/index.d.ts.map +0 -1
- package/dist/core/src/memberPosition/workers.d.ts +0 -13
- package/dist/core/src/memberPosition/workers.d.ts.map +0 -1
- package/dist/core/src/memberPosition/workers.test.d.ts +0 -2
- package/dist/core/src/memberPosition/workers.test.d.ts.map +0 -1
- package/dist/core/src/pubSub/BasePubSub.d.ts +0 -43
- package/dist/core/src/pubSub/BasePubSub.d.ts.map +0 -1
- package/dist/core/src/pubSub/PubSubMessage.d.ts +0 -19
- package/dist/core/src/pubSub/PubSubMessage.d.ts.map +0 -1
- package/dist/core/src/pubSub/index.d.ts +0 -3
- package/dist/core/src/pubSub/index.d.ts.map +0 -1
- package/dist/core/src/pubSub/workers/index.d.ts +0 -2
- package/dist/core/src/pubSub/workers/index.d.ts.map +0 -1
- package/dist/core/src/pubSub/workers/pubSubWorker.d.ts +0 -4
- package/dist/core/src/pubSub/workers/pubSubWorker.d.ts.map +0 -1
- package/dist/core/src/redux/actions.d.ts +0 -25
- package/dist/core/src/redux/actions.d.ts.map +0 -1
- package/dist/core/src/redux/connect.d.ts +0 -23
- package/dist/core/src/redux/connect.d.ts.map +0 -1
- package/dist/core/src/redux/connect.test.d.ts +0 -2
- package/dist/core/src/redux/connect.test.d.ts.map +0 -1
- package/dist/core/src/redux/features/component/componentSaga.d.ts +0 -4
- package/dist/core/src/redux/features/component/componentSaga.d.ts.map +0 -1
- package/dist/core/src/redux/features/component/componentSaga.test.d.ts +0 -2
- package/dist/core/src/redux/features/component/componentSaga.test.d.ts.map +0 -1
- package/dist/core/src/redux/features/component/componentSelectors.d.ts +0 -7
- package/dist/core/src/redux/features/component/componentSelectors.d.ts.map +0 -1
- package/dist/core/src/redux/features/component/componentSelectors.test.d.ts +0 -2
- package/dist/core/src/redux/features/component/componentSelectors.test.d.ts.map +0 -1
- package/dist/core/src/redux/features/component/componentSlice.d.ts +0 -2319
- package/dist/core/src/redux/features/component/componentSlice.d.ts.map +0 -1
- package/dist/core/src/redux/features/component/componentSlice.test.d.ts +0 -2
- package/dist/core/src/redux/features/component/componentSlice.test.d.ts.map +0 -1
- package/dist/core/src/redux/features/index.d.ts +0 -3
- package/dist/core/src/redux/features/index.d.ts.map +0 -1
- package/dist/core/src/redux/features/session/sessionSaga.d.ts +0 -11
- package/dist/core/src/redux/features/session/sessionSaga.d.ts.map +0 -1
- package/dist/core/src/redux/features/session/sessionSelectors.d.ts +0 -9
- package/dist/core/src/redux/features/session/sessionSelectors.d.ts.map +0 -1
- package/dist/core/src/redux/features/session/sessionSlice.d.ts +0 -521
- package/dist/core/src/redux/features/session/sessionSlice.d.ts.map +0 -1
- package/dist/core/src/redux/features/session/sessionSlice.test.d.ts +0 -2
- package/dist/core/src/redux/features/session/sessionSlice.test.d.ts.map +0 -1
- package/dist/core/src/redux/index.d.ts +0 -31
- package/dist/core/src/redux/index.d.ts.map +0 -1
- package/dist/core/src/redux/interfaces.d.ts +0 -87
- package/dist/core/src/redux/interfaces.d.ts.map +0 -1
- package/dist/core/src/redux/rootReducer.d.ts +0 -457
- package/dist/core/src/redux/rootReducer.d.ts.map +0 -1
- package/dist/core/src/redux/rootSaga.d.ts +0 -40
- package/dist/core/src/redux/rootSaga.d.ts.map +0 -1
- package/dist/core/src/redux/rootSaga.test.d.ts +0 -2
- package/dist/core/src/redux/rootSaga.test.d.ts.map +0 -1
- package/dist/core/src/redux/toolkit/configureStore.d.ts +0 -77
- package/dist/core/src/redux/toolkit/configureStore.d.ts.map +0 -1
- package/dist/core/src/redux/toolkit/createAction.d.ts +0 -180
- package/dist/core/src/redux/toolkit/createAction.d.ts.map +0 -1
- package/dist/core/src/redux/toolkit/createReducer.d.ts +0 -42
- package/dist/core/src/redux/toolkit/createReducer.d.ts.map +0 -1
- package/dist/core/src/redux/toolkit/createSlice.d.ts +0 -142
- package/dist/core/src/redux/toolkit/createSlice.d.ts.map +0 -1
- package/dist/core/src/redux/toolkit/devtoolsExtension.d.ts +0 -185
- package/dist/core/src/redux/toolkit/devtoolsExtension.d.ts.map +0 -1
- package/dist/core/src/redux/toolkit/getDefaultMiddleware.d.ts +0 -12
- package/dist/core/src/redux/toolkit/getDefaultMiddleware.d.ts.map +0 -1
- package/dist/core/src/redux/toolkit/index.d.ts +0 -13
- package/dist/core/src/redux/toolkit/index.d.ts.map +0 -1
- package/dist/core/src/redux/toolkit/isPlainObject.d.ts +0 -12
- package/dist/core/src/redux/toolkit/isPlainObject.d.ts.map +0 -1
- package/dist/core/src/redux/toolkit/mapBuilders.d.ts +0 -38
- package/dist/core/src/redux/toolkit/mapBuilders.d.ts.map +0 -1
- package/dist/core/src/redux/toolkit/tsHelpers.d.ts +0 -51
- package/dist/core/src/redux/toolkit/tsHelpers.d.ts.map +0 -1
- package/dist/core/src/redux/toolkit/utils.d.ts +0 -11
- package/dist/core/src/redux/toolkit/utils.d.ts.map +0 -1
- package/dist/core/src/redux/utils/createDestroyableSlice.d.ts +0 -9
- package/dist/core/src/redux/utils/createDestroyableSlice.d.ts.map +0 -1
- package/dist/core/src/redux/utils/createDestroyableSlice.test.d.ts +0 -2
- package/dist/core/src/redux/utils/createDestroyableSlice.test.d.ts.map +0 -1
- package/dist/core/src/redux/utils/sagaHelpers.d.ts +0 -5
- package/dist/core/src/redux/utils/sagaHelpers.d.ts.map +0 -1
- package/dist/core/src/redux/utils/useInstanceMap.d.ts +0 -3
- package/dist/core/src/redux/utils/useInstanceMap.d.ts.map +0 -1
- package/dist/core/src/redux/utils/useSession.d.ts +0 -16
- package/dist/core/src/redux/utils/useSession.d.ts.map +0 -1
- package/dist/core/src/rooms/RoomSessionPlayback.d.ts +0 -40
- package/dist/core/src/rooms/RoomSessionPlayback.d.ts.map +0 -1
- package/dist/core/src/rooms/RoomSessionPlayback.test.d.ts +0 -2
- package/dist/core/src/rooms/RoomSessionPlayback.test.d.ts.map +0 -1
- package/dist/core/src/rooms/RoomSessionRecording.d.ts +0 -30
- package/dist/core/src/rooms/RoomSessionRecording.d.ts.map +0 -1
- package/dist/core/src/rooms/RoomSessionRecording.test.d.ts +0 -2
- package/dist/core/src/rooms/RoomSessionRecording.test.d.ts.map +0 -1
- package/dist/core/src/rooms/RoomSessionStream.d.ts +0 -29
- package/dist/core/src/rooms/RoomSessionStream.d.ts.map +0 -1
- package/dist/core/src/rooms/RoomSessionStream.test.d.ts +0 -2
- package/dist/core/src/rooms/RoomSessionStream.test.d.ts.map +0 -1
- package/dist/core/src/rooms/index.d.ts +0 -11
- package/dist/core/src/rooms/index.d.ts.map +0 -1
- package/dist/core/src/rooms/methods.d.ts +0 -179
- package/dist/core/src/rooms/methods.d.ts.map +0 -1
- package/dist/core/src/rooms/methods.test.d.ts +0 -2
- package/dist/core/src/rooms/methods.test.d.ts.map +0 -1
- package/dist/core/src/setupTests.d.ts +0 -1
- package/dist/core/src/setupTests.d.ts.map +0 -1
- package/dist/core/src/testUtils.d.ts +0 -54
- package/dist/core/src/testUtils.d.ts.map +0 -1
- package/dist/core/src/types/cantina.d.ts +0 -82
- package/dist/core/src/types/cantina.d.ts.map +0 -1
- package/dist/core/src/types/chat.d.ts +0 -270
- package/dist/core/src/types/chat.d.ts.map +0 -1
- package/dist/core/src/types/common.d.ts +0 -34
- package/dist/core/src/types/common.d.ts.map +0 -1
- package/dist/core/src/types/conversation.d.ts +0 -33
- package/dist/core/src/types/conversation.d.ts.map +0 -1
- package/dist/core/src/types/fabric.d.ts +0 -15
- package/dist/core/src/types/fabric.d.ts.map +0 -1
- package/dist/core/src/types/fabricLayout.d.ts +0 -25
- package/dist/core/src/types/fabricLayout.d.ts.map +0 -1
- package/dist/core/src/types/fabricMember.d.ts +0 -148
- package/dist/core/src/types/fabricMember.d.ts.map +0 -1
- package/dist/core/src/types/fabricRoomSession.d.ts +0 -631
- package/dist/core/src/types/fabricRoomSession.d.ts.map +0 -1
- package/dist/core/src/types/index.d.ts +0 -276
- package/dist/core/src/types/index.d.ts.map +0 -1
- package/dist/core/src/types/messaging.d.ts +0 -90
- package/dist/core/src/types/messaging.d.ts.map +0 -1
- package/dist/core/src/types/pubSub.d.ts +0 -123
- package/dist/core/src/types/pubSub.d.ts.map +0 -1
- package/dist/core/src/types/task.d.ts +0 -36
- package/dist/core/src/types/task.d.ts.map +0 -1
- package/dist/core/src/types/utils.d.ts +0 -71
- package/dist/core/src/types/utils.d.ts.map +0 -1
- package/dist/core/src/types/video.d.ts +0 -62
- package/dist/core/src/types/video.d.ts.map +0 -1
- package/dist/core/src/types/videoLayout.d.ts +0 -75
- package/dist/core/src/types/videoLayout.d.ts.map +0 -1
- package/dist/core/src/types/videoMember.d.ts +0 -384
- package/dist/core/src/types/videoMember.d.ts.map +0 -1
- package/dist/core/src/types/videoPlayback.d.ts +0 -123
- package/dist/core/src/types/videoPlayback.d.ts.map +0 -1
- package/dist/core/src/types/videoRecording.d.ts +0 -114
- package/dist/core/src/types/videoRecording.d.ts.map +0 -1
- package/dist/core/src/types/videoRoomDevice.d.ts +0 -23
- package/dist/core/src/types/videoRoomDevice.d.ts.map +0 -1
- package/dist/core/src/types/videoRoomSession.d.ts +0 -921
- package/dist/core/src/types/videoRoomSession.d.ts.map +0 -1
- package/dist/core/src/types/videoStream.d.ts +0 -104
- package/dist/core/src/types/videoStream.d.ts.map +0 -1
- package/dist/core/src/types/voice.d.ts +0 -15
- package/dist/core/src/types/voice.d.ts.map +0 -1
- package/dist/core/src/types/voiceCall.d.ts +0 -253
- package/dist/core/src/types/voiceCall.d.ts.map +0 -1
- package/dist/core/src/types/voiceCollect.d.ts +0 -166
- package/dist/core/src/types/voiceCollect.d.ts.map +0 -1
- package/dist/core/src/types/voiceConnect.d.ts +0 -77
- package/dist/core/src/types/voiceConnect.d.ts.map +0 -1
- package/dist/core/src/types/voiceDetect.d.ts +0 -127
- package/dist/core/src/types/voiceDetect.d.ts.map +0 -1
- package/dist/core/src/types/voicePlayback.d.ts +0 -141
- package/dist/core/src/types/voicePlayback.d.ts.map +0 -1
- package/dist/core/src/types/voicePrompt.d.ts +0 -105
- package/dist/core/src/types/voicePrompt.d.ts.map +0 -1
- package/dist/core/src/types/voiceRecording.d.ts +0 -107
- package/dist/core/src/types/voiceRecording.d.ts.map +0 -1
- package/dist/core/src/types/voiceSendDigits.d.ts +0 -21
- package/dist/core/src/types/voiceSendDigits.d.ts.map +0 -1
- package/dist/core/src/types/voiceTap.d.ts +0 -116
- package/dist/core/src/types/voiceTap.d.ts.map +0 -1
- package/dist/core/src/utils/EventEmitter.d.ts +0 -9
- package/dist/core/src/utils/EventEmitter.d.ts.map +0 -1
- package/dist/core/src/utils/EventEmitter.test.d.ts +0 -2
- package/dist/core/src/utils/EventEmitter.test.d.ts.map +0 -1
- package/dist/core/src/utils/SWCloseEvent.d.ts +0 -18
- package/dist/core/src/utils/SWCloseEvent.d.ts.map +0 -1
- package/dist/core/src/utils/asyncRetry.d.ts +0 -18
- package/dist/core/src/utils/asyncRetry.d.ts.map +0 -1
- package/dist/core/src/utils/asyncRetry.test.d.ts +0 -2
- package/dist/core/src/utils/asyncRetry.test.d.ts.map +0 -1
- package/dist/core/src/utils/common.d.ts +0 -9
- package/dist/core/src/utils/common.d.ts.map +0 -1
- package/dist/core/src/utils/constants.d.ts +0 -44
- package/dist/core/src/utils/constants.d.ts.map +0 -1
- package/dist/core/src/utils/debounce.d.ts +0 -8
- package/dist/core/src/utils/debounce.d.ts.map +0 -1
- package/dist/core/src/utils/eventUtils.d.ts +0 -2
- package/dist/core/src/utils/eventUtils.d.ts.map +0 -1
- package/dist/core/src/utils/extendComponent.d.ts +0 -4
- package/dist/core/src/utils/extendComponent.d.ts.map +0 -1
- package/dist/core/src/utils/extendComponent.test.d.ts +0 -2
- package/dist/core/src/utils/extendComponent.test.d.ts.map +0 -1
- package/dist/core/src/utils/index.d.ts +0 -47
- package/dist/core/src/utils/index.d.ts.map +0 -1
- package/dist/core/src/utils/index.test.d.ts +0 -2
- package/dist/core/src/utils/index.test.d.ts.map +0 -1
- package/dist/core/src/utils/interfaces.d.ts +0 -296
- package/dist/core/src/utils/interfaces.d.ts.map +0 -1
- package/dist/core/src/utils/logger.d.ts +0 -6
- package/dist/core/src/utils/logger.d.ts.map +0 -1
- package/dist/core/src/utils/logger.test.d.ts +0 -2
- package/dist/core/src/utils/logger.test.d.ts.map +0 -1
- package/dist/core/src/utils/parseRPCResponse.d.ts +0 -10
- package/dist/core/src/utils/parseRPCResponse.d.ts.map +0 -1
- package/dist/core/src/utils/parseRPCResponse.test.d.ts +0 -2
- package/dist/core/src/utils/parseRPCResponse.test.d.ts.map +0 -1
- package/dist/core/src/utils/storage/index.d.ts +0 -11
- package/dist/core/src/utils/storage/index.d.ts.map +0 -1
- package/dist/core/src/utils/storage/index.native.d.ts +0 -11
- package/dist/core/src/utils/storage/index.native.d.ts.map +0 -1
- package/dist/core/src/utils/toExternalJSON.d.ts +0 -34
- package/dist/core/src/utils/toExternalJSON.d.ts.map +0 -1
- package/dist/core/src/utils/toExternalJSON.test.d.ts +0 -2
- package/dist/core/src/utils/toExternalJSON.test.d.ts.map +0 -1
- package/dist/core/src/utils/toInternalAction.d.ts +0 -7
- package/dist/core/src/utils/toInternalAction.d.ts.map +0 -1
- package/dist/core/src/utils/toInternalAction.test.d.ts +0 -2
- package/dist/core/src/utils/toInternalAction.test.d.ts.map +0 -1
- package/dist/core/src/utils/toInternalEventName.d.ts +0 -8
- package/dist/core/src/utils/toInternalEventName.d.ts.map +0 -1
- package/dist/core/src/utils/toInternalEventName.test.d.ts +0 -2
- package/dist/core/src/utils/toInternalEventName.test.d.ts.map +0 -1
- package/dist/core/src/utils/toSnakeCaseKeys.d.ts +0 -7
- package/dist/core/src/utils/toSnakeCaseKeys.d.ts.map +0 -1
- package/dist/core/src/utils/toSnakeCaseKeys.test.d.ts +0 -2
- package/dist/core/src/utils/toSnakeCaseKeys.test.d.ts.map +0 -1
- package/dist/core/src/workers/executeActionWorker.d.ts +0 -7
- package/dist/core/src/workers/executeActionWorker.d.ts.map +0 -1
- package/dist/core/src/workers/index.d.ts +0 -2
- package/dist/core/src/workers/index.d.ts.map +0 -1
- package/dist/index.esm.js +0 -4673
- package/dist/index.esm.js.map +0 -7
- package/dist/index.js +0 -4655
- package/dist/index.js.map +0 -7
- package/dist/index.umd.js +0 -31
- package/dist/index.umd.js.map +0 -1
- package/dist/js/src/BaseRoomSession.d.ts +0 -52
- package/dist/js/src/BaseRoomSession.d.ts.map +0 -1
- package/dist/js/src/Client.d.ts +0 -38
- package/dist/js/src/Client.d.ts.map +0 -1
- package/dist/js/src/JWTSession.d.ts +0 -31
- package/dist/js/src/JWTSession.d.ts.map +0 -1
- package/dist/js/src/RoomSessionDevice.d.ts +0 -30
- package/dist/js/src/RoomSessionDevice.d.ts.map +0 -1
- package/dist/js/src/RoomSessionScreenShare.d.ts +0 -26
- package/dist/js/src/RoomSessionScreenShare.d.ts.map +0 -1
- package/dist/js/src/VideoOverlays.d.ts +0 -42
- package/dist/js/src/VideoOverlays.d.ts.map +0 -1
- package/dist/js/src/buildVideoElement.d.ts +0 -18
- package/dist/js/src/buildVideoElement.d.ts.map +0 -1
- package/dist/js/src/cantina/VideoManager.d.ts +0 -16
- package/dist/js/src/cantina/VideoManager.d.ts.map +0 -1
- package/dist/js/src/cantina/index.d.ts +0 -2
- package/dist/js/src/cantina/index.d.ts.map +0 -1
- package/dist/js/src/cantina/workers/index.d.ts +0 -2
- package/dist/js/src/cantina/workers/index.d.ts.map +0 -1
- package/dist/js/src/cantina/workers/videoManagerRoomWorker.d.ts +0 -4
- package/dist/js/src/cantina/workers/videoManagerRoomWorker.d.ts.map +0 -1
- package/dist/js/src/cantina/workers/videoManagerRoomsWorker.d.ts +0 -4
- package/dist/js/src/cantina/workers/videoManagerRoomsWorker.d.ts.map +0 -1
- package/dist/js/src/cantina/workers/videoManagerWorker.d.ts +0 -7
- package/dist/js/src/cantina/workers/videoManagerWorker.d.ts.map +0 -1
- package/dist/js/src/chat/Client.d.ts +0 -46
- package/dist/js/src/chat/Client.d.ts.map +0 -1
- package/dist/js/src/chat/index.d.ts +0 -5
- package/dist/js/src/chat/index.d.ts.map +0 -1
- package/dist/js/src/createClient.d.ts +0 -26
- package/dist/js/src/createClient.d.ts.map +0 -1
- package/dist/js/src/createRoomObject.d.ts +0 -38
- package/dist/js/src/createRoomObject.d.ts.map +0 -1
- package/dist/js/src/fabric/FabricRoomSession.d.ts +0 -80
- package/dist/js/src/fabric/FabricRoomSession.d.ts.map +0 -1
- package/dist/js/src/fabric/FabricRoomSessionMember.d.ts +0 -46
- package/dist/js/src/fabric/FabricRoomSessionMember.d.ts.map +0 -1
- package/dist/js/src/fabric/HTTPClient.d.ts +0 -16
- package/dist/js/src/fabric/HTTPClient.d.ts.map +0 -1
- package/dist/js/src/fabric/IncomingCallManager.d.ts +0 -19
- package/dist/js/src/fabric/IncomingCallManager.d.ts.map +0 -1
- package/dist/js/src/fabric/SATSession.d.ts +0 -25
- package/dist/js/src/fabric/SATSession.d.ts.map +0 -1
- package/dist/js/src/fabric/SignalWire.d.ts +0 -3
- package/dist/js/src/fabric/SignalWire.d.ts.map +0 -1
- package/dist/js/src/fabric/WSClient.d.ts +0 -33
- package/dist/js/src/fabric/WSClient.d.ts.map +0 -1
- package/dist/js/src/fabric/createHttpClient.d.ts +0 -22
- package/dist/js/src/fabric/createHttpClient.d.ts.map +0 -1
- package/dist/js/src/fabric/createWSClient.d.ts +0 -38
- package/dist/js/src/fabric/createWSClient.d.ts.map +0 -1
- package/dist/js/src/fabric/index.d.ts +0 -15
- package/dist/js/src/fabric/index.d.ts.map +0 -1
- package/dist/js/src/fabric/interfaces/address.d.ts +0 -37
- package/dist/js/src/fabric/interfaces/address.d.ts.map +0 -1
- package/dist/js/src/fabric/interfaces/capabilities.d.ts +0 -29
- package/dist/js/src/fabric/interfaces/capabilities.d.ts.map +0 -1
- package/dist/js/src/fabric/interfaces/conversation.d.ts +0 -105
- package/dist/js/src/fabric/interfaces/conversation.d.ts.map +0 -1
- package/dist/js/src/fabric/interfaces/device.d.ts +0 -18
- package/dist/js/src/fabric/interfaces/device.d.ts.map +0 -1
- package/dist/js/src/fabric/interfaces/httpClient.d.ts +0 -41
- package/dist/js/src/fabric/interfaces/httpClient.d.ts.map +0 -1
- package/dist/js/src/fabric/interfaces/incomingCallManager.d.ts +0 -30
- package/dist/js/src/fabric/interfaces/incomingCallManager.d.ts.map +0 -1
- package/dist/js/src/fabric/interfaces/index.d.ts +0 -71
- package/dist/js/src/fabric/interfaces/index.d.ts.map +0 -1
- package/dist/js/src/fabric/interfaces/wsClient.d.ts +0 -132
- package/dist/js/src/fabric/interfaces/wsClient.d.ts.map +0 -1
- package/dist/js/src/fabric/utils/capabilitiesHelpers.d.ts +0 -28
- package/dist/js/src/fabric/utils/capabilitiesHelpers.d.ts.map +0 -1
- package/dist/js/src/fabric/utils/constants.d.ts +0 -5
- package/dist/js/src/fabric/utils/constants.d.ts.map +0 -1
- package/dist/js/src/fabric/utils/eventMappers.d.ts +0 -151
- package/dist/js/src/fabric/utils/eventMappers.d.ts.map +0 -1
- package/dist/js/src/fabric/utils/typeGuard.d.ts +0 -6
- package/dist/js/src/fabric/utils/typeGuard.d.ts.map +0 -1
- package/dist/js/src/fabric/utils/validationProxy.d.ts +0 -13
- package/dist/js/src/fabric/utils/validationProxy.d.ts.map +0 -1
- package/dist/js/src/fabric/utils/validators.d.ts +0 -20
- package/dist/js/src/fabric/utils/validators.d.ts.map +0 -1
- package/dist/js/src/fabric/workers/callJoinWorker.d.ts +0 -4
- package/dist/js/src/fabric/workers/callJoinWorker.d.ts.map +0 -1
- package/dist/js/src/fabric/workers/callLeftWorker.d.ts +0 -4
- package/dist/js/src/fabric/workers/callLeftWorker.d.ts.map +0 -1
- package/dist/js/src/fabric/workers/callSegmentWorker.d.ts +0 -4
- package/dist/js/src/fabric/workers/callSegmentWorker.d.ts.map +0 -1
- package/dist/js/src/fabric/workers/fabricMemberWorker.d.ts +0 -4
- package/dist/js/src/fabric/workers/fabricMemberWorker.d.ts.map +0 -1
- package/dist/js/src/fabric/workers/fabricWorker.d.ts +0 -7
- package/dist/js/src/fabric/workers/fabricWorker.d.ts.map +0 -1
- package/dist/js/src/fabric/workers/index.d.ts +0 -3
- package/dist/js/src/fabric/workers/index.d.ts.map +0 -1
- package/dist/js/src/fabric/workers/wsClientWorker.d.ts +0 -4
- package/dist/js/src/fabric/workers/wsClientWorker.d.ts.map +0 -1
- package/dist/js/src/features/actions.d.ts +0 -2
- package/dist/js/src/features/actions.d.ts.map +0 -1
- package/dist/js/src/features/mediaElements/mediaElementsSagas.d.ts +0 -7
- package/dist/js/src/features/mediaElements/mediaElementsSagas.d.ts.map +0 -1
- package/dist/js/src/index.d.ts +0 -87
- package/dist/js/src/index.d.ts.map +0 -1
- package/dist/js/src/joinRoom.d.ts +0 -24
- package/dist/js/src/joinRoom.d.ts.map +0 -1
- package/dist/js/src/pubSub/Client.d.ts +0 -46
- package/dist/js/src/pubSub/Client.d.ts.map +0 -1
- package/dist/js/src/pubSub/index.d.ts +0 -6
- package/dist/js/src/pubSub/index.d.ts.map +0 -1
- package/dist/js/src/setupTests.d.ts +0 -2
- package/dist/js/src/setupTests.d.ts.map +0 -1
- package/dist/js/src/testUtils.d.ts +0 -77
- package/dist/js/src/testUtils.d.ts.map +0 -1
- package/dist/js/src/utils/CloseEvent.d.ts +0 -7
- package/dist/js/src/utils/CloseEvent.d.ts.map +0 -1
- package/dist/js/src/utils/audioElement.d.ts +0 -6
- package/dist/js/src/utils/audioElement.d.ts.map +0 -1
- package/dist/js/src/utils/constants.d.ts +0 -2
- package/dist/js/src/utils/constants.d.ts.map +0 -1
- package/dist/js/src/utils/interfaces/base.d.ts +0 -55
- package/dist/js/src/utils/interfaces/base.d.ts.map +0 -1
- package/dist/js/src/utils/interfaces/fabric.d.ts +0 -71
- package/dist/js/src/utils/interfaces/fabric.d.ts.map +0 -1
- package/dist/js/src/utils/interfaces/index.d.ts +0 -4
- package/dist/js/src/utils/interfaces/index.d.ts.map +0 -1
- package/dist/js/src/utils/interfaces/video.d.ts +0 -307
- package/dist/js/src/utils/interfaces/video.d.ts.map +0 -1
- package/dist/js/src/utils/makeQueryParamsUrl.d.ts +0 -9
- package/dist/js/src/utils/makeQueryParamsUrl.d.ts.map +0 -1
- package/dist/js/src/utils/paginatedResult.d.ts +0 -12
- package/dist/js/src/utils/paginatedResult.d.ts.map +0 -1
- package/dist/js/src/utils/roomSession.d.ts +0 -26
- package/dist/js/src/utils/roomSession.d.ts.map +0 -1
- package/dist/js/src/utils/storage.d.ts +0 -10
- package/dist/js/src/utils/storage.d.ts.map +0 -1
- package/dist/js/src/utils/videoElement.d.ts +0 -35
- package/dist/js/src/utils/videoElement.d.ts.map +0 -1
- package/dist/js/src/video/RoomSession.d.ts +0 -38
- package/dist/js/src/video/RoomSession.d.ts.map +0 -1
- package/dist/js/src/video/VideoRoomSession.d.ts +0 -57
- package/dist/js/src/video/VideoRoomSession.d.ts.map +0 -1
- package/dist/js/src/video/index.d.ts +0 -16
- package/dist/js/src/video/index.d.ts.map +0 -1
- package/dist/js/src/video/workers/childMemberJoinedWorker.d.ts +0 -10
- package/dist/js/src/video/workers/childMemberJoinedWorker.d.ts.map +0 -1
- package/dist/js/src/video/workers/index.d.ts +0 -7
- package/dist/js/src/video/workers/index.d.ts.map +0 -1
- package/dist/js/src/video/workers/memberListUpdatedWorker.d.ts +0 -14
- package/dist/js/src/video/workers/memberListUpdatedWorker.d.ts.map +0 -1
- package/dist/js/src/video/workers/videoPlaybackWorker.d.ts +0 -4
- package/dist/js/src/video/workers/videoPlaybackWorker.d.ts.map +0 -1
- package/dist/js/src/video/workers/videoRecordWorker.d.ts +0 -4
- package/dist/js/src/video/workers/videoRecordWorker.d.ts.map +0 -1
- package/dist/js/src/video/workers/videoStreamWorker.d.ts +0 -4
- package/dist/js/src/video/workers/videoStreamWorker.d.ts.map +0 -1
- package/dist/js/src/video/workers/videoWorker.d.ts +0 -7
- package/dist/js/src/video/workers/videoWorker.d.ts.map +0 -1
- package/dist/js/src/webrtc.d.ts +0 -3
- package/dist/js/src/webrtc.d.ts.map +0 -1
- package/dist/js/tsconfig.build.tsbuildinfo +0 -1
- package/dist/webrtc/src/BaseConnection.d.ts +0 -232
- package/dist/webrtc/src/BaseConnection.d.ts.map +0 -1
- package/dist/webrtc/src/RTCPeer.d.ts +0 -134
- package/dist/webrtc/src/RTCPeer.d.ts.map +0 -1
- package/dist/webrtc/src/RTCPeer.test.d.ts +0 -2
- package/dist/webrtc/src/RTCPeer.test.d.ts.map +0 -1
- package/dist/webrtc/src/RTCPeerConnectionManager.d.ts +0 -63
- package/dist/webrtc/src/RTCPeerConnectionManager.d.ts.map +0 -1
- package/dist/webrtc/src/RTCPeerConnectionManager.test.d.ts +0 -2
- package/dist/webrtc/src/RTCPeerConnectionManager.test.d.ts.map +0 -1
- package/dist/webrtc/src/connectionPoolManager.d.ts +0 -14
- package/dist/webrtc/src/connectionPoolManager.d.ts.map +0 -1
- package/dist/webrtc/src/index.d.ts +0 -7
- package/dist/webrtc/src/index.d.ts.map +0 -1
- package/dist/webrtc/src/index.test.d.ts +0 -1
- package/dist/webrtc/src/index.test.d.ts.map +0 -1
- package/dist/webrtc/src/setupTests.d.ts +0 -2
- package/dist/webrtc/src/setupTests.d.ts.map +0 -1
- package/dist/webrtc/src/utils/constants.d.ts +0 -7
- package/dist/webrtc/src/utils/constants.d.ts.map +0 -1
- package/dist/webrtc/src/utils/deviceHelpers.d.ts +0 -319
- package/dist/webrtc/src/utils/deviceHelpers.d.ts.map +0 -1
- package/dist/webrtc/src/utils/deviceHelpers.test.d.ts +0 -2
- package/dist/webrtc/src/utils/deviceHelpers.test.d.ts.map +0 -1
- package/dist/webrtc/src/utils/enumerateDevices.d.ts +0 -25
- package/dist/webrtc/src/utils/enumerateDevices.d.ts.map +0 -1
- package/dist/webrtc/src/utils/getDisplayMedia.d.ts +0 -17
- package/dist/webrtc/src/utils/getDisplayMedia.d.ts.map +0 -1
- package/dist/webrtc/src/utils/getUserMedia.d.ts +0 -35
- package/dist/webrtc/src/utils/getUserMedia.d.ts.map +0 -1
- package/dist/webrtc/src/utils/helpers.d.ts +0 -18
- package/dist/webrtc/src/utils/helpers.d.ts.map +0 -1
- package/dist/webrtc/src/utils/helpers.test.d.ts +0 -2
- package/dist/webrtc/src/utils/helpers.test.d.ts.map +0 -1
- package/dist/webrtc/src/utils/index.d.ts +0 -8
- package/dist/webrtc/src/utils/index.d.ts.map +0 -1
- package/dist/webrtc/src/utils/interfaces.d.ts +0 -139
- package/dist/webrtc/src/utils/interfaces.d.ts.map +0 -1
- package/dist/webrtc/src/utils/mockTracks.d.ts +0 -26
- package/dist/webrtc/src/utils/mockTracks.d.ts.map +0 -1
- package/dist/webrtc/src/utils/permissions.d.ts +0 -48
- package/dist/webrtc/src/utils/permissions.d.ts.map +0 -1
- package/dist/webrtc/src/utils/primitives.d.ts +0 -54
- package/dist/webrtc/src/utils/primitives.d.ts.map +0 -1
- package/dist/webrtc/src/utils/primitives.native.d.ts +0 -36
- package/dist/webrtc/src/utils/primitives.native.d.ts.map +0 -1
- package/dist/webrtc/src/utils/requestPermissions.d.ts +0 -27
- package/dist/webrtc/src/utils/requestPermissions.d.ts.map +0 -1
- package/dist/webrtc/src/utils/sdpHelpers.d.ts +0 -61
- package/dist/webrtc/src/utils/sdpHelpers.d.ts.map +0 -1
- package/dist/webrtc/src/utils/sdpHelpers.test.d.ts +0 -2
- package/dist/webrtc/src/utils/sdpHelpers.test.d.ts.map +0 -1
- package/dist/webrtc/src/utils/watchRTCPeerMediaPackets.d.ts +0 -7
- package/dist/webrtc/src/utils/watchRTCPeerMediaPackets.d.ts.map +0 -1
- package/dist/webrtc/src/utils/webrtcHelpers.test.d.ts +0 -2
- package/dist/webrtc/src/utils/webrtcHelpers.test.d.ts.map +0 -1
- package/dist/webrtc/src/webrtcMocks.d.ts +0 -110
- package/dist/webrtc/src/webrtcMocks.d.ts.map +0 -1
- package/dist/webrtc/src/workers/connectionPoolWorker.d.ts +0 -7
- package/dist/webrtc/src/workers/connectionPoolWorker.d.ts.map +0 -1
- package/dist/webrtc/src/workers/index.d.ts +0 -7
- package/dist/webrtc/src/workers/index.d.ts.map +0 -1
- package/dist/webrtc/src/workers/promoteDemoteWorker.d.ts +0 -10
- package/dist/webrtc/src/workers/promoteDemoteWorker.d.ts.map +0 -1
- package/dist/webrtc/src/workers/roomSubscribedWorker.d.ts +0 -10
- package/dist/webrtc/src/workers/roomSubscribedWorker.d.ts.map +0 -1
- package/dist/webrtc/src/workers/sessionAuthWorker.d.ts +0 -10
- package/dist/webrtc/src/workers/sessionAuthWorker.d.ts.map +0 -1
- package/dist/webrtc/src/workers/sessionConnectionPoolWorker.d.ts +0 -7
- package/dist/webrtc/src/workers/sessionConnectionPoolWorker.d.ts.map +0 -1
- package/dist/webrtc/src/workers/vertoEventWorker.d.ts +0 -10
- package/dist/webrtc/src/workers/vertoEventWorker.d.ts.map +0 -1
- package/dist/webrtc/src/workers/vertoEventWorker.test.d.ts +0 -2
- package/dist/webrtc/src/workers/vertoEventWorker.test.d.ts.map +0 -1
- package/src/BaseRoomSession.ts +0 -302
- package/src/Client.ts +0 -193
- package/src/JWTSession.test.ts +0 -60
- package/src/JWTSession.ts +0 -146
- package/src/RoomSessionDevice.test.ts +0 -25
- package/src/RoomSessionDevice.ts +0 -62
- package/src/RoomSessionScreenShare.test.ts +0 -25
- package/src/RoomSessionScreenShare.ts +0 -58
- package/src/VideoOverlays.ts +0 -171
- package/src/buildVideoElement.test.ts +0 -933
- package/src/buildVideoElement.ts +0 -290
- package/src/cantina/VideoManager.test.ts +0 -95
- package/src/cantina/VideoManager.ts +0 -72
- package/src/cantina/index.ts +0 -1
- package/src/cantina/workers/index.ts +0 -1
- package/src/cantina/workers/videoManagerRoomWorker.ts +0 -28
- package/src/cantina/workers/videoManagerRoomsWorker.ts +0 -34
- package/src/cantina/workers/videoManagerWorker.ts +0 -64
- package/src/chat/Client.test.ts +0 -688
- package/src/chat/Client.ts +0 -94
- package/src/chat/index.ts +0 -31
- package/src/createClient.test.ts +0 -124
- package/src/createClient.ts +0 -48
- package/src/createRoomObject.ts +0 -149
- package/src/fabric/FabricRoomSession.test.ts +0 -695
- package/src/fabric/FabricRoomSession.ts +0 -446
- package/src/fabric/FabricRoomSessionMember.ts +0 -188
- package/src/fabric/HTTPClient.test.ts +0 -28
- package/src/fabric/HTTPClient.ts +0 -154
- package/src/fabric/IncomingCallManager.test.ts +0 -295
- package/src/fabric/IncomingCallManager.ts +0 -92
- package/src/fabric/SATSession.test.ts +0 -65
- package/src/fabric/SATSession.ts +0 -102
- package/src/fabric/SignalWire.test.ts +0 -115
- package/src/fabric/SignalWire.ts +0 -101
- package/src/fabric/WSClient.ts +0 -430
- package/src/fabric/createHttpClient.ts +0 -188
- package/src/fabric/createWSClient.ts +0 -12
- package/src/fabric/index.ts +0 -30
- package/src/fabric/interfaces/address.ts +0 -46
- package/src/fabric/interfaces/capabilities.ts +0 -30
- package/src/fabric/interfaces/conversation.ts +0 -145
- package/src/fabric/interfaces/device.ts +0 -21
- package/src/fabric/interfaces/httpClient.ts +0 -50
- package/src/fabric/interfaces/incomingCallManager.ts +0 -36
- package/src/fabric/interfaces/index.ts +0 -118
- package/src/fabric/interfaces/wsClient.ts +0 -154
- package/src/fabric/utils/capabilitiesHelpers.test.ts +0 -201
- package/src/fabric/utils/capabilitiesHelpers.ts +0 -208
- package/src/fabric/utils/constants.ts +0 -4
- package/src/fabric/utils/eventMappers.ts +0 -184
- package/src/fabric/utils/typeGuard.ts +0 -31
- package/src/fabric/utils/validationProxy.ts +0 -83
- package/src/fabric/utils/validators.ts +0 -242
- package/src/fabric/workers/callJoinWorker.ts +0 -88
- package/src/fabric/workers/callLeftWorker.ts +0 -32
- package/src/fabric/workers/callSegmentWorker.ts +0 -154
- package/src/fabric/workers/fabricMemberWorker.ts +0 -62
- package/src/fabric/workers/fabricWorker.ts +0 -100
- package/src/fabric/workers/index.ts +0 -2
- package/src/fabric/workers/wsClientWorker.ts +0 -60
- package/src/features/actions.ts +0 -5
- package/src/features/mediaElements/mediaElementsSagas.ts +0 -129
- package/src/index.test.ts +0 -5
- package/src/index.ts +0 -153
- package/src/joinRoom.ts +0 -29
- package/src/pubSub/Client.test.ts +0 -245
- package/src/pubSub/Client.ts +0 -90
- package/src/pubSub/index.ts +0 -10
- package/src/setupTests.ts +0 -122
- package/src/testUtils.ts +0 -259
- package/src/utils/CloseEvent.ts +0 -6
- package/src/utils/audioElement.ts +0 -21
- package/src/utils/constants.ts +0 -7
- package/src/utils/interfaces/base.ts +0 -55
- package/src/utils/interfaces/fabric.ts +0 -156
- package/src/utils/interfaces/index.ts +0 -3
- package/src/utils/interfaces/video.ts +0 -440
- package/src/utils/makeQueryParamsUrl.ts +0 -14
- package/src/utils/paginatedResult.ts +0 -35
- package/src/utils/roomSession.test.ts +0 -140
- package/src/utils/roomSession.ts +0 -85
- package/src/utils/storage.test.ts +0 -24
- package/src/utils/storage.ts +0 -37
- package/src/utils/videoElement.ts +0 -342
- package/src/video/RoomSession.test.ts +0 -31
- package/src/video/RoomSession.ts +0 -290
- package/src/video/VideoRoomSession.test.ts +0 -672
- package/src/video/VideoRoomSession.ts +0 -304
- package/src/video/index.ts +0 -43
- package/src/video/workers/childMemberJoinedWorker.test.ts +0 -99
- package/src/video/workers/childMemberJoinedWorker.ts +0 -75
- package/src/video/workers/index.ts +0 -6
- package/src/video/workers/memberListUpdatedWorker.ts +0 -217
- package/src/video/workers/videoPlaybackWorker.ts +0 -54
- package/src/video/workers/videoRecordWorker.ts +0 -54
- package/src/video/workers/videoStreamWorker.ts +0 -48
- package/src/video/workers/videoWorker.ts +0 -113
- package/src/webrtc.ts +0 -33
|
@@ -1,921 +0,0 @@
|
|
|
1
|
-
import type { BaseConnectionContract, SwEvent } from '.';
|
|
2
|
-
import type { CamelToSnakeCase, EntityUpdated, ToInternalVideoEvent, OnlyFunctionProperties, OnlyStateProperties } from './utils';
|
|
3
|
-
import type { MemberCommandParams, MemberCommandWithValueParams, MemberCommandWithVolumeParams } from './common';
|
|
4
|
-
import type { InternalVideoMemberEntity } from './videoMember';
|
|
5
|
-
import * as Rooms from '../rooms';
|
|
6
|
-
import { MapToPubSubShape } from '../redux/interfaces';
|
|
7
|
-
/**
|
|
8
|
-
* Public event types
|
|
9
|
-
*/
|
|
10
|
-
export type RoomStarted = 'room.started';
|
|
11
|
-
export type RoomSubscribed = 'room.subscribed';
|
|
12
|
-
export type RoomUpdated = 'room.updated';
|
|
13
|
-
export type RoomEnded = 'room.ended';
|
|
14
|
-
export type InternalRoomAudienceCount = 'room.audience_count';
|
|
15
|
-
export type RoomJoined = 'room.joined';
|
|
16
|
-
export type RoomLeft = 'room.left';
|
|
17
|
-
export type RoomAudienceCount = 'room.audienceCount';
|
|
18
|
-
/**
|
|
19
|
-
* Public listener types
|
|
20
|
-
*/
|
|
21
|
-
export type OnRoomStarted = 'onRoomStarted';
|
|
22
|
-
export type OnRoomSubscribed = 'onRoomSubscribed';
|
|
23
|
-
export type OnRoomUpdated = 'onRoomUpdated';
|
|
24
|
-
export type OnRoomEnded = 'onRoomEnded';
|
|
25
|
-
export type OnRoomAudienceCount = 'onRoomAudienceCount';
|
|
26
|
-
export type OnRoomJoined = 'onRoomJoined';
|
|
27
|
-
export type OnRoomLeft = 'onRoomLeft';
|
|
28
|
-
export type RoomLeftEventParams = {
|
|
29
|
-
reason?: BaseConnectionContract<any>['leaveReason'];
|
|
30
|
-
};
|
|
31
|
-
export type VideoRoomAudienceCountEventNames = ToInternalVideoEvent<InternalRoomAudienceCount | RoomAudienceCount>;
|
|
32
|
-
/**
|
|
33
|
-
* List of public event names
|
|
34
|
-
*/
|
|
35
|
-
export type VideoRoomSessionEventNames = RoomStarted | RoomSubscribed | RoomUpdated | RoomEnded | RoomJoined | RoomLeft;
|
|
36
|
-
/**
|
|
37
|
-
* List of public listener names
|
|
38
|
-
*/
|
|
39
|
-
export type VideoRoomSessionListenerNames = OnRoomStarted | OnRoomSubscribed | OnRoomUpdated | OnRoomEnded | OnRoomJoined | OnRoomLeft;
|
|
40
|
-
/**
|
|
41
|
-
* List of internal events
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
|
-
export type InternalVideoRoomSessionEventNames = ToInternalVideoEvent<VideoRoomSessionEventNames>;
|
|
45
|
-
/**
|
|
46
|
-
* Public Contract for a VideoRoomSession
|
|
47
|
-
* List of all the properties we receive from the server for the room session
|
|
48
|
-
* Plus the video room methods
|
|
49
|
-
* We do not use this contract anywhere directly.
|
|
50
|
-
*/
|
|
51
|
-
export interface VideoRoomSessionContract {
|
|
52
|
-
/** Unique id for this room session */
|
|
53
|
-
id: string;
|
|
54
|
-
/** Display name for this room. Defaults to the value of `name` */
|
|
55
|
-
displayName: string;
|
|
56
|
-
/** Id of the room associated to this room session */
|
|
57
|
-
roomId: string;
|
|
58
|
-
/** Id of the room associated to this room session */
|
|
59
|
-
roomSessionId: string;
|
|
60
|
-
/** @internal */
|
|
61
|
-
eventChannel: string;
|
|
62
|
-
/** Name of this room */
|
|
63
|
-
name: string;
|
|
64
|
-
/** Whether recording is active */
|
|
65
|
-
recording: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* List of active recordings in the room
|
|
68
|
-
* @deprecated Use {@link getRecordings}
|
|
69
|
-
**/
|
|
70
|
-
recordings?: any[];
|
|
71
|
-
/**
|
|
72
|
-
* List of active playbacks in the room
|
|
73
|
-
**/
|
|
74
|
-
playbacks?: any[];
|
|
75
|
-
/** Whether muted videos are shown in the room layout. See {@link setHideVideoMuted} */
|
|
76
|
-
hideVideoMuted: boolean;
|
|
77
|
-
/** URL to the room preview. */
|
|
78
|
-
previewUrl?: string;
|
|
79
|
-
/** Current layout name used in the room. */
|
|
80
|
-
layoutName: string;
|
|
81
|
-
/** Whether the room is locked */
|
|
82
|
-
locked: boolean;
|
|
83
|
-
/** Metadata associated to this room session. */
|
|
84
|
-
meta?: Record<string, unknown>;
|
|
85
|
-
/**
|
|
86
|
-
* List of members that are part of this room session
|
|
87
|
-
* @deprecated Use {@link getMembers}
|
|
88
|
-
**/
|
|
89
|
-
members?: InternalVideoMemberEntity[];
|
|
90
|
-
/** Fields that have changed in this room session */
|
|
91
|
-
updated?: Array<Exclude<keyof VideoRoomSessionContract, 'updated'>>;
|
|
92
|
-
/** Whether the room is streaming */
|
|
93
|
-
streaming: boolean;
|
|
94
|
-
/** List of active streams in the room session. */
|
|
95
|
-
streams?: Rooms.RoomSessionStream[];
|
|
96
|
-
/** Prioritize the hand raise for the layout */
|
|
97
|
-
prioritizeHandraise: boolean;
|
|
98
|
-
/**
|
|
99
|
-
* Puts the microphone on mute. The other participants will not hear audio
|
|
100
|
-
* from the muted participant anymore. You can use this method to mute
|
|
101
|
-
* either yourself or another participant in the room.
|
|
102
|
-
* @param params
|
|
103
|
-
* @param params.memberId id of the member to mute. If omitted, mutes the
|
|
104
|
-
* default device in the local client.
|
|
105
|
-
*
|
|
106
|
-
* @permissions
|
|
107
|
-
* - `room.self.audio_mute`: to mute a local device
|
|
108
|
-
* - `room.member.audio_mute`: to mute a remote member
|
|
109
|
-
*
|
|
110
|
-
* You need to specify the permissions when [creating the Video Room
|
|
111
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
112
|
-
* on the server side.
|
|
113
|
-
*
|
|
114
|
-
* @example Muting your own microphone:
|
|
115
|
-
* ```typescript
|
|
116
|
-
* await room.audioMute()
|
|
117
|
-
* ```
|
|
118
|
-
*
|
|
119
|
-
* @example Muting the microphone of another participant:
|
|
120
|
-
* ```typescript
|
|
121
|
-
* const id = 'de550c0c-3fac-4efd-b06f-b5b8614b8966' // you can get this from getMembers()
|
|
122
|
-
* await room.audioMute({memberId: id})
|
|
123
|
-
* ```
|
|
124
|
-
*/
|
|
125
|
-
audioMute(params?: MemberCommandParams): Rooms.AudioMuteMember;
|
|
126
|
-
/**
|
|
127
|
-
* Unmutes the microphone if it had been previously muted. You can use this
|
|
128
|
-
* method to unmute either yourself or another participant in the room.
|
|
129
|
-
* @param params
|
|
130
|
-
* @param params.memberId id of the member to unmute. If omitted, unmutes
|
|
131
|
-
* the default device in the local client.
|
|
132
|
-
*
|
|
133
|
-
* @permissions
|
|
134
|
-
* - `room.self.audio_unmute`: to unmute a local device
|
|
135
|
-
* - `room.member.audio_unmute`: to unmute a remote member
|
|
136
|
-
*
|
|
137
|
-
* You need to specify the permissions when [creating the Video Room
|
|
138
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
139
|
-
* on the server side.
|
|
140
|
-
*
|
|
141
|
-
* @example Unmuting your own microphone:
|
|
142
|
-
* ```typescript
|
|
143
|
-
* await room.audioUnmute()
|
|
144
|
-
* ```
|
|
145
|
-
*
|
|
146
|
-
* @example Unmuting the microphone of another participant:
|
|
147
|
-
* ```typescript
|
|
148
|
-
* const id = 'de550c0c-3fac-4efd-b06f-b5b8614b8966' // you can get this from getMembers()
|
|
149
|
-
* await room.audioUnmute({memberId: id})
|
|
150
|
-
* ```
|
|
151
|
-
*/
|
|
152
|
-
audioUnmute(params?: MemberCommandParams): Rooms.AudioUnmuteMember;
|
|
153
|
-
/**
|
|
154
|
-
* Puts the video on mute. Participants will see a mute image instead of the
|
|
155
|
-
* video stream. You can use this method to mute either yourself or another
|
|
156
|
-
* participant in the room.
|
|
157
|
-
* @param params
|
|
158
|
-
* @param params.memberId id of the member to mute. If omitted, mutes the
|
|
159
|
-
* default device in the local client.
|
|
160
|
-
*
|
|
161
|
-
* @permissions
|
|
162
|
-
* - `room.self.video_mute`: to unmute a local device
|
|
163
|
-
* - `room.member.video_mute`: to unmute a remote member
|
|
164
|
-
*
|
|
165
|
-
* You need to specify the permissions when [creating the Video Room
|
|
166
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
167
|
-
* on the server side.
|
|
168
|
-
*
|
|
169
|
-
* @example Muting your own video:
|
|
170
|
-
* ```typescript
|
|
171
|
-
* await room.videoMute()
|
|
172
|
-
* ```
|
|
173
|
-
*
|
|
174
|
-
* @example Muting the video of another participant:
|
|
175
|
-
* ```typescript
|
|
176
|
-
* const id = 'de550c0c-3fac-4efd-b06f-b5b8614b8966' // you can get this from getMembers()
|
|
177
|
-
* await room.videoMute({memberId: id})
|
|
178
|
-
* ```
|
|
179
|
-
*/
|
|
180
|
-
videoMute(params?: MemberCommandParams): Rooms.VideoMuteMember;
|
|
181
|
-
/**
|
|
182
|
-
* Unmutes the video if it had been previously muted. Participants will
|
|
183
|
-
* start seeing the video stream again. You can use this method to unmute
|
|
184
|
-
* either yourself or another participant in the room.
|
|
185
|
-
* @param params
|
|
186
|
-
* @param params.memberId id of the member to unmute. If omitted, unmutes
|
|
187
|
-
* the default device in the local client.
|
|
188
|
-
*
|
|
189
|
-
* @permissions
|
|
190
|
-
* - `room.self.video_mute`: to unmute a local device
|
|
191
|
-
* - `room.member.video_mute`: to unmute a remote member
|
|
192
|
-
*
|
|
193
|
-
* You need to specify the permissions when [creating the Video Room
|
|
194
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
195
|
-
* on the server side.
|
|
196
|
-
*
|
|
197
|
-
* @example Unmuting your own video:
|
|
198
|
-
* ```typescript
|
|
199
|
-
* await room.videoUnmute()
|
|
200
|
-
* ```
|
|
201
|
-
*
|
|
202
|
-
* @example Unmuting the video of another participant:
|
|
203
|
-
* ```typescript
|
|
204
|
-
* const id = 'de550c0c-3fac-4efd-b06f-b5b8614b8966' // you can get this from getMembers()
|
|
205
|
-
* await room.videoUnmute({memberId: id})
|
|
206
|
-
* ```
|
|
207
|
-
*/
|
|
208
|
-
videoUnmute(params?: MemberCommandParams): Rooms.VideoUnmuteMember;
|
|
209
|
-
/** @deprecated Use {@link setInputVolume} instead. */
|
|
210
|
-
setMicrophoneVolume(params: MemberCommandWithVolumeParams): Rooms.SetInputVolumeMember;
|
|
211
|
-
/**
|
|
212
|
-
* Sets the input volume level (e.g. for the microphone). You can use this
|
|
213
|
-
* method to set the input volume for either yourself or another participant
|
|
214
|
-
* in the room.
|
|
215
|
-
*
|
|
216
|
-
* @param params
|
|
217
|
-
* @param params.memberId id of the member for which to set input volume. If
|
|
218
|
-
* omitted, sets the volume of the default device in the local client.
|
|
219
|
-
* @param params.volume desired volume. Values range from -50 to 50, with a
|
|
220
|
-
* default of 0.
|
|
221
|
-
*
|
|
222
|
-
* @permissions
|
|
223
|
-
* - `room.self.set_input_volume`: to set the volume for a local device
|
|
224
|
-
* - `room.member.set_input_volume`: to set the volume for a remote member
|
|
225
|
-
*
|
|
226
|
-
* You need to specify the permissions when [creating the Video Room
|
|
227
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
228
|
-
* on the server side.
|
|
229
|
-
*
|
|
230
|
-
* @example Setting your own microphone volume:
|
|
231
|
-
* ```typescript
|
|
232
|
-
* await room.setInputVolume({volume: -10})
|
|
233
|
-
* ```
|
|
234
|
-
*
|
|
235
|
-
* @example Setting the microphone volume of another participant:
|
|
236
|
-
* ```typescript
|
|
237
|
-
* const id = 'de550c0c-3fac-4efd-b06f-b5b8614b8966' // you can get this from getMembers()
|
|
238
|
-
* await room.setInputVolume({memberId: id, volume: -10})
|
|
239
|
-
* ```
|
|
240
|
-
*/
|
|
241
|
-
setInputVolume(params: MemberCommandWithVolumeParams): Rooms.SetInputVolumeMember;
|
|
242
|
-
/**
|
|
243
|
-
* Sets the input level at which the participant is identified as currently
|
|
244
|
-
* speaking. You can use this method to set the input sensitivity for either
|
|
245
|
-
* yourself or another participant in the room.
|
|
246
|
-
* @param params
|
|
247
|
-
* @param params.memberId id of the member to affect. If omitted, affects
|
|
248
|
-
* the default device in the local client.
|
|
249
|
-
* @param params.value desired sensitivity. The default value is 30 and the
|
|
250
|
-
* scale goes from 0 (lowest sensitivity, essentially muted) to 100 (highest
|
|
251
|
-
* sensitivity).
|
|
252
|
-
*
|
|
253
|
-
* @permissions
|
|
254
|
-
* - `room.self.set_input_sensitivity`: to set the sensitivity for a local
|
|
255
|
-
* device
|
|
256
|
-
* - `room.member.set_input_sensitivity`: to set the sensitivity for a
|
|
257
|
-
* remote member
|
|
258
|
-
*
|
|
259
|
-
* You need to specify the permissions when [creating the Video Room
|
|
260
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
261
|
-
* on the server side.
|
|
262
|
-
*
|
|
263
|
-
* @example Setting your own input sensitivity:
|
|
264
|
-
* ```typescript
|
|
265
|
-
* await room.setInputSensitivity({value: 80})
|
|
266
|
-
* ```
|
|
267
|
-
*
|
|
268
|
-
* @example Setting the input sensitivity of another participant:
|
|
269
|
-
* ```typescript
|
|
270
|
-
* const id = 'de550c0c-3fac-4efd-b06f-b5b8614b8966' // you can get this from getMembers()
|
|
271
|
-
* await room.setInputSensitivity({memberId: id, value: 80})
|
|
272
|
-
* ```
|
|
273
|
-
*/
|
|
274
|
-
setInputSensitivity(params: MemberCommandWithValueParams): Rooms.SetInputSensitivityMember;
|
|
275
|
-
/**
|
|
276
|
-
* Returns a list of members currently in the room.
|
|
277
|
-
*
|
|
278
|
-
* @example
|
|
279
|
-
* ```typescript
|
|
280
|
-
* await room.getMembers()
|
|
281
|
-
* ```
|
|
282
|
-
*/
|
|
283
|
-
getMembers(): Rooms.GetMembers;
|
|
284
|
-
/**
|
|
285
|
-
* Mutes the incoming audio. The affected participant will not hear audio
|
|
286
|
-
* from the other participants anymore. You can use this method to make deaf
|
|
287
|
-
* either yourself or another participant in the room.
|
|
288
|
-
*
|
|
289
|
-
* Note that in addition to making a participant deaf, this will also
|
|
290
|
-
* automatically mute the microphone of the target participant (even if
|
|
291
|
-
* there is no `audio_mute` permission). If you want, you can then manually
|
|
292
|
-
* unmute it by calling {@link audioUnmute}.
|
|
293
|
-
* @param params
|
|
294
|
-
* @param params.memberId id of the member to affect. If omitted, affects
|
|
295
|
-
* the default device in the local client.
|
|
296
|
-
*
|
|
297
|
-
* @permissions
|
|
298
|
-
* - `room.self.deaf`: to make yourself deaf
|
|
299
|
-
* - `room.member.deaf`: to make deaf a remote member
|
|
300
|
-
*
|
|
301
|
-
* You need to specify the permissions when [creating the Video Room
|
|
302
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
303
|
-
* on the server side.
|
|
304
|
-
*
|
|
305
|
-
* @example Making yourself deaf:
|
|
306
|
-
* ```typescript
|
|
307
|
-
* await room.deaf()
|
|
308
|
-
* ```
|
|
309
|
-
*
|
|
310
|
-
* @example Making another participant deaf:
|
|
311
|
-
* ```typescript
|
|
312
|
-
* const id = 'de550c0c-3fac-4efd-b06f-b5b8614b8966' // you can get this from getMembers()
|
|
313
|
-
* await room.deaf({memberId: id})
|
|
314
|
-
* ```
|
|
315
|
-
*/
|
|
316
|
-
deaf(params?: MemberCommandParams): Rooms.DeafMember;
|
|
317
|
-
/**
|
|
318
|
-
* Unmutes the incoming audio. The affected participant will start hearing
|
|
319
|
-
* audio from the other participants again. You can use this method to
|
|
320
|
-
* undeaf either yourself or another participant in the room.
|
|
321
|
-
*
|
|
322
|
-
* Note that in addition to allowing a participants to hear the others, this
|
|
323
|
-
* will also automatically unmute the microphone of the target participant
|
|
324
|
-
* (even if there is no `audio_unmute` permission). If you want, you can then
|
|
325
|
-
* manually mute it by calling {@link audioMute}.
|
|
326
|
-
* @param params
|
|
327
|
-
* @param params.memberId id of the member to affect. If omitted, affects
|
|
328
|
-
* the default device in the local client.
|
|
329
|
-
*
|
|
330
|
-
* @permissions
|
|
331
|
-
* - `room.self.deaf`: to make yourself deaf
|
|
332
|
-
* - `room.member.deaf`: to make deaf a remote member
|
|
333
|
-
*
|
|
334
|
-
* You need to specify the permissions when [creating the Video Room
|
|
335
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
336
|
-
* on the server side.
|
|
337
|
-
*
|
|
338
|
-
* @example Undeaf yourself:
|
|
339
|
-
* ```typescript
|
|
340
|
-
* await room.undeaf()
|
|
341
|
-
* ```
|
|
342
|
-
*
|
|
343
|
-
* @example Undeaf another participant:
|
|
344
|
-
* ```typescript
|
|
345
|
-
* const id = 'de550c0c-3fac-4efd-b06f-b5b8614b8966' // you can get this from getMembers()
|
|
346
|
-
* await room.undeaf({memberId: id})
|
|
347
|
-
* ```
|
|
348
|
-
*/
|
|
349
|
-
undeaf(params?: MemberCommandParams): Rooms.UndeafMember;
|
|
350
|
-
/** @deprecated Use {@link setOutputVolume} instead. */
|
|
351
|
-
setSpeakerVolume(params: MemberCommandWithVolumeParams): Rooms.SetOutputVolumeMember;
|
|
352
|
-
/**
|
|
353
|
-
* Sets the output volume level (e.g., for the speaker). You can use this
|
|
354
|
-
* method to set the output volume for either yourself or another participant
|
|
355
|
-
* in the room.
|
|
356
|
-
* @param params
|
|
357
|
-
* @param params.memberId id of the member to affect. If omitted, affects the
|
|
358
|
-
* default device in the local client.
|
|
359
|
-
* @param params.volume desired volume. Values range from -50 to 50, with a
|
|
360
|
-
* default of 0.
|
|
361
|
-
*
|
|
362
|
-
* @permissions
|
|
363
|
-
* - `room.self.set_output_volume`: to set the speaker volume for yourself
|
|
364
|
-
* - `room.member.set_output_volume`: to set the speaker volume for a remote
|
|
365
|
-
* member
|
|
366
|
-
*
|
|
367
|
-
* You need to specify the permissions when [creating the Video Room
|
|
368
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
369
|
-
* on the server side.
|
|
370
|
-
*
|
|
371
|
-
* @example Setting your own output volume:
|
|
372
|
-
* ```typescript
|
|
373
|
-
* await room.setOutputVolume({volume: -10})
|
|
374
|
-
* ```
|
|
375
|
-
*
|
|
376
|
-
* @example Setting the output volume of another participant:
|
|
377
|
-
* ```typescript
|
|
378
|
-
* const id = 'de550c0c-3fac-4efd-b06f-b5b8614b8966' // you can get this from getMembers()
|
|
379
|
-
* await room.setOutputVolume({memberId: id, volume: -10})
|
|
380
|
-
* ```
|
|
381
|
-
*/
|
|
382
|
-
setOutputVolume(params: MemberCommandWithVolumeParams): Rooms.SetOutputVolumeMember;
|
|
383
|
-
/**
|
|
384
|
-
* Removes a specific participant from the room.
|
|
385
|
-
* @param params
|
|
386
|
-
* @param params.memberId id of the member to remove
|
|
387
|
-
*
|
|
388
|
-
* @permissions
|
|
389
|
-
* - `room.member.remove`: to remove a remote member
|
|
390
|
-
*
|
|
391
|
-
* You need to specify the permissions when [creating the Video Room
|
|
392
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
393
|
-
* on the server side.
|
|
394
|
-
*
|
|
395
|
-
* @example
|
|
396
|
-
* ```typescript
|
|
397
|
-
* const id = 'de550c0c-3fac-4efd-b06f-b5b8614b8966' // you can get this from getMembers()
|
|
398
|
-
* await room.removeMember({memberId: id})
|
|
399
|
-
* ```
|
|
400
|
-
*/
|
|
401
|
-
removeMember(params: Required<MemberCommandParams>): Rooms.RemoveMember;
|
|
402
|
-
/**
|
|
403
|
-
* Removes all the participants from the room.
|
|
404
|
-
*
|
|
405
|
-
* @permissions
|
|
406
|
-
* - `room.member.remove`: to remove a remote member
|
|
407
|
-
*
|
|
408
|
-
* You need to specify the permissions when [creating the Video Room
|
|
409
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
410
|
-
* on the server side.
|
|
411
|
-
*
|
|
412
|
-
* @example
|
|
413
|
-
* ```typescript
|
|
414
|
-
* await room.removeAllMembers()
|
|
415
|
-
* ```
|
|
416
|
-
*/
|
|
417
|
-
removeAllMembers(): Rooms.RemoveAllMembers;
|
|
418
|
-
/**
|
|
419
|
-
* Show or hide muted videos in the room layout. Members that have been muted
|
|
420
|
-
* via {@link videoMute} will display a mute image instead of the video, if
|
|
421
|
-
* this setting is enabled.
|
|
422
|
-
*
|
|
423
|
-
* @param value whether to show muted videos in the room layout.
|
|
424
|
-
*
|
|
425
|
-
* @permissions
|
|
426
|
-
* - `room.hide_video_muted`
|
|
427
|
-
* - `room.show_video_muted`
|
|
428
|
-
*
|
|
429
|
-
* You need to specify the permissions when [creating the Video Room
|
|
430
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
431
|
-
* on the server side.
|
|
432
|
-
*
|
|
433
|
-
* @example
|
|
434
|
-
* ```typescript
|
|
435
|
-
* await roomSession.setHideVideoMuted(false)
|
|
436
|
-
* ```
|
|
437
|
-
*/
|
|
438
|
-
setHideVideoMuted(value: boolean): Rooms.SetHideVideoMuted;
|
|
439
|
-
/**
|
|
440
|
-
* Returns a list of available layouts for the room. To set a room layout,
|
|
441
|
-
* use {@link setLayout}.
|
|
442
|
-
*
|
|
443
|
-
* @permissions
|
|
444
|
-
* - `room.list_available_layouts`
|
|
445
|
-
*
|
|
446
|
-
* You need to specify the permissions when [creating the Video Room
|
|
447
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
448
|
-
* on the server side.
|
|
449
|
-
*
|
|
450
|
-
* @example
|
|
451
|
-
* ```typescript
|
|
452
|
-
* await room.getLayouts()
|
|
453
|
-
* ```
|
|
454
|
-
*/
|
|
455
|
-
getLayouts(): Rooms.GetLayouts;
|
|
456
|
-
/**
|
|
457
|
-
* Sets a layout for the room. You can obtain a list of available layouts
|
|
458
|
-
* with {@link getLayouts}.
|
|
459
|
-
*
|
|
460
|
-
* @permissions
|
|
461
|
-
* - `room.set_layout`
|
|
462
|
-
* - `room.set_position` (if you need to assign positions)
|
|
463
|
-
*
|
|
464
|
-
* You need to specify the permissions when [creating the Video Room
|
|
465
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
466
|
-
* on the server side.
|
|
467
|
-
*
|
|
468
|
-
* @example Set the 6x6 layout:
|
|
469
|
-
* ```typescript
|
|
470
|
-
* await room.setLayout({name: "6x6"})
|
|
471
|
-
* ```
|
|
472
|
-
*/
|
|
473
|
-
setLayout(params: Rooms.SetLayoutParams): Rooms.SetLayout;
|
|
474
|
-
/**
|
|
475
|
-
* Assigns a position in the layout for multiple members.
|
|
476
|
-
*
|
|
477
|
-
* @permissions
|
|
478
|
-
* - `room.set_position`
|
|
479
|
-
*
|
|
480
|
-
* You need to specify the permissions when [creating the Video Room
|
|
481
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
482
|
-
* on the server side.
|
|
483
|
-
*
|
|
484
|
-
* @example
|
|
485
|
-
* ```js
|
|
486
|
-
* await roomSession.setPositions({
|
|
487
|
-
* positions: {
|
|
488
|
-
* "1bf4d4fb-a3e4-4d46-80a8-3ebfdceb2a60": "reserved-1",
|
|
489
|
-
* "e0c5be44-d6c7-438f-8cda-f859a1a0b1e7": "auto"
|
|
490
|
-
* }
|
|
491
|
-
* })
|
|
492
|
-
* ```
|
|
493
|
-
*/
|
|
494
|
-
setPositions(params: Rooms.SetPositionsParams): Rooms.SetPositions;
|
|
495
|
-
/**
|
|
496
|
-
* Assigns a position in the layout to the specified member.
|
|
497
|
-
*
|
|
498
|
-
* @permissions
|
|
499
|
-
* - `room.self.set_position`: to set the position for the local member
|
|
500
|
-
* - `room.member.set_position`: to set the position for a remote member
|
|
501
|
-
*
|
|
502
|
-
* You need to specify the permissions when [creating the Video Room
|
|
503
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
504
|
-
* on the server side.
|
|
505
|
-
*
|
|
506
|
-
* @example
|
|
507
|
-
* ```js
|
|
508
|
-
* await roomSession.setMemberPosition({
|
|
509
|
-
* memberId: "1bf4d4fb-a3e4-4d46-80a8-3ebfdceb2a60",
|
|
510
|
-
* position: "off-canvas"
|
|
511
|
-
* })
|
|
512
|
-
* ```
|
|
513
|
-
*/
|
|
514
|
-
setMemberPosition(params: Rooms.SetMemberPositionParams): Rooms.SetMemberPosition;
|
|
515
|
-
/**
|
|
516
|
-
* Obtains a list of recordings for the current room session. To download the
|
|
517
|
-
* actual mp4 file, please use the [REST
|
|
518
|
-
* API](https://developer.signalwire.com/apis/reference/overview).
|
|
519
|
-
*
|
|
520
|
-
* @permissions
|
|
521
|
-
* - `room.recording`
|
|
522
|
-
*
|
|
523
|
-
* You need to specify the permissions when [creating the Video Room
|
|
524
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
525
|
-
* on the server side.
|
|
526
|
-
*
|
|
527
|
-
* @example
|
|
528
|
-
* ```typescript
|
|
529
|
-
* await room.getRecordings()
|
|
530
|
-
* ```
|
|
531
|
-
*
|
|
532
|
-
* From your server, you can obtain the mp4 file using the [REST API](https://developer.signalwire.com/apis/reference/overview):
|
|
533
|
-
* ```typescript
|
|
534
|
-
* curl --request GET \
|
|
535
|
-
* --url https://<yourspace>.signalwire.com/api/video/room_recordings/<recording_id> \
|
|
536
|
-
* --header 'Accept: application/json' \
|
|
537
|
-
* --header 'Authorization: Basic <your API token>'
|
|
538
|
-
* ```
|
|
539
|
-
*/
|
|
540
|
-
getRecordings(): Rooms.GetRecordings;
|
|
541
|
-
/**
|
|
542
|
-
* Starts the recording of the room. You can use the returned
|
|
543
|
-
* {@link RoomSessionRecording} object to control the recording (e.g., pause,
|
|
544
|
-
* resume, stop).
|
|
545
|
-
*
|
|
546
|
-
* @permissions
|
|
547
|
-
* - `room.recording`
|
|
548
|
-
*
|
|
549
|
-
* You need to specify the permissions when [creating the Video Room
|
|
550
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
551
|
-
* on the server side.
|
|
552
|
-
*
|
|
553
|
-
* @example
|
|
554
|
-
* ```typescript
|
|
555
|
-
* const rec = await room.startRecording()
|
|
556
|
-
* await rec.stop()
|
|
557
|
-
* ```
|
|
558
|
-
*/
|
|
559
|
-
startRecording(): Promise<Rooms.RoomSessionRecording>;
|
|
560
|
-
/**
|
|
561
|
-
* Obtains a list of recordings for the current room session.
|
|
562
|
-
*
|
|
563
|
-
* @permissions
|
|
564
|
-
* - `room.playback`
|
|
565
|
-
*
|
|
566
|
-
* You need to specify the permissions when [creating the Video Room
|
|
567
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
568
|
-
* on the server side.
|
|
569
|
-
*
|
|
570
|
-
* @returns The returned objects contain all the properties of a
|
|
571
|
-
* {@link RoomSessionPlayback}, but no methods.
|
|
572
|
-
*/
|
|
573
|
-
getPlaybacks(): Rooms.GetPlaybacks;
|
|
574
|
-
/**
|
|
575
|
-
* Starts a playback in the room. You can use the returned
|
|
576
|
-
* {@link RoomSessionPlayback} object to control the playback (e.g., pause,
|
|
577
|
-
* resume, setVolume and stop).
|
|
578
|
-
*
|
|
579
|
-
* @permissions
|
|
580
|
-
* - `room.playback`
|
|
581
|
-
*
|
|
582
|
-
* You need to specify the permissions when [creating the Video Room
|
|
583
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
584
|
-
* on the server side.
|
|
585
|
-
*
|
|
586
|
-
* @example
|
|
587
|
-
* ```typescript
|
|
588
|
-
* const playback = await roomSession.play({ url: 'rtmp://example.com/foo' })
|
|
589
|
-
* await playback.stop()
|
|
590
|
-
* ```
|
|
591
|
-
*/
|
|
592
|
-
play(params: Rooms.PlayParams): Promise<Rooms.RoomSessionPlayback>;
|
|
593
|
-
/**
|
|
594
|
-
* Assigns custom metadata to the RoomSession. You can use this to store
|
|
595
|
-
* metadata whose meaning is entirely defined by your application.
|
|
596
|
-
*
|
|
597
|
-
* Note that calling this method overwrites any metadata that had been
|
|
598
|
-
* previously set on this RoomSession.
|
|
599
|
-
*
|
|
600
|
-
* @param meta The medatada object to assign to the RoomSession.
|
|
601
|
-
*
|
|
602
|
-
* @permissions
|
|
603
|
-
* - `room.set_meta`
|
|
604
|
-
*
|
|
605
|
-
* You need to specify the permissions when [creating the Video Room
|
|
606
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
607
|
-
* on the server side.
|
|
608
|
-
*
|
|
609
|
-
* @example
|
|
610
|
-
* ```js
|
|
611
|
-
* await roomSession.setMeta({ foo: 'bar' })
|
|
612
|
-
* ```
|
|
613
|
-
*/
|
|
614
|
-
setMeta(params: Rooms.SetMetaParams): Rooms.SetMeta;
|
|
615
|
-
/**
|
|
616
|
-
* Retrieve the custom metadata for the RoomSession.
|
|
617
|
-
*
|
|
618
|
-
* @example
|
|
619
|
-
* ```js
|
|
620
|
-
* const { meta } = await roomSession.getMeta()
|
|
621
|
-
* ```
|
|
622
|
-
*/
|
|
623
|
-
getMeta(): Rooms.GetMeta;
|
|
624
|
-
updateMeta(params: Rooms.UpdateMetaParams): Rooms.UpdateMeta;
|
|
625
|
-
deleteMeta(params: Rooms.DeleteMetaParams): Rooms.DeleteMeta;
|
|
626
|
-
/**
|
|
627
|
-
* Assigns custom metadata to the specified RoomSession member. You can use
|
|
628
|
-
* this to store metadata whose meaning is entirely defined by your
|
|
629
|
-
* application.
|
|
630
|
-
*
|
|
631
|
-
* Note that calling this method overwrites any metadata that had been
|
|
632
|
-
* previously set on the specified member.
|
|
633
|
-
*
|
|
634
|
-
* @param params.memberId Id of the member to affect. If omitted, affects the
|
|
635
|
-
* default device in the local client.
|
|
636
|
-
* @param params.meta The medatada object to assign to the member.
|
|
637
|
-
*
|
|
638
|
-
* @permissions
|
|
639
|
-
* - `room.self.set_meta`: to set the metadata for the local member
|
|
640
|
-
* - `room.member.set_meta`: to set the metadata for a remote member
|
|
641
|
-
*
|
|
642
|
-
* You need to specify the permissions when [creating the Video Room
|
|
643
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
644
|
-
* on the server side.
|
|
645
|
-
*
|
|
646
|
-
* @example
|
|
647
|
-
* Setting metadata for the current member:
|
|
648
|
-
* ```js
|
|
649
|
-
* await roomSession.setMemberMeta({
|
|
650
|
-
* meta: {
|
|
651
|
-
* email: 'joe@example.com'
|
|
652
|
-
* }
|
|
653
|
-
* })
|
|
654
|
-
* ```
|
|
655
|
-
*
|
|
656
|
-
* @example
|
|
657
|
-
* Setting metadata for another member:
|
|
658
|
-
* ```js
|
|
659
|
-
* await roomSession.setMemberMeta({
|
|
660
|
-
* memberId: 'de550c0c-3fac-4efd-b06f-b5b8614b8966' // you can get this from getMembers()
|
|
661
|
-
* meta: {
|
|
662
|
-
* email: 'joe@example.com'
|
|
663
|
-
* }
|
|
664
|
-
* })
|
|
665
|
-
* ```
|
|
666
|
-
*/
|
|
667
|
-
setMemberMeta(params: Rooms.SetMemberMetaParams): Rooms.SetMemberMeta;
|
|
668
|
-
/**
|
|
669
|
-
* Retrieve the custom metadata for the specified RoomSession member.
|
|
670
|
-
*
|
|
671
|
-
* @param params.memberId Id of the member to retrieve the meta. If omitted, fallback to the current memberId.
|
|
672
|
-
*
|
|
673
|
-
* @example
|
|
674
|
-
* ```js
|
|
675
|
-
* const { meta } = await roomSession.getMemberMeta({ memberId: 'de550c0c-3fac-4efd-b06f-b5b8614b8966' })
|
|
676
|
-
* ```
|
|
677
|
-
*/
|
|
678
|
-
getMemberMeta(params?: MemberCommandParams): Rooms.GetMemberMeta;
|
|
679
|
-
updateMemberMeta(params: Rooms.UpdateMemberMetaParams): Rooms.UpdateMemberMeta;
|
|
680
|
-
deleteMemberMeta(params: Rooms.DeleteMemberMetaParams): Rooms.DeleteMemberMeta;
|
|
681
|
-
promote(params: Rooms.PromoteMemberParams): Rooms.PromoteMember;
|
|
682
|
-
demote(params: Rooms.DemoteMemberParams): Rooms.DemoteMember;
|
|
683
|
-
/**
|
|
684
|
-
* Obtains a list of streams for the current room session.
|
|
685
|
-
*
|
|
686
|
-
* @permissions
|
|
687
|
-
* - `room.stream`
|
|
688
|
-
*
|
|
689
|
-
* You need to specify the permissions when [creating the Video Room
|
|
690
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
691
|
-
* on the server side.
|
|
692
|
-
*
|
|
693
|
-
* @example
|
|
694
|
-
* ```typescript
|
|
695
|
-
* await room.getStreams()
|
|
696
|
-
* ```
|
|
697
|
-
*/
|
|
698
|
-
getStreams(): Rooms.GetStreams;
|
|
699
|
-
/**
|
|
700
|
-
* Starts to stream the room to the provided URL. You can use the returned
|
|
701
|
-
* {@link RoomSessionStream} object to then stop the stream.
|
|
702
|
-
*
|
|
703
|
-
* @permissions
|
|
704
|
-
* - `room.stream.start` or `room.stream`
|
|
705
|
-
*
|
|
706
|
-
* You need to specify the permissions when [creating the Video Room
|
|
707
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
708
|
-
* on the server side.
|
|
709
|
-
*
|
|
710
|
-
* @example
|
|
711
|
-
* ```typescript
|
|
712
|
-
* const stream = await room.startStream({ url: 'rtmp://example.com' })
|
|
713
|
-
* await stream.stop()
|
|
714
|
-
* ```
|
|
715
|
-
*/
|
|
716
|
-
startStream(params: Rooms.StartStreamParams): Promise<Rooms.RoomSessionStream>;
|
|
717
|
-
/**
|
|
718
|
-
* Lock the room
|
|
719
|
-
*
|
|
720
|
-
* @permissions
|
|
721
|
-
* - `room.lock`
|
|
722
|
-
*
|
|
723
|
-
* You need to specify the permissions when [creating the Video Room
|
|
724
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
725
|
-
* on the server side.
|
|
726
|
-
*
|
|
727
|
-
* @example
|
|
728
|
-
* ```typescript
|
|
729
|
-
* await room.lock()
|
|
730
|
-
* ```
|
|
731
|
-
*/
|
|
732
|
-
lock(): Rooms.Lock;
|
|
733
|
-
/**
|
|
734
|
-
* Unlock the room
|
|
735
|
-
*
|
|
736
|
-
* @permissions
|
|
737
|
-
* - `room.unlock`
|
|
738
|
-
*
|
|
739
|
-
* You need to specify the permissions when [creating the Video Room
|
|
740
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
741
|
-
* on the server side.
|
|
742
|
-
*
|
|
743
|
-
* @example
|
|
744
|
-
* ```typescript
|
|
745
|
-
* await room.lock()
|
|
746
|
-
* ```
|
|
747
|
-
*/
|
|
748
|
-
unlock(): Rooms.Unlock;
|
|
749
|
-
/**
|
|
750
|
-
* Set the priority of members hand raise
|
|
751
|
-
* @param param a boolean flag to enable/disable the hand raise prioritization
|
|
752
|
-
*
|
|
753
|
-
* @permissions
|
|
754
|
-
* - `video.prioritize_handraise`: to set the hand raise priority
|
|
755
|
-
*
|
|
756
|
-
* You need to specify the permissions when [creating the Video Room
|
|
757
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
758
|
-
* on the server side.
|
|
759
|
-
*
|
|
760
|
-
* @example
|
|
761
|
-
* ```typescript
|
|
762
|
-
* await room.setPrioritizeHandraise(true)
|
|
763
|
-
* ```
|
|
764
|
-
*/
|
|
765
|
-
setPrioritizeHandraise(params: boolean): Rooms.SetPrioritizeHandraise;
|
|
766
|
-
/**
|
|
767
|
-
* Raise or lower the hand of a specific participant in the room.
|
|
768
|
-
* @param params
|
|
769
|
-
* @param params.memberId id of the member to remove
|
|
770
|
-
* @param params.raised boolean flag to raise or lower the hand
|
|
771
|
-
*
|
|
772
|
-
* @permissions
|
|
773
|
-
* - `video.member.raisehand`: to raise a hand
|
|
774
|
-
* - `video.member.lowerhand`: to lower a hand
|
|
775
|
-
*
|
|
776
|
-
* You need to specify the permissions when [creating the Video Room
|
|
777
|
-
* Token](https://developer.signalwire.com/apis/reference/create_room_token)
|
|
778
|
-
* on the server side.
|
|
779
|
-
*
|
|
780
|
-
* @example
|
|
781
|
-
* ```typescript
|
|
782
|
-
* const id = 'de550c0c-3fac-4efd-b06f-b5b8614b8966' // you can get this from getMembers()
|
|
783
|
-
* await room.setHandRaised({ memberId: id, raised: false })
|
|
784
|
-
* ```
|
|
785
|
-
*/
|
|
786
|
-
setRaisedHand(params?: Rooms.SetRaisedHandRoomParams): Rooms.SetRaisedHand;
|
|
787
|
-
}
|
|
788
|
-
/**
|
|
789
|
-
* VideoRoomSession properties
|
|
790
|
-
*/
|
|
791
|
-
export type VideoRoomSessionEntity = OnlyStateProperties<VideoRoomSessionContract>;
|
|
792
|
-
/**
|
|
793
|
-
* VideoRoomSession methods
|
|
794
|
-
*/
|
|
795
|
-
export type VideoRoomSessionMethods = OnlyFunctionProperties<VideoRoomSessionContract>;
|
|
796
|
-
/**
|
|
797
|
-
* VideoRoomSessionEntity plus `updated` field
|
|
798
|
-
*/
|
|
799
|
-
export type VideoRoomSessionEntityUpdated = EntityUpdated<VideoRoomSessionEntity>;
|
|
800
|
-
/**
|
|
801
|
-
* VideoRoomSessionEntity for internal usage (converted to snake_case)
|
|
802
|
-
* @internal
|
|
803
|
-
*/
|
|
804
|
-
export type InternalVideoRoomSessionEntity = {
|
|
805
|
-
[K in NonNullable<keyof VideoRoomSessionEntity> as CamelToSnakeCase<K>]: VideoRoomSessionEntity[K];
|
|
806
|
-
};
|
|
807
|
-
/**
|
|
808
|
-
* VideoRoomEntity for internal usage only: backwards compat.
|
|
809
|
-
* @internal
|
|
810
|
-
* @deprecated
|
|
811
|
-
*/
|
|
812
|
-
export type InternalVideoRoomEntity = {
|
|
813
|
-
room_id: string;
|
|
814
|
-
room_session_id: string;
|
|
815
|
-
event_channel: string;
|
|
816
|
-
name: string;
|
|
817
|
-
recording: boolean;
|
|
818
|
-
hide_video_muted: boolean;
|
|
819
|
-
preview_url?: string;
|
|
820
|
-
recordings?: any[];
|
|
821
|
-
playbacks?: any[];
|
|
822
|
-
streams?: any[];
|
|
823
|
-
prioritize_handraise: boolean;
|
|
824
|
-
};
|
|
825
|
-
/**
|
|
826
|
-
* VideoRoomSessionEntity plus `updated` field
|
|
827
|
-
* for internal usage (converted to snake_case)
|
|
828
|
-
* @internal
|
|
829
|
-
*/
|
|
830
|
-
export type InternalVideoRoomUpdated = EntityUpdated<InternalVideoRoomSessionEntity>;
|
|
831
|
-
export interface InternalVideoRoomJoinedEvent extends SwEvent {
|
|
832
|
-
event_type: ToInternalVideoEvent<RoomJoined>;
|
|
833
|
-
params: VideoRoomSubscribedEventParams;
|
|
834
|
-
}
|
|
835
|
-
export interface InternalVideoRoomAudienceCountEvent extends SwEvent {
|
|
836
|
-
event_type: ToInternalVideoEvent<RoomAudienceCount>;
|
|
837
|
-
params: VideoRoomAudienceCountEventParams;
|
|
838
|
-
}
|
|
839
|
-
export type InternalVideoRoomEvent = InternalVideoRoomJoinedEvent | InternalVideoRoomAudienceCountEvent;
|
|
840
|
-
/**
|
|
841
|
-
* ==========
|
|
842
|
-
* ==========
|
|
843
|
-
* Server-Side Events
|
|
844
|
-
* ==========
|
|
845
|
-
* ==========
|
|
846
|
-
*/
|
|
847
|
-
/**
|
|
848
|
-
* 'video.room.started'
|
|
849
|
-
*/
|
|
850
|
-
export interface VideoRoomStartedEventParams {
|
|
851
|
-
room_id: string;
|
|
852
|
-
room_session_id: string;
|
|
853
|
-
room: InternalVideoRoomEntity;
|
|
854
|
-
room_session: InternalVideoRoomSessionEntity;
|
|
855
|
-
}
|
|
856
|
-
export interface VideoRoomStartedEvent extends SwEvent {
|
|
857
|
-
event_type: ToInternalVideoEvent<RoomStarted>;
|
|
858
|
-
params: VideoRoomStartedEventParams;
|
|
859
|
-
}
|
|
860
|
-
/**
|
|
861
|
-
* 'video.room.subscribed'
|
|
862
|
-
*/
|
|
863
|
-
export interface VideoRoomSubscribedEventParams {
|
|
864
|
-
room: InternalVideoRoomEntity & {
|
|
865
|
-
members: InternalVideoMemberEntity[];
|
|
866
|
-
};
|
|
867
|
-
room_session: InternalVideoRoomSessionEntity & {
|
|
868
|
-
members: InternalVideoMemberEntity[];
|
|
869
|
-
};
|
|
870
|
-
call_id: string;
|
|
871
|
-
member_id: string;
|
|
872
|
-
}
|
|
873
|
-
export interface VideoRoomSubscribedEvent extends SwEvent {
|
|
874
|
-
event_type: ToInternalVideoEvent<RoomSubscribed>;
|
|
875
|
-
params: VideoRoomSubscribedEventParams;
|
|
876
|
-
}
|
|
877
|
-
/**
|
|
878
|
-
* 'video.room.updated'
|
|
879
|
-
*/
|
|
880
|
-
export interface VideoRoomUpdatedEventParams {
|
|
881
|
-
room_id: string;
|
|
882
|
-
room_session_id: string;
|
|
883
|
-
room: InternalVideoRoomEntity;
|
|
884
|
-
room_session: InternalVideoRoomSessionEntity;
|
|
885
|
-
}
|
|
886
|
-
export interface VideoRoomUpdatedEvent extends SwEvent {
|
|
887
|
-
event_type: ToInternalVideoEvent<RoomUpdated>;
|
|
888
|
-
params: VideoRoomUpdatedEventParams;
|
|
889
|
-
}
|
|
890
|
-
/**
|
|
891
|
-
* 'video.room.ended'
|
|
892
|
-
*/
|
|
893
|
-
export interface VideoRoomEndedEventParams {
|
|
894
|
-
room_id: string;
|
|
895
|
-
room_session_id: string;
|
|
896
|
-
room: InternalVideoRoomEntity;
|
|
897
|
-
room_session: InternalVideoRoomSessionEntity;
|
|
898
|
-
}
|
|
899
|
-
export interface VideoRoomEndedEvent extends SwEvent {
|
|
900
|
-
event_type: ToInternalVideoEvent<RoomEnded>;
|
|
901
|
-
params: VideoRoomEndedEventParams;
|
|
902
|
-
}
|
|
903
|
-
/**
|
|
904
|
-
* 'video.room.audience_count'
|
|
905
|
-
*/
|
|
906
|
-
export interface VideoRoomAudienceCountEventParams {
|
|
907
|
-
room_id: string;
|
|
908
|
-
room_session_id: string;
|
|
909
|
-
total: number;
|
|
910
|
-
}
|
|
911
|
-
export interface VideoRoomAudienceCountEvent extends SwEvent {
|
|
912
|
-
event_type: ToInternalVideoEvent<InternalRoomAudienceCount>;
|
|
913
|
-
params: VideoRoomAudienceCountEventParams;
|
|
914
|
-
}
|
|
915
|
-
export type VideoRoomEvent = VideoRoomStartedEvent | VideoRoomSubscribedEvent | VideoRoomUpdatedEvent | VideoRoomEndedEvent;
|
|
916
|
-
export type VideoRoomEventParams = VideoRoomStartedEventParams | VideoRoomSubscribedEventParams | VideoRoomUpdatedEventParams | VideoRoomEndedEventParams;
|
|
917
|
-
export type VideoRoomStartedAction = MapToPubSubShape<VideoRoomStartedEvent>;
|
|
918
|
-
export type VideoRoomEndedAction = MapToPubSubShape<VideoRoomEndedEvent>;
|
|
919
|
-
export type VideoRoomUpdatedAction = MapToPubSubShape<VideoRoomUpdatedEvent>;
|
|
920
|
-
export type VideoRoomSubscribedAction = MapToPubSubShape<VideoRoomSubscribedEvent>;
|
|
921
|
-
//# sourceMappingURL=videoRoomSession.d.ts.map
|