@ale-rainbow/web-sdk 5.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 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +501 -0
- package/lib/index.js.map +7 -0
- package/lib/libs/index.d.ts +3 -0
- package/lib/libs/index.d.ts.map +1 -0
- package/lib/libs/strophe/strophe-plugin.d.ts +13 -0
- package/lib/libs/strophe/strophe-plugin.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.jingle.d.ts +35 -0
- package/lib/libs/strophe/strophe.jingle.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.jingle.sdp.d.ts +44 -0
- package/lib/libs/strophe/strophe.jingle.sdp.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.jingle.session.d.ts +624 -0
- package/lib/libs/strophe/strophe.jingle.session.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.jingle.session.stats.d.ts +791 -0
- package/lib/libs/strophe/strophe.jingle.session.stats.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.lastactivity.d.ts +9 -0
- package/lib/libs/strophe/strophe.lastactivity.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.mam.d.ts +11 -0
- package/lib/libs/strophe/strophe.mam.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.ping.d.ts +39 -0
- package/lib/libs/strophe/strophe.ping.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.rsm.d.ts +24 -0
- package/lib/libs/strophe/strophe.rsm.d.ts.map +1 -0
- package/lib/libs/strophe/types.d.ts +23 -0
- package/lib/libs/strophe/types.d.ts.map +1 -0
- package/lib/models/authSettings.model.d.ts +38 -0
- package/lib/models/authSettings.model.d.ts.map +1 -0
- package/lib/models/bubble.model.d.ts +1114 -0
- package/lib/models/bubble.model.d.ts.map +1 -0
- package/lib/models/bubbleConferenceRecap.model.d.ts +532 -0
- package/lib/models/bubbleConferenceRecap.model.d.ts.map +1 -0
- package/lib/models/call.model.d.ts +1271 -0
- package/lib/models/call.model.d.ts.map +1 -0
- package/lib/models/callLog.model.d.ts +361 -0
- package/lib/models/callLog.model.d.ts.map +1 -0
- package/lib/models/channel.model.d.ts +692 -0
- package/lib/models/channel.model.d.ts.map +1 -0
- package/lib/models/channelMessage.model.d.ts +300 -0
- package/lib/models/channelMessage.model.d.ts.map +1 -0
- package/lib/models/cli.model.d.ts +59 -0
- package/lib/models/cli.model.d.ts.map +1 -0
- package/lib/models/common/context.d.ts +37 -0
- package/lib/models/common/context.d.ts.map +1 -0
- package/lib/models/common/error.d.ts +26 -0
- package/lib/models/common/error.d.ts.map +1 -0
- package/lib/models/common/fileDescriptor.d.ts +317 -0
- package/lib/models/common/fileDescriptor.d.ts.map +1 -0
- package/lib/models/common/filePublicDownload.d.ts +26 -0
- package/lib/models/common/filePublicDownload.d.ts.map +1 -0
- package/lib/models/common/fileViewer.d.ts +20 -0
- package/lib/models/common/fileViewer.d.ts.map +1 -0
- package/lib/models/common/index.d.ts +9 -0
- package/lib/models/common/index.d.ts.map +1 -0
- package/lib/models/common/theme.d.ts +185 -0
- package/lib/models/common/theme.d.ts.map +1 -0
- package/lib/models/common/themeColor.d.ts +47 -0
- package/lib/models/common/themeColor.d.ts.map +1 -0
- package/lib/models/common/userTheme.d.ts +42 -0
- package/lib/models/common/userTheme.d.ts.map +1 -0
- package/lib/models/company-invitation.model.d.ts +42 -0
- package/lib/models/company-invitation.model.d.ts.map +1 -0
- package/lib/models/company.model.d.ts +639 -0
- package/lib/models/company.model.d.ts.map +1 -0
- package/lib/models/contact.model.d.ts +1208 -0
- package/lib/models/contact.model.d.ts.map +1 -0
- package/lib/models/conversation.model.d.ts +768 -0
- package/lib/models/conversation.model.d.ts.map +1 -0
- package/lib/models/customManifest.model.d.ts +82 -0
- package/lib/models/customManifest.model.d.ts.map +1 -0
- package/lib/models/dataChannel.model.d.ts +178 -0
- package/lib/models/dataChannel.model.d.ts.map +1 -0
- package/lib/models/dial-in-phone-numbers.model.d.ts +18 -0
- package/lib/models/dial-in-phone-numbers.model.d.ts.map +1 -0
- package/lib/models/directoryContact.model.d.ts +205 -0
- package/lib/models/directoryContact.model.d.ts.map +1 -0
- package/lib/models/event.model.d.ts +14 -0
- package/lib/models/event.model.d.ts.map +1 -0
- package/lib/models/favorite.model.d.ts +94 -0
- package/lib/models/favorite.model.d.ts.map +1 -0
- package/lib/models/fileDocument.model.d.ts +345 -0
- package/lib/models/fileDocument.model.d.ts.map +1 -0
- package/lib/models/geoLoc.model.d.ts +6 -0
- package/lib/models/geoLoc.model.d.ts.map +1 -0
- package/lib/models/index.d.ts +46 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/models/invitation.model.d.ts +88 -0
- package/lib/models/invitation.model.d.ts.map +1 -0
- package/lib/models/invoices.model.d.ts +76 -0
- package/lib/models/invoices.model.d.ts.map +1 -0
- package/lib/models/logEntry.model.d.ts +23 -0
- package/lib/models/logEntry.model.d.ts.map +1 -0
- package/lib/models/message.model.d.ts +400 -0
- package/lib/models/message.model.d.ts.map +1 -0
- package/lib/models/messageAdditionalContent.parsers.d.ts +32 -0
- package/lib/models/messageAdditionalContent.parsers.d.ts.map +1 -0
- package/lib/models/offer.model.d.ts +16 -0
- package/lib/models/offer.model.d.ts.map +1 -0
- package/lib/models/p2pRecap.model.d.ts +372 -0
- package/lib/models/p2pRecap.model.d.ts.map +1 -0
- package/lib/models/paymentMethods.model.d.ts +98 -0
- package/lib/models/paymentMethods.model.d.ts.map +1 -0
- package/lib/models/personalRoutine.model.d.ts +173 -0
- package/lib/models/personalRoutine.model.d.ts.map +1 -0
- package/lib/models/poll.model.d.ts +139 -0
- package/lib/models/poll.model.d.ts.map +1 -0
- package/lib/models/rainbow-auth.model.d.ts +137 -0
- package/lib/models/rainbow-auth.model.d.ts.map +1 -0
- package/lib/models/searchTextConvResults.model.d.ts +30 -0
- package/lib/models/searchTextConvResults.model.d.ts.map +1 -0
- package/lib/models/site.model.d.ts +165 -0
- package/lib/models/site.model.d.ts.map +1 -0
- package/lib/models/subscription.model.d.ts +592 -0
- package/lib/models/subscription.model.d.ts.map +1 -0
- package/lib/models/telephonyConfig.model.d.ts +144 -0
- package/lib/models/telephonyConfig.model.d.ts.map +1 -0
- package/lib/models/telephonyForward.model.d.ts +47 -0
- package/lib/models/telephonyForward.model.d.ts.map +1 -0
- package/lib/models/todo.model.d.ts +103 -0
- package/lib/models/todo.model.d.ts.map +1 -0
- package/lib/models/transcription.model.d.ts +59 -0
- package/lib/models/transcription.model.d.ts.map +1 -0
- package/lib/models/user.model.d.ts +1008 -0
- package/lib/models/user.model.d.ts.map +1 -0
- package/lib/models/userProfileTemplate.model.d.ts +735 -0
- package/lib/models/userProfileTemplate.model.d.ts.map +1 -0
- package/lib/models/usersList.model.d.ts +117 -0
- package/lib/models/usersList.model.d.ts.map +1 -0
- package/lib/models/webConferenceParticipant.model.d.ts +135 -0
- package/lib/models/webConferenceParticipant.model.d.ts.map +1 -0
- package/lib/models/webConferenceSession.model.d.ts +658 -0
- package/lib/models/webConferenceSession.model.d.ts.map +1 -0
- package/lib/models/webinar.model.d.ts +738 -0
- package/lib/models/webinar.model.d.ts.map +1 -0
- package/lib/models/webinarRecap.model.d.ts +118 -0
- package/lib/models/webinarRecap.model.d.ts.map +1 -0
- package/lib/node.d.ts +3 -0
- package/lib/node.d.ts.map +1 -0
- package/lib/node.js +423 -0
- package/lib/node.js.map +7 -0
- package/lib/node.sdk.d.ts +41 -0
- package/lib/node.sdk.d.ts.map +1 -0
- package/lib/plugins/admin.plugin.d.ts +6 -0
- package/lib/plugins/admin.plugin.d.ts.map +1 -0
- package/lib/plugins/bubbleConference.plugin.d.ts +6 -0
- package/lib/plugins/bubbleConference.plugin.d.ts.map +1 -0
- package/lib/plugins/bubbleTag.plugin.d.ts +6 -0
- package/lib/plugins/bubbleTag.plugin.d.ts.map +1 -0
- package/lib/plugins/bubbles.plugin.d.ts +6 -0
- package/lib/plugins/bubbles.plugin.d.ts.map +1 -0
- package/lib/plugins/businessDirectory.plugin.d.ts +6 -0
- package/lib/plugins/businessDirectory.plugin.d.ts.map +1 -0
- package/lib/plugins/callRecorder.plugin.d.ts +6 -0
- package/lib/plugins/callRecorder.plugin.d.ts.map +1 -0
- package/lib/plugins/calllog.plugin.d.ts +6 -0
- package/lib/plugins/calllog.plugin.d.ts.map +1 -0
- package/lib/plugins/calls.plugin.d.ts +6 -0
- package/lib/plugins/calls.plugin.d.ts.map +1 -0
- package/lib/plugins/channels.plugin.d.ts +6 -0
- package/lib/plugins/channels.plugin.d.ts.map +1 -0
- package/lib/plugins/dataChannel.plugin.d.ts +6 -0
- package/lib/plugins/dataChannel.plugin.d.ts.map +1 -0
- package/lib/plugins/deviceManagement.plugin.d.ts +6 -0
- package/lib/plugins/deviceManagement.plugin.d.ts.map +1 -0
- package/lib/plugins/favorites.plugin.d.ts +6 -0
- package/lib/plugins/favorites.plugin.d.ts.map +1 -0
- package/lib/plugins/fileDocument.plugin.d.ts +6 -0
- package/lib/plugins/fileDocument.plugin.d.ts.map +1 -0
- package/lib/plugins/helpCenter.plugin.d.ts +6 -0
- package/lib/plugins/helpCenter.plugin.d.ts.map +1 -0
- package/lib/plugins/index.d.ts +27 -0
- package/lib/plugins/index.d.ts.map +1 -0
- package/lib/plugins/microsoft0365Ad.plugin.d.ts +6 -0
- package/lib/plugins/microsoft0365Ad.plugin.d.ts.map +1 -0
- package/lib/plugins/pbxUsers.plugin.d.ts +6 -0
- package/lib/plugins/pbxUsers.plugin.d.ts.map +1 -0
- package/lib/plugins/personalDirectory.plugin.d.ts +6 -0
- package/lib/plugins/personalDirectory.plugin.d.ts.map +1 -0
- package/lib/plugins/plugin.d.ts +8 -0
- package/lib/plugins/plugin.d.ts.map +1 -0
- package/lib/plugins/polls.plugin.d.ts +6 -0
- package/lib/plugins/polls.plugin.d.ts.map +1 -0
- package/lib/plugins/rpc.plugin.d.ts +6 -0
- package/lib/plugins/rpc.plugin.d.ts.map +1 -0
- package/lib/plugins/telemetry.plugin.d.ts +6 -0
- package/lib/plugins/telemetry.plugin.d.ts.map +1 -0
- package/lib/plugins/telephony.plugin.d.ts +6 -0
- package/lib/plugins/telephony.plugin.d.ts.map +1 -0
- package/lib/plugins/telephonyConfig.plugin.d.ts +6 -0
- package/lib/plugins/telephonyConfig.plugin.d.ts.map +1 -0
- package/lib/plugins/transcription.plugin.d.ts +6 -0
- package/lib/plugins/transcription.plugin.d.ts.map +1 -0
- package/lib/plugins/usersList.plugin.d.ts +6 -0
- package/lib/plugins/usersList.plugin.d.ts.map +1 -0
- package/lib/plugins/virtualBackground.plugin.d.ts +6 -0
- package/lib/plugins/virtualBackground.plugin.d.ts.map +1 -0
- package/lib/plugins/webinar.plugin.d.ts +6 -0
- package/lib/plugins/webinar.plugin.d.ts.map +1 -0
- package/lib/rainbow.sdk.d.ts +309 -0
- package/lib/rainbow.sdk.d.ts.map +1 -0
- package/lib/services/admin/admin-alarm.service.d.ts +42 -0
- package/lib/services/admin/admin-alarm.service.d.ts.map +1 -0
- package/lib/services/admin/admin-company.service.d.ts +167 -0
- package/lib/services/admin/admin-company.service.d.ts.map +1 -0
- package/lib/services/admin/admin-department.service.d.ts +39 -0
- package/lib/services/admin/admin-department.service.d.ts.map +1 -0
- package/lib/services/admin/admin-invitation.service.d.ts +114 -0
- package/lib/services/admin/admin-invitation.service.d.ts.map +1 -0
- package/lib/services/admin/admin-management.service.d.ts +100 -0
- package/lib/services/admin/admin-management.service.d.ts.map +1 -0
- package/lib/services/admin/admin-rvcp.service.d.ts +43 -0
- package/lib/services/admin/admin-rvcp.service.d.ts.map +1 -0
- package/lib/services/admin/admin-site.service.d.ts +64 -0
- package/lib/services/admin/admin-site.service.d.ts.map +1 -0
- package/lib/services/admin/admin-subscription.service.d.ts +135 -0
- package/lib/services/admin/admin-subscription.service.d.ts.map +1 -0
- package/lib/services/admin/admin-tag.service.d.ts +79 -0
- package/lib/services/admin/admin-tag.service.d.ts.map +1 -0
- package/lib/services/admin/admin-user-profile.service.d.ts +76 -0
- package/lib/services/admin/admin-user-profile.service.d.ts.map +1 -0
- package/lib/services/admin/admin-user.service.d.ts +338 -0
- package/lib/services/admin/admin-user.service.d.ts.map +1 -0
- package/lib/services/admin/admin.common.d.ts +40 -0
- package/lib/services/admin/admin.common.d.ts.map +1 -0
- package/lib/services/admin/admin.service.d.ts +138 -0
- package/lib/services/admin/admin.service.d.ts.map +1 -0
- package/lib/services/admin/index.d.ts +14 -0
- package/lib/services/admin/index.d.ts.map +1 -0
- package/lib/services/bot/bot.service.d.ts +121 -0
- package/lib/services/bot/bot.service.d.ts.map +1 -0
- package/lib/services/bubbles/bubble.service.d.ts +889 -0
- package/lib/services/bubbles/bubble.service.d.ts.map +1 -0
- package/lib/services/bubbles/bubbleTag.service.d.ts +132 -0
- package/lib/services/bubbles/bubbleTag.service.d.ts.map +1 -0
- package/lib/services/bubbles/index.d.ts +3 -0
- package/lib/services/bubbles/index.d.ts.map +1 -0
- package/lib/services/call/call.service.d.ts +297 -0
- package/lib/services/call/call.service.d.ts.map +1 -0
- package/lib/services/call/callRecorder.service.d.ts +358 -0
- package/lib/services/call/callRecorder.service.d.ts.map +1 -0
- package/lib/services/call/index.d.ts +3 -0
- package/lib/services/call/index.d.ts.map +1 -0
- package/lib/services/callLog/callLog.service.d.ts +563 -0
- package/lib/services/callLog/callLog.service.d.ts.map +1 -0
- package/lib/services/callLog/index.d.ts +5 -0
- package/lib/services/callLog/index.d.ts.map +1 -0
- package/lib/services/callLog/p2pRecap.service.d.ts +206 -0
- package/lib/services/callLog/p2pRecap.service.d.ts.map +1 -0
- package/lib/services/channels/channel.service.d.ts +626 -0
- package/lib/services/channels/channel.service.d.ts.map +1 -0
- package/lib/services/channels/index.d.ts +3 -0
- package/lib/services/channels/index.d.ts.map +1 -0
- package/lib/services/citrix/citrix.service.d.ts +30 -0
- package/lib/services/citrix/citrix.service.d.ts.map +1 -0
- package/lib/services/citrix/index.d.ts +3 -0
- package/lib/services/citrix/index.d.ts.map +1 -0
- package/lib/services/company/company-directory.service.d.ts +222 -0
- package/lib/services/company/company-directory.service.d.ts.map +1 -0
- package/lib/services/conference/bubbleConference.service.d.ts +1237 -0
- package/lib/services/conference/bubbleConference.service.d.ts.map +1 -0
- package/lib/services/conference/bubbleConferenceRecap.service.d.ts +159 -0
- package/lib/services/conference/bubbleConferenceRecap.service.d.ts.map +1 -0
- package/lib/services/conference/index.d.ts +5 -0
- package/lib/services/conference/index.d.ts.map +1 -0
- package/lib/services/conference/webConferenceHelper.d.ts +25 -0
- package/lib/services/conference/webConferenceHelper.d.ts.map +1 -0
- package/lib/services/conversation/conversation.service.d.ts +723 -0
- package/lib/services/conversation/conversation.service.d.ts.map +1 -0
- package/lib/services/conversation/conversationServiceBulkHistoryHandler.d.ts +39 -0
- package/lib/services/conversation/conversationServiceBulkHistoryHandler.d.ts.map +1 -0
- package/lib/services/conversation/conversationServiceEventHandler.d.ts +78 -0
- package/lib/services/conversation/conversationServiceEventHandler.d.ts.map +1 -0
- package/lib/services/conversation/index.d.ts +3 -0
- package/lib/services/conversation/index.d.ts.map +1 -0
- package/lib/services/core/account.service.d.ts +98 -0
- package/lib/services/core/account.service.d.ts.map +1 -0
- package/lib/services/core/auth.service.d.ts +303 -0
- package/lib/services/core/auth.service.d.ts.map +1 -0
- package/lib/services/core/company.service.d.ts +30 -0
- package/lib/services/core/company.service.d.ts.map +1 -0
- package/lib/services/core/connection.service.d.ts +209 -0
- package/lib/services/core/connection.service.d.ts.map +1 -0
- package/lib/services/core/contact.service.d.ts +617 -0
- package/lib/services/core/contact.service.d.ts.map +1 -0
- package/lib/services/core/country.service.d.ts +66 -0
- package/lib/services/core/country.service.d.ts.map +1 -0
- package/lib/services/core/directorySearch.service.d.ts +305 -0
- package/lib/services/core/directorySearch.service.d.ts.map +1 -0
- package/lib/services/core/event.service.d.ts +31 -0
- package/lib/services/core/event.service.d.ts.map +1 -0
- package/lib/services/core/i18n.service.d.ts +19 -0
- package/lib/services/core/i18n.service.d.ts.map +1 -0
- package/lib/services/core/imageUtils.service.d.ts +15 -0
- package/lib/services/core/imageUtils.service.d.ts.map +1 -0
- package/lib/services/core/index.d.ts +19 -0
- package/lib/services/core/index.d.ts.map +1 -0
- package/lib/services/core/logger.service.d.ts +143 -0
- package/lib/services/core/logger.service.d.ts.map +1 -0
- package/lib/services/core/logging.service.d.ts +51 -0
- package/lib/services/core/logging.service.d.ts.map +1 -0
- package/lib/services/core/main.service.d.ts +124 -0
- package/lib/services/core/main.service.d.ts.map +1 -0
- package/lib/services/core/presenceHelper.service.d.ts +73 -0
- package/lib/services/core/presenceHelper.service.d.ts.map +1 -0
- package/lib/services/core/profile.service.d.ts +453 -0
- package/lib/services/core/profile.service.d.ts.map +1 -0
- package/lib/services/core/settings.service.d.ts +82 -0
- package/lib/services/core/settings.service.d.ts.map +1 -0
- package/lib/services/core/userInfo.service.d.ts +25 -0
- package/lib/services/core/userInfo.service.d.ts.map +1 -0
- package/lib/services/core/userNetwork.service.d.ts +171 -0
- package/lib/services/core/userNetwork.service.d.ts.map +1 -0
- package/lib/services/core/xmpp.service.d.ts +99 -0
- package/lib/services/core/xmpp.service.d.ts.map +1 -0
- package/lib/services/dataChannel/dataChannel.service.d.ts +102 -0
- package/lib/services/dataChannel/dataChannel.service.d.ts.map +1 -0
- package/lib/services/dataChannel/index.d.ts +3 -0
- package/lib/services/dataChannel/index.d.ts.map +1 -0
- package/lib/services/deviceManagement/deviceEchoFilter.d.ts +86 -0
- package/lib/services/deviceManagement/deviceEchoFilter.d.ts.map +1 -0
- package/lib/services/deviceManagement/deviceManagement.service.d.ts +290 -0
- package/lib/services/deviceManagement/deviceManagement.service.d.ts.map +1 -0
- package/lib/services/deviceManagement/index.d.ts +2 -0
- package/lib/services/deviceManagement/index.d.ts.map +1 -0
- package/lib/services/deviceManagement/webHidManager.service.d.ts +616 -0
- package/lib/services/deviceManagement/webHidManager.service.d.ts.map +1 -0
- package/lib/services/directory/directory.service.d.ts +108 -0
- package/lib/services/directory/directory.service.d.ts.map +1 -0
- package/lib/services/directory/index.d.ts +3 -0
- package/lib/services/directory/index.d.ts.map +1 -0
- package/lib/services/directory/office365ad.service.d.ts +74 -0
- package/lib/services/directory/office365ad.service.d.ts.map +1 -0
- package/lib/services/directory/personal-directory.service.d.ts +425 -0
- package/lib/services/directory/personal-directory.service.d.ts.map +1 -0
- package/lib/services/directory/phonebook.service.d.ts +43 -0
- package/lib/services/directory/phonebook.service.d.ts.map +1 -0
- package/lib/services/event-mixin.d.ts +75 -0
- package/lib/services/event-mixin.d.ts.map +1 -0
- package/lib/services/favorites/favorites.service.d.ts +313 -0
- package/lib/services/favorites/favorites.service.d.ts.map +1 -0
- package/lib/services/favorites/index.d.ts +3 -0
- package/lib/services/favorites/index.d.ts.map +1 -0
- package/lib/services/fileDocument/fileDocument.service.d.ts +229 -0
- package/lib/services/fileDocument/fileDocument.service.d.ts.map +1 -0
- package/lib/services/fileDocument/index.d.ts +5 -0
- package/lib/services/fileDocument/index.d.ts.map +1 -0
- package/lib/services/files/fileDescriptorEventHandler.service.d.ts +18 -0
- package/lib/services/files/fileDescriptorEventHandler.service.d.ts.map +1 -0
- package/lib/services/files/fileServer.service.d.ts +268 -0
- package/lib/services/files/fileServer.service.d.ts.map +1 -0
- package/lib/services/files/fileStorage.service.d.ts +426 -0
- package/lib/services/files/fileStorage.service.d.ts.map +1 -0
- package/lib/services/helpcenter/helpCenter.service.d.ts +207 -0
- package/lib/services/helpcenter/helpCenter.service.d.ts.map +1 -0
- package/lib/services/helpcenter/index.d.ts +4 -0
- package/lib/services/helpcenter/index.d.ts.map +1 -0
- package/lib/services/helpcenter/whatsNew.service.d.ts +47 -0
- package/lib/services/helpcenter/whatsNew.service.d.ts.map +1 -0
- package/lib/services/horizon/horizon.service.d.ts +31 -0
- package/lib/services/horizon/horizon.service.d.ts.map +1 -0
- package/lib/services/horizon/index.d.ts +3 -0
- package/lib/services/horizon/index.d.ts.map +1 -0
- package/lib/services/index.d.ts +35 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/launcher/config/sdkLaunchConfig.d.ts +8 -0
- package/lib/services/launcher/config/sdkLaunchConfig.d.ts.map +1 -0
- package/lib/services/localTranslation/chromeTranslation.engine.d.ts +79 -0
- package/lib/services/localTranslation/chromeTranslation.engine.d.ts.map +1 -0
- package/lib/services/localTranslation/index.d.ts +6 -0
- package/lib/services/localTranslation/index.d.ts.map +1 -0
- package/lib/services/localTranslation/localTranslation.service.d.ts +129 -0
- package/lib/services/localTranslation/localTranslation.service.d.ts.map +1 -0
- package/lib/services/localTranslation/translationEngine.d.ts +81 -0
- package/lib/services/localTranslation/translationEngine.d.ts.map +1 -0
- package/lib/services/metrics/analytics.service.d.ts +63 -0
- package/lib/services/metrics/analytics.service.d.ts.map +1 -0
- package/lib/services/metrics/index.d.ts +2 -0
- package/lib/services/metrics/index.d.ts.map +1 -0
- package/lib/services/notifications/index.d.ts +2 -0
- package/lib/services/notifications/index.d.ts.map +1 -0
- package/lib/services/notifications/notificationCenter.service.d.ts +178 -0
- package/lib/services/notifications/notificationCenter.service.d.ts.map +1 -0
- package/lib/services/notifications/notificationsViewer.service.d.ts +46 -0
- package/lib/services/notifications/notificationsViewer.service.d.ts.map +1 -0
- package/lib/services/personalRoutines/personal-routines.service.d.ts +159 -0
- package/lib/services/personalRoutines/personal-routines.service.d.ts.map +1 -0
- package/lib/services/polls/index.d.ts +2 -0
- package/lib/services/polls/index.d.ts.map +1 -0
- package/lib/services/polls/polls.service.d.ts +139 -0
- package/lib/services/polls/polls.service.d.ts.map +1 -0
- package/lib/services/ringing/index.d.ts +2 -0
- package/lib/services/ringing/index.d.ts.map +1 -0
- package/lib/services/ringing/ringing.service.d.ts +535 -0
- package/lib/services/ringing/ringing.service.d.ts.map +1 -0
- package/lib/services/rpc/index.d.ts +2 -0
- package/lib/services/rpc/index.d.ts.map +1 -0
- package/lib/services/rpc/rpc.service.d.ts +75 -0
- package/lib/services/rpc/rpc.service.d.ts.map +1 -0
- package/lib/services/service.d.ts +9 -0
- package/lib/services/service.d.ts.map +1 -0
- package/lib/services/speechRecognitionService/speechRecognition.service.d.ts +87 -0
- package/lib/services/speechRecognitionService/speechRecognition.service.d.ts.map +1 -0
- package/lib/services/subscription/index.d.ts +4 -0
- package/lib/services/subscription/index.d.ts.map +1 -0
- package/lib/services/subscription/invoices.service.d.ts +78 -0
- package/lib/services/subscription/invoices.service.d.ts.map +1 -0
- package/lib/services/subscription/paymentMethods.service.d.ts +164 -0
- package/lib/services/subscription/paymentMethods.service.d.ts.map +1 -0
- package/lib/services/subscription/subscription.service.d.ts +510 -0
- package/lib/services/subscription/subscription.service.d.ts.map +1 -0
- package/lib/services/support/index.d.ts +2 -0
- package/lib/services/support/index.d.ts.map +1 -0
- package/lib/services/support/support.model.d.ts +143 -0
- package/lib/services/support/support.model.d.ts.map +1 -0
- package/lib/services/support/support.service.d.ts +162 -0
- package/lib/services/support/support.service.d.ts.map +1 -0
- package/lib/services/telemetry/index.d.ts +3 -0
- package/lib/services/telemetry/index.d.ts.map +1 -0
- package/lib/services/telemetry/jsonRPC.service.d.ts +25 -0
- package/lib/services/telemetry/jsonRPC.service.d.ts.map +1 -0
- package/lib/services/telemetry/telemetry.service.d.ts +22 -0
- package/lib/services/telemetry/telemetry.service.d.ts.map +1 -0
- package/lib/services/telephony/index.d.ts +4 -0
- package/lib/services/telephony/index.d.ts.map +1 -0
- package/lib/services/telephony/supervision.service.d.ts +277 -0
- package/lib/services/telephony/supervision.service.d.ts.map +1 -0
- package/lib/services/telephony/telephony.service.d.ts +1476 -0
- package/lib/services/telephony/telephony.service.d.ts.map +1 -0
- package/lib/services/telephony/telephonyCcdAgent.service.d.ts +63 -0
- package/lib/services/telephony/telephonyCcdAgent.service.d.ts.map +1 -0
- package/lib/services/telephony/telephonyHybridEventHandler.d.ts +360 -0
- package/lib/services/telephony/telephonyHybridEventHandler.d.ts.map +1 -0
- package/lib/services/telephony/telephonyKeys.service.d.ts +86 -0
- package/lib/services/telephony/telephonyKeys.service.d.ts.map +1 -0
- package/lib/services/telephony/telephonySipWise.service.d.ts +543 -0
- package/lib/services/telephony/telephonySipWise.service.d.ts.map +1 -0
- package/lib/services/telephony/telephonySipWiseEventHandler.d.ts +462 -0
- package/lib/services/telephony/telephonySipWiseEventHandler.d.ts.map +1 -0
- package/lib/services/telephonyConfig/index.d.ts +3 -0
- package/lib/services/telephonyConfig/index.d.ts.map +1 -0
- package/lib/services/telephonyConfig/telephonyConfig.service.d.ts +150 -0
- package/lib/services/telephonyConfig/telephonyConfig.service.d.ts.map +1 -0
- package/lib/services/todo/todo.service.d.ts +358 -0
- package/lib/services/todo/todo.service.d.ts.map +1 -0
- package/lib/services/transcription/index.d.ts +2 -0
- package/lib/services/transcription/index.d.ts.map +1 -0
- package/lib/services/transcription/liveTranscription.service.d.ts +94 -0
- package/lib/services/transcription/liveTranscription.service.d.ts.map +1 -0
- package/lib/services/ulrMetadata/urlMetadata.service.d.ts +51 -0
- package/lib/services/ulrMetadata/urlMetadata.service.d.ts.map +1 -0
- package/lib/services/users/index.d.ts +3 -0
- package/lib/services/users/index.d.ts.map +1 -0
- package/lib/services/users/user.service.d.ts +146 -0
- package/lib/services/users/user.service.d.ts.map +1 -0
- package/lib/services/users/usersLists.service.d.ts +239 -0
- package/lib/services/users/usersLists.service.d.ts.map +1 -0
- package/lib/services/utilities/browserDatabase.service.d.ts +69 -0
- package/lib/services/utilities/browserDatabase.service.d.ts.map +1 -0
- package/lib/services/utilities/errorHelper.service.d.ts +24 -0
- package/lib/services/utilities/errorHelper.service.d.ts.map +1 -0
- package/lib/services/utilities/index.d.ts +4 -0
- package/lib/services/utilities/index.d.ts.map +1 -0
- package/lib/services/utilities/utilities.service.d.ts +74 -0
- package/lib/services/utilities/utilities.service.d.ts.map +1 -0
- package/lib/services/virtualBackground/RBVirtualBackground.service.d.ts +228 -0
- package/lib/services/virtualBackground/RBVirtualBackground.service.d.ts.map +1 -0
- package/lib/services/virtualBackground/index.d.ts +4 -0
- package/lib/services/virtualBackground/index.d.ts.map +1 -0
- package/lib/services/virtualBackground/personalVideoBackground.d.ts +190 -0
- package/lib/services/virtualBackground/personalVideoBackground.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/canvas2D/canvas2DPipeline.d.ts +66 -0
- package/lib/services/virtualBackground/pipeline/canvas2D/canvas2DPipeline.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/blurStage.d.ts +88 -0
- package/lib/services/virtualBackground/pipeline/webgl2/blurStage.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/imageStage.d.ts +69 -0
- package/lib/services/virtualBackground/pipeline/webgl2/imageStage.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/jointBilateralFilter.d.ts +55 -0
- package/lib/services/virtualBackground/pipeline/webgl2/jointBilateralFilter.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/resizingStage.d.ts +59 -0
- package/lib/services/virtualBackground/pipeline/webgl2/resizingStage.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/softMax.d.ts +34 -0
- package/lib/services/virtualBackground/pipeline/webgl2/softMax.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/webgl2Pipeline.d.ts +62 -0
- package/lib/services/virtualBackground/pipeline/webgl2/webgl2Pipeline.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/webglHelper.d.ts +56 -0
- package/lib/services/virtualBackground/pipeline/webgl2/webglHelper.d.ts.map +1 -0
- package/lib/services/virtualBackground/virtualBackground.service.d.ts +399 -0
- package/lib/services/virtualBackground/virtualBackground.service.d.ts.map +1 -0
- package/lib/services/webinars/index.d.ts +10 -0
- package/lib/services/webinars/index.d.ts.map +1 -0
- package/lib/services/webinars/telemetry/webinarTelemetry.model.d.ts +71 -0
- package/lib/services/webinars/telemetry/webinarTelemetry.model.d.ts.map +1 -0
- package/lib/services/webinars/telemetry/webinarTelemetry.service.d.ts +86 -0
- package/lib/services/webinars/telemetry/webinarTelemetry.service.d.ts.map +1 -0
- package/lib/services/webinars/telemetry/webinarTelemetryDatabase.d.ts +31 -0
- package/lib/services/webinars/telemetry/webinarTelemetryDatabase.d.ts.map +1 -0
- package/lib/services/webinars/webinarAudioMixer.d.ts +45 -0
- package/lib/services/webinars/webinarAudioMixer.d.ts.map +1 -0
- package/lib/services/webinars/webinarConference.service.d.ts +323 -0
- package/lib/services/webinars/webinarConference.service.d.ts.map +1 -0
- package/lib/services/webinars/webinarConference.utils.d.ts +24 -0
- package/lib/services/webinars/webinarConference.utils.d.ts.map +1 -0
- package/lib/services/webinars/webinarParticipants.service.d.ts +43 -0
- package/lib/services/webinars/webinarParticipants.service.d.ts.map +1 -0
- package/lib/services/webinars/webinarSpeakers.service.d.ts +25 -0
- package/lib/services/webinars/webinarSpeakers.service.d.ts.map +1 -0
- package/lib/services/webinars/webinarStoryLine.service.d.ts +117 -0
- package/lib/services/webinars/webinarStoryLine.service.d.ts.map +1 -0
- package/lib/services/webinars/webinars.service.d.ts +600 -0
- package/lib/services/webinars/webinars.service.d.ts.map +1 -0
- package/lib/services/webrtc/index.d.ts +5 -0
- package/lib/services/webrtc/index.d.ts.map +1 -0
- package/lib/services/webrtc/webrtcConfigAndUtils.d.ts +170 -0
- package/lib/services/webrtc/webrtcConfigAndUtils.d.ts.map +1 -0
- package/lib/services/webrtc/webrtcP2P.service.d.ts +521 -0
- package/lib/services/webrtc/webrtcP2P.service.d.ts.map +1 -0
- package/lib/services/webrtc/webrtcP2PEventHandler.d.ts +55 -0
- package/lib/services/webrtc/webrtcP2PEventHandler.d.ts.map +1 -0
- package/lib/services/webrtcGateway/webrtcGateway.service.d.ts +605 -0
- package/lib/services/webrtcGateway/webrtcGateway.service.d.ts.map +1 -0
- package/lib/strophejs.d.ts +3 -0
- package/lib/strophejs.d.ts.map +1 -0
- package/lib/typings/helpers.d.ts +3 -0
- package/lib/typings/helpers.d.ts.map +1 -0
- package/lib/utils/allSettled.d.ts +2 -0
- package/lib/utils/allSettled.d.ts.map +1 -0
- package/lib/utils/anonymizer.d.ts +28 -0
- package/lib/utils/anonymizer.d.ts.map +1 -0
- package/lib/utils/branded.d.ts +4 -0
- package/lib/utils/branded.d.ts.map +1 -0
- package/lib/utils/browser.d.ts +231 -0
- package/lib/utils/browser.d.ts.map +1 -0
- package/lib/utils/index.d.ts +12 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/mediaPermissionError.d.ts +2 -0
- package/lib/utils/mediaPermissionError.d.ts.map +1 -0
- package/lib/utils/promiseQueue.d.ts +10 -0
- package/lib/utils/promiseQueue.d.ts.map +1 -0
- package/lib/utils/randomString.d.ts +3 -0
- package/lib/utils/randomString.d.ts.map +1 -0
- package/lib/utils/recordingArchiveName.d.ts +13 -0
- package/lib/utils/recordingArchiveName.d.ts.map +1 -0
- package/lib/utils/serverTimestamp.d.ts +15 -0
- package/lib/utils/serverTimestamp.d.ts.map +1 -0
- package/lib/utils/stringifyError.d.ts +2 -0
- package/lib/utils/stringifyError.d.ts.map +1 -0
- package/lib/utils/video.d.ts +27 -0
- package/lib/utils/video.d.ts.map +1 -0
- package/lib/utils/wait.d.ts +2 -0
- package/lib/utils/wait.d.ts.map +1 -0
- package/lib/utils/xmlParser.d.ts +102 -0
- package/lib/utils/xmlParser.d.ts.map +1 -0
- package/lib/utils/xmlValidation.d.ts +119 -0
- package/lib/utils/xmlValidation.d.ts.map +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
import type { Subscription } from "rxjs";
|
|
2
|
+
import { BehaviorSubject, Subject } from "rxjs";
|
|
3
|
+
import { RBEvent } from "../../models/event.model";
|
|
4
|
+
import { Service } from "../../services/service";
|
|
5
|
+
import type { AutoFrameZoom } from "../../services/virtualBackground/RBVirtualBackground.service";
|
|
6
|
+
import type { PersonalVideoBackground } from "../../services/virtualBackground/personalVideoBackground";
|
|
7
|
+
export declare const VIRTUAL_BACKGROUND_SVC: string;
|
|
8
|
+
/**
|
|
9
|
+
* @module VirtualBackground
|
|
10
|
+
* This service manages the statistics of the virtual background
|
|
11
|
+
*/
|
|
12
|
+
export declare const glsl: (template: {
|
|
13
|
+
raw: readonly string[] | ArrayLike<string>;
|
|
14
|
+
}, ...substitutions: any[]) => string;
|
|
15
|
+
export declare const segmentationDimensions: {
|
|
16
|
+
model96: {
|
|
17
|
+
height: number;
|
|
18
|
+
width: number;
|
|
19
|
+
};
|
|
20
|
+
model144: {
|
|
21
|
+
height: number;
|
|
22
|
+
width: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare const VIRTUAL_BACKGROUND_TYPE: {
|
|
26
|
+
IMAGE: string;
|
|
27
|
+
BLUR: string;
|
|
28
|
+
BLUR_PLUS: string;
|
|
29
|
+
NONE: string;
|
|
30
|
+
VIDEO: string;
|
|
31
|
+
};
|
|
32
|
+
/** What the pipeline composes at unless a caller asks for more; see `setOutputResolution`. */
|
|
33
|
+
export declare const DEFAULT_OUTPUT_RESOLUTION: {
|
|
34
|
+
width: number;
|
|
35
|
+
height: number;
|
|
36
|
+
};
|
|
37
|
+
export interface Dimensions {
|
|
38
|
+
height: number;
|
|
39
|
+
width: number;
|
|
40
|
+
}
|
|
41
|
+
export interface Options {
|
|
42
|
+
backgroundType: string;
|
|
43
|
+
imgBg?: string;
|
|
44
|
+
stream?: MediaStream;
|
|
45
|
+
segmentationDimensions?: Dimensions;
|
|
46
|
+
}
|
|
47
|
+
export interface IVideoPipeline {
|
|
48
|
+
init: () => void;
|
|
49
|
+
render: () => void;
|
|
50
|
+
cleanUp: () => void;
|
|
51
|
+
updatePostProcessingConfig: () => void;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @eventProperty
|
|
55
|
+
*/
|
|
56
|
+
export declare enum VirtualBackgroundServiceEvents {
|
|
57
|
+
/**
|
|
58
|
+
* @eventProperty
|
|
59
|
+
* This `RBEvent` is sent when the virtuallBackgroundService stream is updated
|
|
60
|
+
*/
|
|
61
|
+
UPDATE_STREAM = "UPDATE_STREAM",
|
|
62
|
+
/**
|
|
63
|
+
* @eventProperty
|
|
64
|
+
* This `RBEvent` is sent when the virtuallBackgroundService mirror style is updated
|
|
65
|
+
*/
|
|
66
|
+
UPDATE_STREAM_MIRROR = "UPDATE_STREAM_MIRROR",
|
|
67
|
+
/**
|
|
68
|
+
* @eventProperty
|
|
69
|
+
* This `RBEvent` is sent when the virtual background can no longer process the camera (e.g. its GPU program
|
|
70
|
+
* failed to build on this machine). The processed stream then carries blank frames: stop publishing it.
|
|
71
|
+
*/
|
|
72
|
+
PROCESSING_FAILED = "PROCESSING_FAILED"
|
|
73
|
+
}
|
|
74
|
+
/** What `getBackgroundMode()` reports: the installed background's type, and its URL when it has one. */
|
|
75
|
+
export interface VirtualBackgroundMode {
|
|
76
|
+
type: string;
|
|
77
|
+
url: string;
|
|
78
|
+
}
|
|
79
|
+
export interface VirtualBackgroundService {
|
|
80
|
+
/**
|
|
81
|
+
* Subscribe to updates from the service (all events are of RBEvent type
|
|
82
|
+
* @param handler - The call-back function that will be subscribed to the RxJS subject
|
|
83
|
+
* @param eventNames - Array of event to listen
|
|
84
|
+
*/
|
|
85
|
+
start: () => Promise<void>;
|
|
86
|
+
stop: () => Promise<void>;
|
|
87
|
+
reconnect: () => Promise<void>;
|
|
88
|
+
subscribe: (handler: (event: RBEvent<VirtualBackgroundServiceEvents>) => any, eventNames?: VirtualBackgroundServiceEvents | VirtualBackgroundServiceEvents[]) => Subscription;
|
|
89
|
+
startProcessStream: (stream: MediaStream, serviceName?: string) => Promise<MediaStream>;
|
|
90
|
+
stopProcessStream: () => Promise<void>;
|
|
91
|
+
/**
|
|
92
|
+
* Install a background.
|
|
93
|
+
* @param force - reinstall even when the mode and URL are unchanged. Needed whenever the
|
|
94
|
+
* identity of the background cannot be told from those two alone: a live stream has no URL, and
|
|
95
|
+
* restoring a video background from over a stream would otherwise look like a no-op.
|
|
96
|
+
*/
|
|
97
|
+
setBackgroundMode: (mode: string, url?: string, stream?: MediaStream, force?: boolean) => Promise<void>;
|
|
98
|
+
setVideoAppearance: (rect: number[]) => any;
|
|
99
|
+
/**
|
|
100
|
+
* Resize the composed picture the pipeline produces.
|
|
101
|
+
*
|
|
102
|
+
* Only worth raising when the background carries detail the viewer has to read -- a screen
|
|
103
|
+
* share inlaid behind the speaker, typically. The segmentation runs on every frame, so the
|
|
104
|
+
* cost grows with the surface: put it back to {@link DEFAULT_OUTPUT_RESOLUTION} afterwards.
|
|
105
|
+
* No-op on the legacy path, which has no such pipeline.
|
|
106
|
+
*/
|
|
107
|
+
setOutputResolution: (width: number, height: number) => void;
|
|
108
|
+
/**
|
|
109
|
+
* Tell whether this implementation can really inlay the subject over the background
|
|
110
|
+
* (`setVideoAppearance`). Only the worker + WebGL2 pipeline can: the legacy one implements the
|
|
111
|
+
* method as a no-op, so callers must hide the related UI rather than expose a dead control.
|
|
112
|
+
*/
|
|
113
|
+
supportsVideoAppearance: () => boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Set how tight the auto-framing crop is: 0 for the pure wide picture (no crop and no
|
|
116
|
+
* recentring at all), 1 to 3 for progressively tighter framings. Levels above 0 are only
|
|
117
|
+
* effective while a background effect is active.
|
|
118
|
+
*/
|
|
119
|
+
setAutoFrameZoom: (level: AutoFrameZoom) => Promise<void>;
|
|
120
|
+
/** Measure the subject again from where they are now and freeze a new framing. */
|
|
121
|
+
recenterAutoFrame: () => Promise<void>;
|
|
122
|
+
getAutoFrameZoom: () => AutoFrameZoom;
|
|
123
|
+
/** The background currently installed: its type, and the image/video URL when the type has one. */
|
|
124
|
+
getBackgroundMode: () => VirtualBackgroundMode;
|
|
125
|
+
setMirror: (mirror: boolean) => void;
|
|
126
|
+
getMirror: () => boolean;
|
|
127
|
+
setFramerate: (framerate: number) => void;
|
|
128
|
+
putAdminBackgroundImage: (backgroundCompany: any) => Promise<void>;
|
|
129
|
+
deleteAdminBackgroundImage: (backgroundIdAdmin: string) => Promise<void>;
|
|
130
|
+
putPersonnalBackgroundImage: (backgroundUser: any, loadBgUrl: string) => Promise<void>;
|
|
131
|
+
deletePersonnalBackgroundImage: (backgroundIdUser: string) => Promise<void>;
|
|
132
|
+
putPersonnalBackgroundVideo: (file: File) => Promise<PersonalVideoBackground>;
|
|
133
|
+
deletePersonnalBackgroundVideo: (backgroundIdUser: string) => Promise<void>;
|
|
134
|
+
personalVideoBackgrounds: BehaviorSubject<PersonalVideoBackground[]>;
|
|
135
|
+
authorized: () => boolean;
|
|
136
|
+
backgroundImages: BehaviorSubject<any>;
|
|
137
|
+
loadBg: BehaviorSubject<any>;
|
|
138
|
+
}
|
|
139
|
+
/** @internal */
|
|
140
|
+
export declare class VirtualBackgroundServiceRB extends Service implements VirtualBackgroundService {
|
|
141
|
+
private settingsService;
|
|
142
|
+
private profileService;
|
|
143
|
+
private logger;
|
|
144
|
+
private contactService;
|
|
145
|
+
private authService;
|
|
146
|
+
private errorHelperService;
|
|
147
|
+
private xmppService;
|
|
148
|
+
private videoPipeline;
|
|
149
|
+
statsEnabledFlag: boolean;
|
|
150
|
+
private statsInterval;
|
|
151
|
+
private started;
|
|
152
|
+
private stream;
|
|
153
|
+
private modifiedStream;
|
|
154
|
+
options: Options;
|
|
155
|
+
segmentationPixelCount: number;
|
|
156
|
+
tflite: any;
|
|
157
|
+
backgroundImages: BehaviorSubject<any>;
|
|
158
|
+
loadBg: BehaviorSubject<any>;
|
|
159
|
+
personalVideoBackgrounds: BehaviorSubject<PersonalVideoBackground[]>;
|
|
160
|
+
private readonly personalVideoManager;
|
|
161
|
+
gl: any;
|
|
162
|
+
segmentationMaskCanvas: HTMLCanvasElement;
|
|
163
|
+
private isStreamMirrored;
|
|
164
|
+
simdSupported: boolean;
|
|
165
|
+
segmentationTexture: WebGLTexture;
|
|
166
|
+
personMaskTexture: WebGLTexture;
|
|
167
|
+
private xmppSubscription;
|
|
168
|
+
outputCanvasElement: HTMLCanvasElement | null;
|
|
169
|
+
videoElement: HTMLVideoElement | null;
|
|
170
|
+
testVideo: HTMLVideoElement | null;
|
|
171
|
+
ctx: any;
|
|
172
|
+
maskFrameTimerWorker: Worker;
|
|
173
|
+
virtualImage: CanvasImageSource;
|
|
174
|
+
virtualVideo: CanvasImageSource;
|
|
175
|
+
rxSubject: Subject<any>;
|
|
176
|
+
texture: any;
|
|
177
|
+
vertexShader: WebGLShader;
|
|
178
|
+
outputMemoryOffset: number;
|
|
179
|
+
webglFlag: boolean;
|
|
180
|
+
webglAllowed: boolean;
|
|
181
|
+
sigmaColor: any;
|
|
182
|
+
sigmaSpace: any;
|
|
183
|
+
coverageMax: any;
|
|
184
|
+
coverageMin: any;
|
|
185
|
+
lightWrapping: any;
|
|
186
|
+
blendMode: any;
|
|
187
|
+
private models;
|
|
188
|
+
private settings;
|
|
189
|
+
private tasksCanvas;
|
|
190
|
+
private webglSubscription;
|
|
191
|
+
static getInstance(): VirtualBackgroundServiceRB;
|
|
192
|
+
static build(): VirtualBackgroundServiceRB;
|
|
193
|
+
private constructor();
|
|
194
|
+
authorized(): boolean;
|
|
195
|
+
subscribe(handler: (event: RBEvent<VirtualBackgroundServiceEvents>) => any, eventNames?: VirtualBackgroundServiceEvents | VirtualBackgroundServiceEvents[]): Subscription;
|
|
196
|
+
/** **************************************************************************/
|
|
197
|
+
/** SERVICE LIFECYCLE */
|
|
198
|
+
/** **************************************************************************/
|
|
199
|
+
/**
|
|
200
|
+
* This async method has to be call to start the virtual Background Service
|
|
201
|
+
*/
|
|
202
|
+
start(): Promise<void>;
|
|
203
|
+
/**
|
|
204
|
+
* This async method has to be call to stop the virtual Background Service
|
|
205
|
+
*/
|
|
206
|
+
stop(): Promise<void>;
|
|
207
|
+
/**
|
|
208
|
+
* This async method has to be call to reconnect the virtual Background Service
|
|
209
|
+
*/
|
|
210
|
+
reconnect(): Promise<void>;
|
|
211
|
+
setVideoAppearance(_rect: number[]): void;
|
|
212
|
+
setOutputResolution(_width: number, _height: number): void;
|
|
213
|
+
supportsVideoAppearance(): boolean;
|
|
214
|
+
setAutoFrameZoom(_level: AutoFrameZoom): Promise<void>;
|
|
215
|
+
recenterAutoFrame(): Promise<void>;
|
|
216
|
+
getAutoFrameZoom(): AutoFrameZoom;
|
|
217
|
+
/**
|
|
218
|
+
* XMPP room event handler
|
|
219
|
+
* @param stanza - the xmpp stanza event handler
|
|
220
|
+
*/
|
|
221
|
+
private onXmppEvent;
|
|
222
|
+
/** **************************************************************************/
|
|
223
|
+
/** PUBLIC STUFF */
|
|
224
|
+
/** **************************************************************************/
|
|
225
|
+
/**
|
|
226
|
+
* Start the process stream
|
|
227
|
+
* @param stream - The MediaStream that we will process
|
|
228
|
+
* @param serviceName - The name of service that calls the method (optional, for debug purpose)
|
|
229
|
+
*/
|
|
230
|
+
startProcessStream(stream: MediaStream, serviceName?: string): Promise<MediaStream>;
|
|
231
|
+
/**
|
|
232
|
+
* Stop the effect of virtual Background
|
|
233
|
+
*/
|
|
234
|
+
stopProcessStream(): Promise<void>;
|
|
235
|
+
/**
|
|
236
|
+
* Set the type and url of the virtual background
|
|
237
|
+
* @param type - The type of virtual Background ('none", 'image', 'blur', 'blur-plus', 'video')
|
|
238
|
+
* @param url -The url of virtual Background
|
|
239
|
+
*/
|
|
240
|
+
setBackgroundMode(type: string, url?: string, stream?: MediaStream, force?: boolean): Promise<void>;
|
|
241
|
+
/**
|
|
242
|
+
* Get the type and url od the virtual background
|
|
243
|
+
*/
|
|
244
|
+
getBackgroundMode(): VirtualBackgroundMode;
|
|
245
|
+
/**
|
|
246
|
+
* Set the stream in mirror mode or not
|
|
247
|
+
* @param mirror - True if the stream is in mirror mode
|
|
248
|
+
*/
|
|
249
|
+
setMirror(mirror: boolean): void;
|
|
250
|
+
/**
|
|
251
|
+
* Return true if the stream is in mirror mode
|
|
252
|
+
*/
|
|
253
|
+
getMirror(): boolean;
|
|
254
|
+
/**
|
|
255
|
+
* Return true if the calculation of stats is activated
|
|
256
|
+
*/
|
|
257
|
+
enableStats(enabled: boolean): void;
|
|
258
|
+
setFramerate(framerate: number): void;
|
|
259
|
+
/** **************************************************************************/
|
|
260
|
+
/** PRIVATE STUFF */
|
|
261
|
+
/** **************************************************************************/
|
|
262
|
+
private webglAvailable;
|
|
263
|
+
/**
|
|
264
|
+
* Start the effect of Virtual Background
|
|
265
|
+
* @returns {MediaStream} return a MediaStream with a AudioTrack
|
|
266
|
+
*/
|
|
267
|
+
private startEffect;
|
|
268
|
+
/**
|
|
269
|
+
* @function stopEffect
|
|
270
|
+
* @instance
|
|
271
|
+
* @private
|
|
272
|
+
* @async
|
|
273
|
+
* @description Stop the effect of Virtual Background
|
|
274
|
+
*/
|
|
275
|
+
private stopEffect;
|
|
276
|
+
/**
|
|
277
|
+
* @function setInputStream
|
|
278
|
+
* @instance
|
|
279
|
+
* @private
|
|
280
|
+
* @async
|
|
281
|
+
* @param {MediaStream} stream The MediaStream that we will process
|
|
282
|
+
* @description Initialize the stream and the virtual background
|
|
283
|
+
* @returns {Promise<MediaStream>} return a promise of the modified MediaStream
|
|
284
|
+
*/
|
|
285
|
+
private setInputStream;
|
|
286
|
+
/**
|
|
287
|
+
* @function initVirtualBackground
|
|
288
|
+
* @instance
|
|
289
|
+
* @private
|
|
290
|
+
* @async
|
|
291
|
+
* @description initialize the virtual background according to the supported model
|
|
292
|
+
*/
|
|
293
|
+
private initVirtualBackground;
|
|
294
|
+
/**
|
|
295
|
+
* @function onMaskFrameTimer
|
|
296
|
+
* @instance
|
|
297
|
+
* @private
|
|
298
|
+
* @param {any} response response
|
|
299
|
+
* @description calls the renderMask function if the id is the expected one
|
|
300
|
+
*/
|
|
301
|
+
private onMaskFrameTimer;
|
|
302
|
+
/**
|
|
303
|
+
* @function wasmAvailable
|
|
304
|
+
* @instance
|
|
305
|
+
* @private
|
|
306
|
+
* @returns {boolean} return true if webassembly is available
|
|
307
|
+
*/
|
|
308
|
+
private wasmAvailable;
|
|
309
|
+
/**
|
|
310
|
+
* @function simdAvailable
|
|
311
|
+
* @instance
|
|
312
|
+
* @private
|
|
313
|
+
* @returns {boolean} return true if simd is available
|
|
314
|
+
*/
|
|
315
|
+
private simdAvailable;
|
|
316
|
+
/**
|
|
317
|
+
* @function render
|
|
318
|
+
* @private
|
|
319
|
+
* @async
|
|
320
|
+
* @description calls the render function of canvas2D or Webgl2 to create the virtual background
|
|
321
|
+
*/
|
|
322
|
+
private render;
|
|
323
|
+
/**
|
|
324
|
+
* @function cleanUp
|
|
325
|
+
* @private
|
|
326
|
+
* @description calls the cleanUp function of the used context
|
|
327
|
+
*/
|
|
328
|
+
private cleanUp;
|
|
329
|
+
/**
|
|
330
|
+
* @function getBackgrounds
|
|
331
|
+
* @instance
|
|
332
|
+
* @private
|
|
333
|
+
* @async
|
|
334
|
+
* @description Asynchronous method to get the user's Background Images
|
|
335
|
+
* @returns {Promise<any[]>} List of the user's virtual Background
|
|
336
|
+
*/
|
|
337
|
+
private getBackgrounds;
|
|
338
|
+
/**
|
|
339
|
+
* Asynchronous method to add user's virtual background on server
|
|
340
|
+
* @param backgroundUser - the background to add
|
|
341
|
+
* @param loadBgUrl - the local path of the background to add
|
|
342
|
+
*/
|
|
343
|
+
putPersonnalBackgroundImage(backgroundUser: any, loadBgUrl: string): Promise<void>;
|
|
344
|
+
/**
|
|
345
|
+
* Asynchronous method to delete user's virtual background on server
|
|
346
|
+
* @param backgroundIdUser - the id's background to delete
|
|
347
|
+
*/
|
|
348
|
+
deletePersonnalBackgroundImage(backgroundIdUser: string): Promise<void>;
|
|
349
|
+
/** **************************************************************************/
|
|
350
|
+
/** PERSONAL VIDEO BACKGROUNDS */
|
|
351
|
+
/** **************************************************************************/
|
|
352
|
+
/**
|
|
353
|
+
* Refresh the list of the user's own video backgrounds.
|
|
354
|
+
* Dead ids are dropped silently, so the selector always renders.
|
|
355
|
+
*/
|
|
356
|
+
refreshPersonalVideoBackgrounds(): Promise<void>;
|
|
357
|
+
/**
|
|
358
|
+
* Upload a video file and register it as a personal video background
|
|
359
|
+
* @param file - the video file to add
|
|
360
|
+
*/
|
|
361
|
+
putPersonnalBackgroundVideo(file: File): Promise<PersonalVideoBackground>;
|
|
362
|
+
/**
|
|
363
|
+
* Delete one of the user's own video backgrounds
|
|
364
|
+
* @param backgroundIdUser - the id's background to delete
|
|
365
|
+
*/
|
|
366
|
+
deletePersonnalBackgroundVideo(backgroundIdUser: string): Promise<void>;
|
|
367
|
+
/**
|
|
368
|
+
* Resolve a background url into something playable: a personal video URI is
|
|
369
|
+
* downloaded and turned into a blob URL, any other url is returned as-is.
|
|
370
|
+
* @param url - the stored background url
|
|
371
|
+
*/
|
|
372
|
+
private resolveBackgroundUrl;
|
|
373
|
+
/** **************************************************************************/
|
|
374
|
+
/** ADMIN */
|
|
375
|
+
/** **************************************************************************/
|
|
376
|
+
/**
|
|
377
|
+
* @function putAdminBackgroundImage
|
|
378
|
+
* @instance
|
|
379
|
+
* @public
|
|
380
|
+
* @async
|
|
381
|
+
* @description Asynchronous method to add company's virtual background on server
|
|
382
|
+
* @param {any} backgroundCompany the background to add
|
|
383
|
+
* @returns {void} Returns the server response
|
|
384
|
+
*/
|
|
385
|
+
putAdminBackgroundImage(backgroundCompany: any): Promise<void>;
|
|
386
|
+
/**
|
|
387
|
+
* @function deleteAdminBackgroundImage
|
|
388
|
+
* @instance
|
|
389
|
+
* @public
|
|
390
|
+
* @async
|
|
391
|
+
* @description Asynchronous method to delete user's virtual background on server
|
|
392
|
+
* @param {string} backgroundIdAdmin the id's background to delete
|
|
393
|
+
*/
|
|
394
|
+
deleteAdminBackgroundImage(backgroundIdAdmin: string): Promise<void>;
|
|
395
|
+
setSetting(key: string, value: string): void;
|
|
396
|
+
getSetting(key: string): string;
|
|
397
|
+
setPostProcessingValue(): void;
|
|
398
|
+
}
|
|
399
|
+
//# sourceMappingURL=virtualBackground.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtualBackground.service.d.ts","sourceRoot":"","sources":["../../../src/services/virtualBackground/virtualBackground.service.ts"],"names":[],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AMtF;;;OAGG;IACU,8BAA8B,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKpF;;;;OAIG;YACW,oBAAoB;IAIlC,+EAA+E;IAC/E,6EAA6E;IAC7E,+EAA+E;IAE/E;;;;;;;;OAQG;IACU,uBAAuB,CAAC,iBAAiB,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAiB3E;;;;;;;OAOG;IACU,0BAA0B,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAe1E,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAoD5C,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAE/B,sBAAsB;CAQhC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type { WebinarService, WebinarServiceOptions } from "./webinars.service";
|
|
2
|
+
export type { WebinarConferenceService, PlaybackController } from "./webinarConference.service";
|
|
3
|
+
export type { WebinarStoryLineService } from "./webinarStoryLine.service";
|
|
4
|
+
export { WEBINAR_SVC, WebinarServiceEvents } from "./webinars.service";
|
|
5
|
+
export { WebinarStoryLineEvents } from "./webinarStoryLine.service";
|
|
6
|
+
export type { WebinarStoryLine, StoryLineItem, StoryLinePatchOperation, StoryLineItemStatus, StoryLineActionType, StoryLinePerson } from "./webinarStoryLine.service";
|
|
7
|
+
export { WebinarDB, WebinarSessionDB, WebinarLogEntryDB, WebinarLogEntryUserStateDB, WebinarUserDB } from "./telemetry/webinarTelemetry.model";
|
|
8
|
+
export { WEBINAR_TELEMETRY_SVC, WebinarTelemetryService } from "./telemetry/webinarTelemetry.service";
|
|
9
|
+
export { WebinarAudioMixer, WebinarAudioMixerEvents } from "./webinarAudioMixer";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/webinars/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChF,YAAY,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAChG,YAAY,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AACtK,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAC/I,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACtG,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { LogEntry, User, WebinarRB } from "../../../models";
|
|
2
|
+
export declare class WebinarDB {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
subject: string;
|
|
6
|
+
userId: string;
|
|
7
|
+
webinarRB: WebinarRB;
|
|
8
|
+
sessions?: WebinarSessionDB[];
|
|
9
|
+
active: boolean;
|
|
10
|
+
displayParams: {
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}[];
|
|
14
|
+
static fromPOJO(data: any): WebinarDB;
|
|
15
|
+
static createFromWebinarRB(webinarRB: WebinarRB): WebinarDB;
|
|
16
|
+
}
|
|
17
|
+
export declare class WebinarSessionDB {
|
|
18
|
+
id: string;
|
|
19
|
+
webinarId: string;
|
|
20
|
+
joinDate: number;
|
|
21
|
+
leaveDate?: number;
|
|
22
|
+
logs?: WebinarLogEntryDB[];
|
|
23
|
+
static fromPOJO(data: any): WebinarSessionDB;
|
|
24
|
+
static create(webinarDB: WebinarDB): WebinarSessionDB;
|
|
25
|
+
}
|
|
26
|
+
export declare class WebinarUserDB {
|
|
27
|
+
id: string;
|
|
28
|
+
displayName: string;
|
|
29
|
+
avatarURL: string;
|
|
30
|
+
companyName: string;
|
|
31
|
+
displayParams: {
|
|
32
|
+
label: string;
|
|
33
|
+
value: string;
|
|
34
|
+
}[];
|
|
35
|
+
static fromPOJO(data: any): WebinarUserDB;
|
|
36
|
+
static createFromUserRB(userRB: User): WebinarUserDB;
|
|
37
|
+
}
|
|
38
|
+
export declare class WebinarLogEntryUserStateDB {
|
|
39
|
+
mutedSFU: boolean;
|
|
40
|
+
mutedMCU: boolean;
|
|
41
|
+
stageAudioLevel: number;
|
|
42
|
+
audioConfig: string;
|
|
43
|
+
stage: any[];
|
|
44
|
+
get muted(): boolean;
|
|
45
|
+
}
|
|
46
|
+
export declare class WebinarLogEntryDB {
|
|
47
|
+
id?: number;
|
|
48
|
+
sid?: string;
|
|
49
|
+
timestamp: number;
|
|
50
|
+
webinarId: string;
|
|
51
|
+
sessionId: string;
|
|
52
|
+
level: string;
|
|
53
|
+
type: "action" | "event";
|
|
54
|
+
filter?: string;
|
|
55
|
+
method: string;
|
|
56
|
+
info?: string;
|
|
57
|
+
analysis?: string;
|
|
58
|
+
requestId?: string;
|
|
59
|
+
userId?: string;
|
|
60
|
+
askById?: string;
|
|
61
|
+
correlatorId?: string;
|
|
62
|
+
rawMethod?: string;
|
|
63
|
+
rawData?: string;
|
|
64
|
+
rawDataType?: string;
|
|
65
|
+
userState: WebinarLogEntryUserStateDB;
|
|
66
|
+
static fromPOJO(data: any): WebinarLogEntryDB;
|
|
67
|
+
static createFromLogEntry(webinarDB: WebinarDB, sessionDB: WebinarSessionDB, logEntry: LogEntry): WebinarLogEntryDB;
|
|
68
|
+
updateUserState(webinarDB: WebinarDB): void;
|
|
69
|
+
setMajor(): void;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=webinarTelemetry.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webinarTelemetry.model.d.ts","sourceRoot":"","sources":["../../../../src/services/webinars/telemetry/webinarTelemetry.model.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAA6B,MAAM,iBAAiB,CAAC;AAE5F,qBAAa,SAAS;IACX,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B,MAAM,EAAE,OAAO,CAAS;IACxB,aAAa,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;KAAE,EAAE,CAAM;WAEjD,QAAQ,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS;WAC9B,mBAAmB,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS;CAUrE;AAED,qBAAa,gBAAgB;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAG,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,iBAAiB,EAAE,CAAC;WAEpB,QAAQ,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB;WACrC,MAAM,CAAC,SAAS,EAAE,SAAS,GAAG,gBAAgB;CAM/D;AAED,qBAAa,aAAa;IACf,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE;QAAE,KAAK,EAAE,MAAM,CAA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AAe,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAmB3C,QAAQ,IAAI,IAAI;CAI1B"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { DataChannel, LogEntry } from "../../../models";
|
|
2
|
+
import { WebinarDB, WebinarLogEntryDB, WebinarSessionDB, WebinarUserDB } from "./webinarTelemetry.model";
|
|
3
|
+
import { Service } from "../../service";
|
|
4
|
+
export declare const WEBINAR_TELEMETRY_SVC = "WebinarTelemetryService";
|
|
5
|
+
export declare class WebinarTelemetryService extends Service {
|
|
6
|
+
static getInstance(): WebinarTelemetryService;
|
|
7
|
+
static build(): WebinarTelemetryService;
|
|
8
|
+
private constructor();
|
|
9
|
+
private handlers;
|
|
10
|
+
private webinarIds;
|
|
11
|
+
private currentUser?;
|
|
12
|
+
private currentWebinar?;
|
|
13
|
+
private currentSession?;
|
|
14
|
+
private webinarServiceRB;
|
|
15
|
+
private loggerService;
|
|
16
|
+
private telemetryService;
|
|
17
|
+
private jsonRPCService;
|
|
18
|
+
private contactService;
|
|
19
|
+
private surveyedWebinarId?;
|
|
20
|
+
private webinarTelemetryDatabase;
|
|
21
|
+
private ongoingWebinarPromises;
|
|
22
|
+
start(): Promise<void>;
|
|
23
|
+
stop(): Promise<void>;
|
|
24
|
+
getWebinars(): Promise<WebinarDB[]>;
|
|
25
|
+
getSession(params: any): Promise<WebinarSessionDB>;
|
|
26
|
+
getUser(): Promise<WebinarUserDB>;
|
|
27
|
+
getWebinar(webinarId: string): Promise<string>;
|
|
28
|
+
parseLogEntry(logEntry: LogEntry, dataChannel: DataChannel): Promise<WebinarLogEntryDB | undefined>;
|
|
29
|
+
private populateHandlers;
|
|
30
|
+
private joinWebinarHandler;
|
|
31
|
+
private startConferenceHandler;
|
|
32
|
+
private joinConferenceHandler;
|
|
33
|
+
private sessionInitiateHandler;
|
|
34
|
+
private sessionContentAddHandler;
|
|
35
|
+
private sessionContentRemoveHandler;
|
|
36
|
+
private terminateSessionHandler;
|
|
37
|
+
private leaveWebinarHandler;
|
|
38
|
+
private muteParticipantHandler;
|
|
39
|
+
private putOnStageHandler;
|
|
40
|
+
private shareAudioConfigHandler;
|
|
41
|
+
private updateStageHandler;
|
|
42
|
+
private subscribeToPublisherHandler;
|
|
43
|
+
private reconnectHandler;
|
|
44
|
+
private addSharingMediaHandler;
|
|
45
|
+
private removeSharingMediaHandler;
|
|
46
|
+
private askForStagingHandler;
|
|
47
|
+
private declineUnmuteInvitationHandler;
|
|
48
|
+
private startWebinarHandler;
|
|
49
|
+
private stopWebinarHandler;
|
|
50
|
+
private raiseHandHandler;
|
|
51
|
+
private lowerHandHandler;
|
|
52
|
+
private allowAttendeeToTalkHandler;
|
|
53
|
+
private disableAttendeeToTalkHandler;
|
|
54
|
+
private audioMixerAddBackstageAudioHandler;
|
|
55
|
+
private declineStagingInvitationHandler;
|
|
56
|
+
private audioMixerSetStageAudioLevelHandler;
|
|
57
|
+
private audioMixerAddAudioStreamHandler;
|
|
58
|
+
private onConferenceAddHandler;
|
|
59
|
+
private onNewParticipantHandler;
|
|
60
|
+
private onRemoveParticipantHandler;
|
|
61
|
+
private onUpdateParticipantHandler;
|
|
62
|
+
private onAddPublishersHandler;
|
|
63
|
+
private onRemovePublishersHandler;
|
|
64
|
+
private onSessionStateChangeHandler;
|
|
65
|
+
private onSessionCreateOfferHandler;
|
|
66
|
+
private onSessionSetLocalDescriptionHandler;
|
|
67
|
+
private onSessionSetRemoteDescriptionHandler;
|
|
68
|
+
private onSessionConnectedHandler;
|
|
69
|
+
private onSessionMessageHandler;
|
|
70
|
+
private onWebrtcStatsForSessionHandler;
|
|
71
|
+
private onICECandidateErrorHandler;
|
|
72
|
+
private onSessionTerminatedHandler;
|
|
73
|
+
private onConferenceRemoveHandler;
|
|
74
|
+
private onStageUpdateHandler;
|
|
75
|
+
private onXmppConnectionChangeHandler;
|
|
76
|
+
private onAskStagingMessageHandler;
|
|
77
|
+
private onMuteHandler;
|
|
78
|
+
private onUnmuteHandler;
|
|
79
|
+
private onWebinarStartHandler;
|
|
80
|
+
private onAllowTalkHandler;
|
|
81
|
+
private onDisableTalkHandler;
|
|
82
|
+
private getWebinarDB;
|
|
83
|
+
private getWebinarDBInternal;
|
|
84
|
+
private getOrCreateWebinarLogEntryDB;
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=webinarTelemetry.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webinarTelemetry.service.d.ts","sourceRoot":"","sources":["../../../../src/services/webinars/telemetry/webinarTelemetry.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAM7D,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzG,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAIxC,eAAO,MAAM,qBAAqB,4BAA4B,CAAC;AAE/D,qBAAa,uBAAwB,SAAQ,OAAO;WAClC,WAAW;WACX,KAAK;IACnB,OAAO;IAEP,OAAO,CAAC,QAAQ,CAAsG;IACtH,OAAO,CAAC,UAAU,CAAiC;IACnD,OAAO,CAAC,WAAW,CAAC,CAAgB;IACpC,OAAO,CAAC,cAAc,CAAC,CAAY;IACnC,OAAO,CAAC,cAAc,CAAC,CAAmB;IAC1C,OAAO,CAAC,gBAAgB,CAAkC;IAC1D,OAAO,CAAC,aAAa,CAA+B;IACpD,OAAO,CAAC,gBAAgB,CAAkC;IAC1D,OAAO,CAAC,cAAc,CAAgC;IACtD,OAAO,CAAC,cAAc,CAAgC;IACtD,OAAO,CAAC,iBAAiB,CAAC,CAAS;IACnC,OAAO,CAAC,wBAAwB,CAA2B;IAC3D,OAAO,CAAC,sBAAsB,CAA0C;IAE3D,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAStB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAOrB,WAAW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;IAEF,OAAO,CAAC,mCAAmC,CAQzC;IAEF,OAAO,CAAC,+BAA+B,CAMrC;IAEF,OAAO,CAAC,sBAAsB,CAM5B;IAEF,OAAO,CAAC,uBAAuB,CAa7B;IAEF,OAAO,CAAC,0BAA0B,CAQhC;IAEF,OAAO,CAAC,0BAA0B,CAahC;IAEF,OAAO,CAAC,sBAAsB,CAM5B;IAEF,OAAO,CAAC,yBAAyB,CAO/B;IAMF,OAAO,CAAC,2BAA2B,CAUjC;IAEF,OAAO,CAAC,2BAA2B,CAOjC;IAEF,OAAO,CAAC,mCAAmC,CAOzC;IAEF,OAAO,CAAC,oCAAoC,CAO1C;IAEF,OAAO,CAAC,yBAAyB,CAM/B;IAEF,OAAO,CAAC,uBAAuB,CAY7B;IAEF,OAAO,CAAC,8BAA8B,CAUpC;IAEF,OAAO,CAAC,0BAA0B,CAYhC;IAEF,OAAO,CAAC,0BAA0B,CAQhC;IAEF,OAAO,CAAC,yBAAyB,CAO/B;IAEF,OAAO,CAAC,oBAAoB,CAO1B;IAEF,OAAO,CAAC,6BAA6B,CAWnC;IAEF,OAAO,CAAC,0BAA0B,CAUhC;IAEF,OAAO,CAAC,aAAa,CAMnB;IAEF,OAAO,CAAC,eAAe,CASrB;IAEF,OAAO,CAAC,qBAAqB,CAO3B;IAEF,OAAO,CAAC,kBAAkB,CAMxB;IAEF,OAAO,CAAC,oBAAoB,CAM1B;YAEY,YAAY;YAOZ,oBAAoB;YAoCpB,4BAA4B;CAoB7C"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { LoggerService } from "../../core";
|
|
2
|
+
import type { WebinarServiceRB } from "../webinars.service";
|
|
3
|
+
import { WebinarDB, WebinarSessionDB, WebinarLogEntryDB } from "./webinarTelemetry.model";
|
|
4
|
+
export declare class WebinarTelemetryDatabase {
|
|
5
|
+
private logger;
|
|
6
|
+
private webinarService;
|
|
7
|
+
private db;
|
|
8
|
+
constructor(logger: LoggerService, webinarService: WebinarServiceRB);
|
|
9
|
+
static create(logger: LoggerService, webinarService: WebinarServiceRB): WebinarTelemetryDatabase;
|
|
10
|
+
openDatabase(): Promise<IDBDatabase>;
|
|
11
|
+
addWebinarToStore(webinarDB: WebinarDB): Promise<void>;
|
|
12
|
+
getWebinarFromStore(webinarId: string): Promise<WebinarDB | undefined>;
|
|
13
|
+
addSessionToStore(webinarSessionDB: WebinarSessionDB): Promise<void>;
|
|
14
|
+
updateStoreSession(session: WebinarSessionDB): Promise<void>;
|
|
15
|
+
addLogEntryToStore(log: WebinarLogEntryDB): Promise<void>;
|
|
16
|
+
getLogByCorrelatorId(correlatorId: string): Promise<WebinarLogEntryDB | undefined>;
|
|
17
|
+
updateStoreLogEntry(webinarLogEntry: WebinarLogEntryDB): Promise<void>;
|
|
18
|
+
getJSONWebinar(webinarId: string, sessionId?: string): Promise<string>;
|
|
19
|
+
getWebinarsAndSessions(): Promise<WebinarDB[]>;
|
|
20
|
+
getSessionAndLogs(sessionId: string): Promise<WebinarSessionDB>;
|
|
21
|
+
private addToStore;
|
|
22
|
+
updateInStore<T>(storeName: string, key: IDBValidKey, value: T): Promise<void>;
|
|
23
|
+
getFromStoreOld<T>(storeName: string, key?: IDBValidKey, indexName?: string): Promise<T | undefined>;
|
|
24
|
+
getFromStore<T>(storeName: string, options?: {
|
|
25
|
+
key?: IDBValidKey;
|
|
26
|
+
indexName?: string;
|
|
27
|
+
multiple?: boolean;
|
|
28
|
+
}): Promise<T | T[] | undefined>;
|
|
29
|
+
clearAllStores(): Promise<void>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=webinarTelemetryDatabase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webinarTelemetryDatabase.d.ts","sourceRoot":"","sources":["../../../../src/services/webinars/telemetry/webinarTelemetryDatabase.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE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