@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,290 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module DeviceManagement
|
|
3
|
+
*/
|
|
4
|
+
import type { Subscription } from "rxjs";
|
|
5
|
+
import { RBEvent } from "../../models/event.model";
|
|
6
|
+
import { Service } from "../../services/service";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export declare const DEVICE_MANAGEMENT_SVC = "DeviceManagementService";
|
|
9
|
+
/**
|
|
10
|
+
* @eventProperty
|
|
11
|
+
*/
|
|
12
|
+
export declare enum DeviceManagementEvents {
|
|
13
|
+
/**
|
|
14
|
+
* @eventProperty
|
|
15
|
+
* This RB event is send when the application cannot access the audio/video devices. The user should check the app / browser configuration and access to OS devices
|
|
16
|
+
*/
|
|
17
|
+
ON_AUDIO_VIDEO_DEVICE_ACCESS_ERROR = "rainbowonaudiovideodeviceaccesserror",
|
|
18
|
+
/**
|
|
19
|
+
* @eventProperty
|
|
20
|
+
* This RB event is send when the application detects any kind of change in the devices list (audio input / output or video input devices)
|
|
21
|
+
* **Event Data**
|
|
22
|
+
* - **kind**: The kind of the device (audioinput, audiooutput or videoinput)
|
|
23
|
+
* - **action**: Could be added (new device is added) / removed (device is removed) / updated (the id of the device has updated)
|
|
24
|
+
*/
|
|
25
|
+
ON_AUDIO_VIDEO_DEVICE_LIST_UPDATE = "rainbowonaudiovideodevicelistupdate",
|
|
26
|
+
/**
|
|
27
|
+
* @eventProperty
|
|
28
|
+
* This RB event is send when a new device is selected to be used
|
|
29
|
+
* **Event Data**
|
|
30
|
+
* - **kind**: The kind of the device (audioinput, audiooutput or videoinput)
|
|
31
|
+
* - **plugIn**: True if the new device is selected after a plug-in
|
|
32
|
+
* - **plugOut**: True if the new device is selected after a plug-out of the current device used
|
|
33
|
+
*/
|
|
34
|
+
ON_NEW_AUDIO_VIDEO_DEVICE_SELECTED = "rainbowonnewaudiovideodeviceselected",
|
|
35
|
+
/**
|
|
36
|
+
* @eventProperty
|
|
37
|
+
* This RB event is send when a new secondary device is selected to be used; This is used only for incoming calls / IMs that could be played
|
|
38
|
+
* also on the secondary device, if it's activated in the settings
|
|
39
|
+
*/
|
|
40
|
+
ON_NEW_SECONDARY_OUTPUT_DEVICE_SELECTED = "rainbowonnewsecondaryoutputdeviceselected"
|
|
41
|
+
}
|
|
42
|
+
export interface DeviceManagementService {
|
|
43
|
+
/**
|
|
44
|
+
* Return all available cameras
|
|
45
|
+
*/
|
|
46
|
+
getAllCameras: () => MediaDeviceInfo[];
|
|
47
|
+
/**
|
|
48
|
+
* Return all available microphones
|
|
49
|
+
*/
|
|
50
|
+
getAllMicrophones: () => MediaDeviceInfo[];
|
|
51
|
+
/**
|
|
52
|
+
* Return all available speakers
|
|
53
|
+
*/
|
|
54
|
+
getAllSpeakers: () => MediaDeviceInfo[];
|
|
55
|
+
/**
|
|
56
|
+
* Return the current selected microphone (that's used in all VoIP calls)
|
|
57
|
+
*/
|
|
58
|
+
getCurrentMicrophone: () => MediaDeviceInfo;
|
|
59
|
+
/**
|
|
60
|
+
* Return the current selected speaker (that's used in all VoIP calls)
|
|
61
|
+
*/
|
|
62
|
+
getCurrentSpeaker: () => MediaDeviceInfo | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Return the current selected camera (that's used in all VoIP calls)
|
|
65
|
+
*/
|
|
66
|
+
getCurrentCamera: () => MediaDeviceInfo;
|
|
67
|
+
/**
|
|
68
|
+
* This API can be used to modify the current camera. This will result in sending
|
|
69
|
+
* an update event of type ON_NEW_AUDIO_VIDEO_DEVICE_SELECTED
|
|
70
|
+
* @param camera - The new device to be used; Should be of type videoinput
|
|
71
|
+
*/
|
|
72
|
+
setCurrentCamera: (camera: MediaDeviceInfo) => void;
|
|
73
|
+
/**
|
|
74
|
+
* This API can be used to modify the current speaker. This will result in sending
|
|
75
|
+
* an update event of type DeviceManagementEvents.ON_NEW_AUDIO_VIDEO_DEVICE_SELECTED
|
|
76
|
+
* @param speaker - The new device to be used; Should be of type audiooutput
|
|
77
|
+
*/
|
|
78
|
+
setCurrentSpeaker: (speaker: MediaDeviceInfo) => void;
|
|
79
|
+
/**
|
|
80
|
+
* This API can be used to modify the current microphone. This will result in sending
|
|
81
|
+
* an update event of type ON_NEW_AUDIO_VIDEO_DEVICE_SELECTED
|
|
82
|
+
* @param microphone - The new device to be used; Should be of type audioinput
|
|
83
|
+
*/
|
|
84
|
+
setCurrentMicrophone: (microphone: MediaDeviceInfo) => void;
|
|
85
|
+
/**
|
|
86
|
+
* Set the output speaker of the audio element with the given speaker.
|
|
87
|
+
* This method is useful if you're developing an audio application and want to configure
|
|
88
|
+
* the speaker to be used by an audio tag in the same way as Rainbow's audio tags.
|
|
89
|
+
* @param element - The Audio element to whom we want to change the output ID
|
|
90
|
+
* @param speaker - The speaker to be used
|
|
91
|
+
*/
|
|
92
|
+
setSpeakerForAudioElement: (element: HTMLAudioElement, speaker: MediaDeviceInfo) => Promise<void>;
|
|
93
|
+
/**
|
|
94
|
+
* Subscribe to updates on the deviceManagement service (all events are of RBEvent type);
|
|
95
|
+
* @param handler - The call-back function that will be subscribed to the RxJS subject
|
|
96
|
+
* @param eventNames - a list of event names that the user wants to receive when subscribing (used a filter)
|
|
97
|
+
*/
|
|
98
|
+
subscribe: (handler: (event: RBEvent<DeviceManagementEvents>) => any, eventNames?: DeviceManagementEvents | DeviceManagementEvents[]) => Subscription;
|
|
99
|
+
/**
|
|
100
|
+
* Forces the global audio element to re-seat its sinkId, even if the current device was already
|
|
101
|
+
* applied -- but only when the selected output is a Bluetooth device (detected from its label).
|
|
102
|
+
* Call this when a call's remote audio stream is about to start playing (e.g. on answer /
|
|
103
|
+
* session-accept). A sink applied minutes earlier -- typically right after the Bluetooth headset
|
|
104
|
+
* paired, before any audio ever played through it -- can end up bound to an audio session the OS
|
|
105
|
+
* has since suspended; re-issuing setSinkId() opens a fresh one.
|
|
106
|
+
*/
|
|
107
|
+
refreshAudioOutputSink: () => void;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* This service manages the input / output audio and video devices used by the application
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
export declare class DeviceManagementServiceRB extends Service implements DeviceManagementService {
|
|
114
|
+
private logger;
|
|
115
|
+
private webrtcConfigAndUtils;
|
|
116
|
+
private settingsService;
|
|
117
|
+
private xmppService;
|
|
118
|
+
private webHidManagerService;
|
|
119
|
+
private mainService;
|
|
120
|
+
private rxSubject;
|
|
121
|
+
private deviceWatcher;
|
|
122
|
+
private deviceChangeHandler;
|
|
123
|
+
private devicePollingInterval;
|
|
124
|
+
private lastDeviceFingerprint;
|
|
125
|
+
private xmppConnectionSubscription;
|
|
126
|
+
private audioInputDevices;
|
|
127
|
+
private audioOutputDevices;
|
|
128
|
+
private videoInputDevices;
|
|
129
|
+
private currentAudioInputDevice;
|
|
130
|
+
private currentAudioOutputDevice;
|
|
131
|
+
private currentVideoInputDevice;
|
|
132
|
+
private currentSecondaryOutputDevice;
|
|
133
|
+
private getUserMediaForAudioDone;
|
|
134
|
+
private getUserMediaForVideoDone;
|
|
135
|
+
started: boolean;
|
|
136
|
+
private manualAleDeviceSelection;
|
|
137
|
+
private permissionMonitorAbortController;
|
|
138
|
+
static getInstance(): DeviceManagementServiceRB;
|
|
139
|
+
static build(): DeviceManagementServiceRB;
|
|
140
|
+
private constructor();
|
|
141
|
+
start(): Promise<void>;
|
|
142
|
+
stop(): Promise<void>;
|
|
143
|
+
/**
|
|
144
|
+
* Subscribe to updates on the deviceManagement service (all events are of RBEvent type);
|
|
145
|
+
* @param handler - The call-back function that will be subscribed to the RxJS subject
|
|
146
|
+
* @param filterEvent - a list of event names that the user wants to receive when subscribing (used a filter)
|
|
147
|
+
*/
|
|
148
|
+
subscribe(handler: (event: RBEvent<DeviceManagementEvents>) => any, eventNames?: DeviceManagementEvents | DeviceManagementEvents[]): Subscription;
|
|
149
|
+
canUseWebHID(): boolean;
|
|
150
|
+
private sendEvent;
|
|
151
|
+
private devicesToIgnore;
|
|
152
|
+
private inputDevicesToAcceptEvenWhenNotDefault;
|
|
153
|
+
private arrayContains;
|
|
154
|
+
private getHashFromLabel;
|
|
155
|
+
private compareHashInLabel;
|
|
156
|
+
private getParenthesizedName;
|
|
157
|
+
private getBrandFromLabel;
|
|
158
|
+
/**
|
|
159
|
+
* Set the output sinkID of the audio element with the output device given
|
|
160
|
+
* @param element - The Audio element to whom we want to change the output ID
|
|
161
|
+
* @param outputDevice - The output device to be used
|
|
162
|
+
*/
|
|
163
|
+
setSpeakerForAudioElement(element: HTMLAudioElement, outputDevice: MediaDeviceInfo): Promise<void>;
|
|
164
|
+
/**
|
|
165
|
+
* Return the current audio input device selected (that's used in all VoIP calls)
|
|
166
|
+
*/
|
|
167
|
+
getCurrentMicrophone(): MediaDeviceInfo;
|
|
168
|
+
getCurrentMicrophoneName(): string;
|
|
169
|
+
/**
|
|
170
|
+
* This API can be used to modify the current audio input device. This will result in sending an update event of type ON_NEW_AUDIO_VIDEO_DEVICE_SELECTED
|
|
171
|
+
* @param device - The new device to be used; Should be of type audioinput
|
|
172
|
+
*/
|
|
173
|
+
setCurrentMicrophone(device: MediaDeviceInfo): void;
|
|
174
|
+
/**
|
|
175
|
+
* Return all available audio input devices (type MediaDeviceInfo)
|
|
176
|
+
*/
|
|
177
|
+
getAllMicrophones(): MediaDeviceInfo[];
|
|
178
|
+
/**
|
|
179
|
+
* Return the current audio output device selected (that's used in all VoIP calls)
|
|
180
|
+
*/
|
|
181
|
+
getCurrentSpeaker(): MediaDeviceInfo | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* This API can be used to modify the current audio output device. This will result in sending
|
|
184
|
+
* an update event of type DeviceManagementEvents.ON_NEW_AUDIO_VIDEO_DEVICE_SELECTED
|
|
185
|
+
* @param device - The new device to be used; Should be of type audiooutput
|
|
186
|
+
*/
|
|
187
|
+
setCurrentSpeaker(device: MediaDeviceInfo): void;
|
|
188
|
+
/**
|
|
189
|
+
* Return all available audio output devices (type MediaDeviceInfo)
|
|
190
|
+
*/
|
|
191
|
+
getAllSpeakers(): MediaDeviceInfo[];
|
|
192
|
+
/**
|
|
193
|
+
* Return the current video input device selected (that's used in all VoIP calls)
|
|
194
|
+
*/
|
|
195
|
+
getCurrentCamera(): MediaDeviceInfo;
|
|
196
|
+
/**
|
|
197
|
+
* This API can be used to modify the currentvideo input device. This will result in sending an update
|
|
198
|
+
* event of type ON_NEW_AUDIO_VIDEO_DEVICE_SELECTED
|
|
199
|
+
* @param device - The new device to be used; Should be of type videoinput
|
|
200
|
+
*/
|
|
201
|
+
setCurrentCamera(device: MediaDeviceInfo): void;
|
|
202
|
+
/**
|
|
203
|
+
* Return all available video input devices (type MediaDeviceInfo)
|
|
204
|
+
*/
|
|
205
|
+
getAllCameras(): MediaDeviceInfo[];
|
|
206
|
+
/**
|
|
207
|
+
* Return the secondary output device to be used for incoming calls / IMs to play sound on
|
|
208
|
+
*/
|
|
209
|
+
getCurrentSecondaryOutputDevice(): MediaDeviceInfo;
|
|
210
|
+
/**
|
|
211
|
+
* This API can be used to modify the secondary output device (used for incoming call ringing).
|
|
212
|
+
* This will result in sending an update event of type
|
|
213
|
+
* DeviceManagementEvents.ON_NEW_SECONDARY_OUTPUT_DEVICE_SELECTED
|
|
214
|
+
* @param device - The new device to be used; Should be of type audiooutput
|
|
215
|
+
*/
|
|
216
|
+
setCurrentSecondaryOutputDevice(device: MediaDeviceInfo): void;
|
|
217
|
+
/**
|
|
218
|
+
* "default" and "communications" are not real devices: Chromium exposes them on Windows as
|
|
219
|
+
* aliases that always follow the OS "Default device" / "Default communication device".
|
|
220
|
+
* They must never be used for the secondary ringer, otherwise the ringing tone follows the
|
|
221
|
+
* headset as soon as one is plugged (the headset becomes the OS communication device), which
|
|
222
|
+
* defeats the whole purpose of the secondary ringer -- CRRAINB-54478.
|
|
223
|
+
* The settings picker already filters them out for the same reason.
|
|
224
|
+
* @param device - the device to test
|
|
225
|
+
*/
|
|
226
|
+
private isPseudoOutputDevice;
|
|
227
|
+
/**
|
|
228
|
+
* Choose a secondary output device among the currently available ones: a real device
|
|
229
|
+
* (never a "default"/"communications" alias), preferably not the one already used for the
|
|
230
|
+
* call audio. Returns null when no real output device is available.
|
|
231
|
+
*/
|
|
232
|
+
private pickSecondaryOutputDevice;
|
|
233
|
+
/**
|
|
234
|
+
* Make sure the secondary output device still points to a real, still-connected device.
|
|
235
|
+
* Called after every audio output device list change: a "default"/"communications" alias
|
|
236
|
+
* silently re-targets itself to the new OS device (typically a freshly plugged headset),
|
|
237
|
+
* so it must be replaced by a real device -- CRRAINB-54478.
|
|
238
|
+
* @returns true when the secondary output device has been replaced
|
|
239
|
+
*/
|
|
240
|
+
private ensureRealSecondaryOutputDevice;
|
|
241
|
+
private startDeviceWatcher;
|
|
242
|
+
private pollDeviceChange;
|
|
243
|
+
checkDeviceList(): Promise<void>;
|
|
244
|
+
private testGetUserMedia;
|
|
245
|
+
private monitorMediaPermission;
|
|
246
|
+
private isDeviceSelectedByDefaultByOS;
|
|
247
|
+
private isAleManagedDevice;
|
|
248
|
+
private updateAleManagedDeviceFlag;
|
|
249
|
+
private getAleManagedDeviceFromList;
|
|
250
|
+
/**
|
|
251
|
+
* Called when we need to update the current audio input device (the device has been disconnected or null before)
|
|
252
|
+
* We set the device to the "default" one by the system;
|
|
253
|
+
* In case there're several devices with the same groupID, we choose the last one in the list;
|
|
254
|
+
* @param tempAudioInputDevices - the list of audio input devices currently connected/detected
|
|
255
|
+
*/
|
|
256
|
+
private updateCurrentAudioInputDevice;
|
|
257
|
+
/**
|
|
258
|
+
* This function watches for any changes on the audio input devices list change;
|
|
259
|
+
* Could be related to the number of input devices (connected or disconnected) or change of ID on some of the devices
|
|
260
|
+
* @param tempAudioInputDevices - [required] the list of audio input devices currently connected/detected
|
|
261
|
+
*/
|
|
262
|
+
private updateCurrentAudioInputDevices;
|
|
263
|
+
/**
|
|
264
|
+
* Called when we need to update the current audio output device (the device has been disconnected or null before)
|
|
265
|
+
* Try to find the same device as the current input device, if possible and then use it; Otherwise go to communiocations or default device;
|
|
266
|
+
* @param tempAudioOutputDevices - the list of audio output devices currently connected/detected
|
|
267
|
+
*/
|
|
268
|
+
private updateCurrentAudioOutputDevice;
|
|
269
|
+
/**
|
|
270
|
+
* Applies setSinkId on the element, swallowing any failure.
|
|
271
|
+
* @returns true if the sink was applied, false if it threw (e.g. AbortError on device churn)
|
|
272
|
+
*/
|
|
273
|
+
private trySetSinkId;
|
|
274
|
+
refreshAudioOutputSink(): void;
|
|
275
|
+
private isBluetoothOutputDevice;
|
|
276
|
+
private setGlobalTagSinkId;
|
|
277
|
+
/**
|
|
278
|
+
* This function watches for any changes on the audio output devices list change;
|
|
279
|
+
* Could be related to the number of output devices (connected or disconnected) or change of ID on some of the devices
|
|
280
|
+
* @param tempAudioOutputDevices - the list of audio output devices currently connected/detected
|
|
281
|
+
*/
|
|
282
|
+
private updateCurrentAudioOutputDevices;
|
|
283
|
+
/**
|
|
284
|
+
* Called when we need to update the current video input device (the device has been disconnected or null before)
|
|
285
|
+
* @param tempVideoInputDevices - the list of video input devices currently connected/detected
|
|
286
|
+
*/
|
|
287
|
+
private updateCurrentVideoInputDevice;
|
|
288
|
+
private updateCurrentVideoInputDevices;
|
|
289
|
+
}
|
|
290
|
+
//# sourceMappingURL=deviceManagement.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deviceManagement.service.d.ts","sourceRoot":"","sources":["../../../src/services/deviceManagement/deviceManagement.service.ts"],"names":[],"mappings":"AAGA;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEzC,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAKlE,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAOhE,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,4BAA4B,CAAC;AAE/D;;GAEG;AACH,oBAAY,sBAAsB;IAE9B;;;OAGG;IACH,kCAAkC,yCAAyC;IAE3E;;;;;;OAMG;IACH,iCAAiC,wCAAwC;IAEzE;;;;;;;OAOG;IACH,kCAAkC,yCAAyC;IAE3E;;;;OAIG;IACH,uCAAuC,8CAA8C;CACxF;AAED,MAAM,WAAW,uBAAuB;IAEpC;;OAEG;IACH,aAAa,EAAE,MAAM,eAAe,EAAE,CAAC;IAEvC;;OAEG;IACH,iBAAiB,EAAE,MAAM,eAAe,EAAE,CAAC;IAE3C;;OAEG;IACH,cAAc,EAAE,MAAM,eAAe,EAAE,CAAC;IAExC;;OAEG;IACH,oBAAoB,EAAE,MAAM,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