@webex/plugin-meetings 3.0.0-beta.9 → 3.0.0-bnr.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/UPGRADING.md +9 -9
- package/browsers.js +19 -24
- package/dist/breakouts/breakout.js +178 -0
- package/dist/breakouts/breakout.js.map +1 -0
- package/dist/breakouts/collection.js +23 -0
- package/dist/breakouts/collection.js.map +1 -0
- package/dist/breakouts/edit-lock-error.js +52 -0
- package/dist/breakouts/edit-lock-error.js.map +1 -0
- package/dist/breakouts/index.js +843 -0
- package/dist/breakouts/index.js.map +1 -0
- package/dist/breakouts/request.js +78 -0
- package/dist/breakouts/request.js.map +1 -0
- package/dist/breakouts/utils.js +56 -0
- package/dist/breakouts/utils.js.map +1 -0
- package/dist/common/browser-detection.d.ts +9 -0
- package/dist/common/browser-detection.js +1 -20
- package/dist/common/browser-detection.js.map +1 -1
- package/dist/common/collection.d.ts +48 -0
- package/dist/common/collection.js +5 -20
- package/dist/common/collection.js.map +1 -1
- package/dist/common/config.d.ts +2 -0
- package/dist/common/config.js +0 -7
- package/dist/common/config.js.map +1 -1
- package/dist/common/errors/captcha-error.d.ts +15 -0
- package/dist/common/errors/captcha-error.js +5 -26
- package/dist/common/errors/captcha-error.js.map +1 -1
- package/dist/common/errors/intent-to-join.d.ts +16 -0
- package/dist/common/errors/intent-to-join.js +5 -26
- package/dist/common/errors/intent-to-join.js.map +1 -1
- package/dist/common/errors/join-meeting.d.ts +17 -0
- package/dist/common/errors/join-meeting.js +6 -27
- package/dist/common/errors/join-meeting.js.map +1 -1
- package/dist/common/errors/media.d.ts +15 -0
- package/dist/common/errors/media.js +5 -26
- package/dist/common/errors/media.js.map +1 -1
- package/dist/common/errors/parameter.d.ts +15 -0
- package/dist/common/errors/parameter.js +5 -33
- package/dist/common/errors/parameter.js.map +1 -1
- package/dist/common/errors/password-error.d.ts +15 -0
- package/dist/common/errors/password-error.js +5 -26
- package/dist/common/errors/password-error.js.map +1 -1
- package/dist/common/errors/permission.d.ts +14 -0
- package/dist/common/errors/permission.js +4 -25
- package/dist/common/errors/permission.js.map +1 -1
- package/dist/common/errors/reconnection-in-progress.d.ts +9 -0
- package/dist/common/errors/reconnection-in-progress.js +0 -17
- package/dist/common/errors/reconnection-in-progress.js.map +1 -1
- package/dist/common/errors/reconnection.d.ts +15 -0
- package/dist/common/errors/reconnection.js +5 -26
- package/dist/common/errors/reconnection.js.map +1 -1
- package/dist/common/errors/stats.d.ts +15 -0
- package/dist/common/errors/stats.js +5 -26
- package/dist/common/errors/stats.js.map +1 -1
- package/dist/common/errors/webex-errors.d.ts +81 -0
- package/dist/common/errors/webex-errors.js +6 -41
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/common/errors/webex-meetings-error.d.ts +20 -0
- package/dist/common/errors/webex-meetings-error.js +1 -24
- package/dist/common/errors/webex-meetings-error.js.map +1 -1
- package/dist/common/events/events-scope.d.ts +17 -0
- package/dist/common/events/events-scope.js +0 -22
- package/dist/common/events/events-scope.js.map +1 -1
- package/dist/common/events/events.d.ts +12 -0
- package/dist/common/events/events.js +0 -23
- package/dist/common/events/events.js.map +1 -1
- package/dist/common/events/trigger-proxy.d.ts +2 -0
- package/dist/common/events/trigger-proxy.js +0 -12
- package/dist/common/events/trigger-proxy.js.map +1 -1
- package/dist/common/events/util.d.ts +2 -0
- package/dist/common/events/util.js +0 -15
- package/dist/common/events/util.js.map +1 -1
- package/dist/common/logs/logger-config.d.ts +2 -0
- package/dist/common/logs/logger-config.js +0 -4
- package/dist/common/logs/logger-config.js.map +1 -1
- package/dist/common/logs/logger-proxy.d.ts +2 -0
- package/dist/common/logs/logger-proxy.js +1 -8
- package/dist/common/logs/logger-proxy.js.map +1 -1
- package/dist/common/logs/request.d.ts +34 -0
- package/dist/common/logs/request.js +35 -61
- package/dist/common/logs/request.js.map +1 -1
- package/dist/common/queue.d.ts +32 -0
- package/dist/common/queue.js +4 -14
- package/dist/common/queue.js.map +1 -1
- package/dist/config.d.ts +73 -0
- package/dist/config.js +6 -6
- package/dist/config.js.map +1 -1
- package/dist/constants.d.ts +924 -0
- package/dist/constants.js +143 -52
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/constants.d.ts +4 -0
- package/dist/controls-options-manager/constants.js +14 -0
- package/dist/controls-options-manager/constants.js.map +1 -0
- package/dist/controls-options-manager/enums.d.ts +5 -0
- package/dist/controls-options-manager/enums.js +16 -0
- package/dist/controls-options-manager/enums.js.map +1 -0
- package/dist/controls-options-manager/index.d.ts +120 -0
- package/dist/controls-options-manager/index.js +261 -0
- package/dist/controls-options-manager/index.js.map +1 -0
- package/dist/controls-options-manager/util.d.ts +7 -0
- package/dist/controls-options-manager/util.js +39 -0
- package/dist/controls-options-manager/util.js.map +1 -0
- package/dist/docs/markdown/index.md +12 -0
- package/dist/docs/markdown/plugin-meetings.constants._active_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._answer_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._call_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._conflict_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._conversation_url_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._created_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._error_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._forced_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._id_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._idle_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._in_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._in_lobby_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._in_meeting_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._inactive_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._incoming_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._join_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._joined_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._left_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._locus_id_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._meeting_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._meeting_center_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._meeting_id_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._meeting_link_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._meeting_uuid_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._move_media_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._none_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._not_in_meeting_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._observe_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._people_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._personal_room_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._receive_only_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._remove_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._requested_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._resource_room_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._room_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._s_line.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._send_only_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._send_receive_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._sip_bridge_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._sip_uri_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._slides_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._unknown_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._user_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._wait_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._webex_meeting_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.alert.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.alternate_redirect_true.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.answer.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.api.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.audio.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.audio_input.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.audio_status.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.available_resolutions.md +60 -0
- package/dist/docs/markdown/plugin-meetings.constants.bnr_status.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.breakouts.md +51 -0
- package/dist/docs/markdown/plugin-meetings.constants.calendar.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.calendar_events.md +17 -0
- package/dist/docs/markdown/plugin-meetings.constants.calendar_events_api.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.call.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.call_removed_reason.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.claim.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.cmr_meetings.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.complete.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.connection_state.md +18 -0
- package/dist/docs/markdown/plugin-meetings.constants.content.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.controls.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.conversation_service.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.conversation_url.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.correlation_id.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.decline.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.default_excluded_stats.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.default_get_stats_filter.md +13 -0
- package/dist/docs/markdown/plugin-meetings.constants.development.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.dialer_regex.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.display_hints.md +51 -0
- package/dist/docs/markdown/plugin-meetings.constants.embedded_app_types.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.end.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.ended.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.error.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.error_dictionary.md +62 -0
- package/dist/docs/markdown/plugin-meetings.constants.event_triggers.md +82 -0
- package/dist/docs/markdown/plugin-meetings.constants.event_types.md +21 -0
- package/dist/docs/markdown/plugin-meetings.constants.events.md +26 -0
- package/dist/docs/markdown/plugin-meetings.constants.floor_action.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.full_state.md +17 -0
- package/dist/docs/markdown/plugin-meetings.constants.gathering.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.hecate.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.host.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.http_verbs.md +17 -0
- package/dist/docs/markdown/plugin-meetings.constants.https_protocol.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.ice_fail_timeout.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.ice_gathering_state.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.ice_state.md +18 -0
- package/dist/docs/markdown/plugin-meetings.constants.ice_timeout.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.intent_to_join.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.ipv4_regex.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.join.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.layout_types.md +13 -0
- package/dist/docs/markdown/plugin-meetings.constants.leave.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.live.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.local.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.loci.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.locus.md +26 -0
- package/dist/docs/markdown/plugin-meetings.constants.locus_url.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.locusevent.md +33 -0
- package/dist/docs/markdown/plugin-meetings.constants.locusinfo.md +43 -0
- package/dist/docs/markdown/plugin-meetings.constants.max_random_delay_for_meeting_info.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.md +186 -0
- package/dist/docs/markdown/plugin-meetings.constants.media.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.media_devices.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.media_peer_connection_name.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.media_state.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.media_track_constraint.md +17 -0
- package/dist/docs/markdown/plugin-meetings.constants.mediacontent.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.meet.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.meet_m.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_audio_state_machine.md +20 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_end_reason.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_errors.md +102 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_info_failure_reason.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_removed_reason.md +19 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_state.md +25 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_state_machine.md +31 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_video_state_machine.md +20 -0
- package/dist/docs/markdown/plugin-meetings.constants.meetinginfo.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.meetings.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.metrics_join_times_max_duration.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.moderator_false.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.moderator_true.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.mqa_inteval.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.mqa_stats.md +82 -0
- package/dist/docs/markdown/plugin-meetings.constants.network_status.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.network_type.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.offline.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.online.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.participant.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.participant_deltas.md +22 -0
- package/dist/docs/markdown/plugin-meetings.constants.password_status.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.pc_bail_timeout.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.peer_connection_state.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.provisional_type_dial_in.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.provisional_type_dial_out.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.pstn_status.md +18 -0
- package/dist/docs/markdown/plugin-meetings.constants.quality_levels.md +19 -0
- package/dist/docs/markdown/plugin-meetings.constants.reachability.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.ready.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.reconnection.md +19 -0
- package/dist/docs/markdown/plugin-meetings.constants.recording_state.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.remote.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.resource.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.retry_timeout.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.roap.md +22 -0
- package/dist/docs/markdown/plugin-meetings.constants.self_roles.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.send_dtmf_endpoint.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.sendrecv.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.share.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.share_peer_connection_name.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.share_status.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.share_stopped_reason.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.sip_uri.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.stats.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.type.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.use_uri_lookup_false.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.uuid_reg.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.valid_email_address.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.valid_pin.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.valid_pmr_address.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.valid_pmr_link.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.video.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.video_input.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.video_resolutions.md +24 -0
- package/dist/docs/markdown/plugin-meetings.constants.video_status.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.wbxappapi_service.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.webex_dot_com.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.whiteboard.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.www_dot.md +11 -0
- package/dist/docs/markdown/plugin-meetings.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default._constructor_.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.acknowledge.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.addmedia.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.admit.md +32 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.attrs.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.audio.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.breakouts.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.callevents.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.cancelphoneinvite.md +30 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.canupdatemedia.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.changevideolayout.md +38 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.clearmeetingdata.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.closelocalshare.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.closelocalstream.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.closepeerconnections.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.closeremotestream.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.closeremotetracks.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.controlsoptionsmanager.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.conversationurl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.correlationid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.createmediaconnection.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.decline.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.deferjoin.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.destination.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.destinationtype.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.deviceurl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialindevicestatus.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialinurl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialoutdevicestatus.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialouturl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.disconnectphoneaudio.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.endcallinitiatejoinreq.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.endjoinreqresp.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.endlocalsdpgenremotesdprecvdelay.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.endmeetingforall.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.fetchmeetinginfo.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.fetchmeetinginfotimeoutid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.floorgrantpending.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.forwardevent.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getanalyzermetricsprepayload.md +32 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getcallinitiatejoinreq.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getdevices.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getjoinreqresp.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getlocalsdpgenremotesdprecvdelay.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmediaconnectiondebugid.md +15 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmediastreams.md +15 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmembers.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsendingmediadelayduration.md +24 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsetupdelayduration.md +24 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsupporteddevices.md +16 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.gettotaljmt.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.guest.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.handledatachannelurlchange.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.handleroapfailure.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.hasjoinedonce.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.haswebsocketconnected.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.hostid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.id.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.inmeetingactions.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.invite.md +33 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudioconnected.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudiomuted.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudioself.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.islocalsharelive.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.ismultistream.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isreactionssupported.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isroapinprogress.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.issharing.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.istranscriptionsupported.md +23 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideoconnected.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideomuted.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideoself.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.join.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.joinedwith.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.joinwithmedia.md +36 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.keepalivetimerid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.lastvideolayoutinfo.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.leave.md +31 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.lockmeeting.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusinfo.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusurl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.md +227 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaconnections.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.medianegotiatedevent.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaproperties.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediarequestmanagers.md +16 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingfinitestatemachine.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetinginfo.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetinginfofailurereason.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingjoinurl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingnumber.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingrequest.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingstate.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.members.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.movefrom.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.moveto.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.mute.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.muteaudio.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.mutevideo.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.namespace.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.networkqualitymonitor.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.networkstatus.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.options.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.orgid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.owner.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.parsemeetinginfo.md +34 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.partner.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.passwordstatus.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.pauserecording.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.permissiontoken.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.policy.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.processnextqueuedmediaupdate.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.publishtracks.md +33 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.queuedmediaupdates.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.receiveslotmanager.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.reconnect.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.reconnectionmanager.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.recording.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.recordingcontroller.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.refreshcaptcha.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.remotemediamanager.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.remove.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.requiredcaptcha.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.resource.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.resourceid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.resourceurl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.resumerecording.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.roap.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.roapseq.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.selfid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.senddtmf.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.sendreaction.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setdisallowunmute.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendcallinitiatejoinreq.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendjoinreqresp.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendlocalsdpgenremotesdprecvdelay.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendsendingmediadelay.md +24 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendsetupdelay.md +24 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocalsharetrack.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocaltracks.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocalvideoquality.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmeetingquality.md +31 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmercurylistener.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmuteall.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmuteonentry.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setremotequalitylevel.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setsipuri.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartcallinitiatejoinreq.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartjoinreqresp.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartlocalsdpgenremotesdprecvdelay.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartsendingmediadelay.md +24 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartsetupdelay.md +24 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupbreakoutslistener.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupmediaconnectionlisteners.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupstatsanalyzereventhandlers.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.sharescreen.md +32 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.sharestatus.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.sipuri.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.startcallinitiatejoinreq.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.startjoinreqresp.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.startkeepalive.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.startlocalsdpgenremotesdprecvdelay.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.startrecording.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.startwhiteboardshare.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.state.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.statsanalyzer.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopkeepalive.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopreceivingtranscription.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.stoprecording.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopshare.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopwhiteboardshare.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.togglereactions.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.transcription.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.transfer.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.type.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unlockmeeting.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unmuteaudio.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unmutevideo.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unpublishtracks.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetlocalsharetrack.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetlocalvideotrack.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetpeerconnections.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetremotestream.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetremotetracks.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.updateaudio.md +34 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatellmconnection.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatemedia.md +32 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatemediaconnections.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.updateshare.md +35 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatevideo.md +34 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.uploadlogs.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.usephoneaudio.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.userid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.verifypassword.md +35 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.video.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.wirelessshare.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.md +18 -0
- package/dist/docs/markdown/plugin-meetings.meeting.media_update_type.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meetings._constructor_.md +22 -0
- package/dist/docs/markdown/plugin-meetings.meetings.create.md +30 -0
- package/dist/docs/markdown/plugin-meetings.meetings.fetchuserpreferredwebexsite.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meetings.geohintinfo.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getallmeetings.md +31 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getgeohint.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getlogger.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getmeetingbytype.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getpersonalmeetingroom.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getreachability.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getscheduledmeetings.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meetings.loggerrequest.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.md +57 -0
- package/dist/docs/markdown/plugin-meetings.meetings.media.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.meetingcollection.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.meetinginfo.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.namespace.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.personalmeetingroom.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.preferredwebexsite.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.reachability.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.register.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.registered.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.request.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.setreachability.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.startreachability.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.syncmeetings.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.unregister.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.uploadlogs.md +34 -0
- package/dist/docs/markdown/plugin-meetings.reactions.md +13 -0
- package/dist/docs/markdown/plugin-meetings.reactions.reactions.md +11 -0
- package/dist/docs/markdown/plugin-meetings.reactions.skintones.md +11 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.getmaxfs.md +26 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.md +31 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia._constructor_.md +22 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.csi.md +13 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.id.md +11 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.md +40 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.mediatype.md +13 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.memberid.md +13 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.setsizehint.md +25 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.sourcestate.md +13 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.stream.md +13 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemediaevents.md +14 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemediaid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotevideoresolution.md +11 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.md +12 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup._constructor_.md +24 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.getremotemedia.md +26 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.includes.md +27 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.ispinned.md +22 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.md +28 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.pin.md +25 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.unpin.md +24 -0
- package/dist/docs/markdown/plugin-meetings.triggerproxy.md +11 -0
- package/dist/docs/metadata/index.api.json +14144 -0
- package/dist/docs/metadata/index.api.md +2075 -0
- package/dist/docs/metadata/index.d.ts +5594 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +72 -17
- package/dist/index.js.map +1 -1
- package/dist/locus-info/controlsUtils.d.ts +2 -0
- package/dist/locus-info/controlsUtils.js +31 -29
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/embeddedAppsUtils.d.ts +2 -0
- package/dist/locus-info/embeddedAppsUtils.js +3 -26
- package/dist/locus-info/embeddedAppsUtils.js.map +1 -1
- package/dist/locus-info/fullState.d.ts +2 -0
- package/dist/locus-info/fullState.js +0 -15
- package/dist/locus-info/fullState.js.map +1 -1
- package/dist/locus-info/hostUtils.d.ts +2 -0
- package/dist/locus-info/hostUtils.js +4 -12
- package/dist/locus-info/hostUtils.js.map +1 -1
- package/dist/locus-info/index.d.ts +269 -0
- package/dist/locus-info/index.js +202 -201
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/infoUtils.d.ts +2 -0
- package/dist/locus-info/infoUtils.js +3 -37
- package/dist/locus-info/infoUtils.js.map +1 -1
- package/dist/locus-info/mediaSharesUtils.d.ts +2 -0
- package/dist/locus-info/mediaSharesUtils.js +12 -38
- package/dist/locus-info/mediaSharesUtils.js.map +1 -1
- package/dist/locus-info/parser.d.ts +212 -0
- package/dist/locus-info/parser.js +88 -123
- package/dist/locus-info/parser.js.map +1 -1
- package/dist/locus-info/selfUtils.d.ts +2 -0
- package/dist/locus-info/selfUtils.js +80 -89
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/media/index.d.ts +32 -0
- package/dist/media/index.js +56 -146
- package/dist/media/index.js.map +1 -1
- package/dist/media/properties.d.ts +108 -0
- package/dist/media/properties.js +71 -117
- package/dist/media/properties.js.map +1 -1
- package/dist/media/util.d.ts +2 -0
- package/dist/media/util.js +2 -9
- package/dist/media/util.js.map +1 -1
- package/dist/mediaQualityMetrics/config.d.ts +233 -0
- package/dist/mediaQualityMetrics/config.js +505 -495
- package/dist/mediaQualityMetrics/config.js.map +1 -1
- package/dist/meeting/effectsState.d.ts +42 -0
- package/dist/meeting/effectsState.js +118 -192
- package/dist/meeting/effectsState.js.map +1 -1
- package/dist/meeting/in-meeting-actions.d.ts +79 -0
- package/dist/meeting/in-meeting-actions.js +31 -14
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.d.ts +1621 -0
- package/dist/meeting/index.js +2175 -2266
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/muteState.d.ts +116 -0
- package/dist/meeting/muteState.js +252 -113
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.d.ts +255 -0
- package/dist/meeting/request.js +297 -283
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/request.type.js +7 -0
- package/dist/meeting/request.type.js.map +1 -0
- package/dist/meeting/state.d.ts +9 -0
- package/dist/meeting/state.js +21 -31
- package/dist/meeting/state.js.map +1 -1
- package/dist/meeting/util.d.ts +2 -0
- package/dist/meeting/util.js +63 -217
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting-info/collection.d.ts +20 -0
- package/dist/meeting-info/collection.js +3 -25
- package/dist/meeting-info/collection.js.map +1 -1
- package/dist/meeting-info/index.d.ts +57 -0
- package/dist/meeting-info/index.js +10 -33
- package/dist/meeting-info/index.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.d.ts +93 -0
- package/dist/meeting-info/meeting-info-v2.js +181 -268
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meeting-info/request.d.ts +22 -0
- package/dist/meeting-info/request.js +1 -16
- package/dist/meeting-info/request.js.map +1 -1
- package/dist/meeting-info/util.d.ts +2 -0
- package/dist/meeting-info/util.js +98 -183
- package/dist/meeting-info/util.js.map +1 -1
- package/dist/meeting-info/utilv2.d.ts +2 -0
- package/dist/meeting-info/utilv2.js +137 -228
- package/dist/meeting-info/utilv2.js.map +1 -1
- package/dist/meetings/collection.d.ts +23 -0
- package/dist/meetings/collection.js +24 -20
- package/dist/meetings/collection.js.map +1 -1
- package/dist/meetings/index.d.ts +297 -0
- package/dist/meetings/index.js +566 -587
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/request.d.ts +27 -0
- package/dist/meetings/request.js +23 -42
- package/dist/meetings/request.js.map +1 -1
- package/dist/meetings/util.d.ts +18 -0
- package/dist/meetings/util.js +151 -155
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.d.ts +145 -0
- package/dist/member/index.js +80 -88
- package/dist/member/index.js.map +1 -1
- package/dist/member/types.js +15 -0
- package/dist/member/types.js.map +1 -0
- package/dist/member/util.d.ts +2 -0
- package/dist/member/util.js +90 -69
- package/dist/member/util.js.map +1 -1
- package/dist/members/collection.d.ts +24 -0
- package/dist/members/collection.js +12 -12
- package/dist/members/collection.js.map +1 -1
- package/dist/members/index.d.ts +298 -0
- package/dist/members/index.js +139 -204
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.d.ts +50 -0
- package/dist/members/request.js +41 -55
- package/dist/members/request.js.map +1 -1
- package/dist/members/types.js +15 -0
- package/dist/members/types.js.map +1 -0
- package/dist/members/util.d.ts +2 -0
- package/dist/members/util.js +76 -46
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/config.d.ts +169 -0
- package/dist/metrics/config.js +4 -14
- package/dist/metrics/config.js.map +1 -1
- package/dist/metrics/constants.d.ts +57 -0
- package/dist/metrics/constants.js +1 -6
- package/dist/metrics/constants.js.map +1 -1
- package/dist/metrics/index.d.ts +152 -0
- package/dist/metrics/index.js +53 -158
- package/dist/metrics/index.js.map +1 -1
- package/dist/multistream/mediaRequestManager.js +116 -52
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/multistream/receiveSlot.js +58 -65
- package/dist/multistream/receiveSlot.js.map +1 -1
- package/dist/multistream/receiveSlotManager.js +58 -93
- package/dist/multistream/receiveSlotManager.js.map +1 -1
- package/dist/multistream/remoteMedia.js +55 -74
- package/dist/multistream/remoteMedia.js.map +1 -1
- package/dist/multistream/remoteMediaGroup.js +6 -40
- package/dist/multistream/remoteMediaGroup.js.map +1 -1
- package/dist/multistream/remoteMediaManager.js +466 -442
- package/dist/multistream/remoteMediaManager.js.map +1 -1
- package/dist/networkQualityMonitor/index.d.ts +70 -0
- package/dist/networkQualityMonitor/index.js +32 -59
- package/dist/networkQualityMonitor/index.js.map +1 -1
- package/dist/peer-connection-manager/index.d.ts +6 -0
- package/dist/peer-connection-manager/index.js +671 -0
- package/dist/peer-connection-manager/index.js.map +1 -0
- package/dist/peer-connection-manager/util.d.ts +6 -0
- package/dist/peer-connection-manager/util.js +110 -0
- package/dist/peer-connection-manager/util.js.map +1 -0
- package/dist/personal-meeting-room/index.d.ts +47 -0
- package/dist/personal-meeting-room/index.js +10 -45
- package/dist/personal-meeting-room/index.js.map +1 -1
- package/dist/personal-meeting-room/request.d.ts +14 -0
- package/dist/personal-meeting-room/request.js +2 -33
- package/dist/personal-meeting-room/request.js.map +1 -1
- package/dist/personal-meeting-room/util.d.ts +2 -0
- package/dist/personal-meeting-room/util.js +0 -13
- package/dist/personal-meeting-room/util.js.map +1 -1
- package/dist/plugin-meetings.d.ts +5399 -0
- package/dist/reachability/index.d.ts +139 -0
- package/dist/reachability/index.js +190 -199
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/request.d.ts +35 -0
- package/dist/reachability/request.js +14 -23
- package/dist/reachability/request.js.map +1 -1
- package/dist/reactions/constants.js +13 -0
- package/dist/reactions/constants.js.map +1 -0
- package/dist/reactions/reactions.d.ts +4 -0
- package/dist/reactions/reactions.js +109 -0
- package/dist/reactions/reactions.js.map +1 -0
- package/dist/reactions/reactions.type.d.ts +32 -0
- package/dist/reactions/reactions.type.js +36 -0
- package/dist/reactions/reactions.type.js.map +1 -0
- package/dist/reconnection-manager/index.d.ts +112 -0
- package/dist/reconnection-manager/index.js +328 -465
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/recording-controller/enums.d.ts +7 -0
- package/dist/recording-controller/enums.js +17 -0
- package/dist/recording-controller/enums.js.map +1 -0
- package/dist/recording-controller/index.d.ts +193 -0
- package/dist/recording-controller/index.js +343 -0
- package/dist/recording-controller/index.js.map +1 -0
- package/dist/recording-controller/util.d.ts +13 -0
- package/dist/recording-controller/util.js +63 -0
- package/dist/recording-controller/util.js.map +1 -0
- package/dist/roap/collection.d.ts +10 -0
- package/dist/roap/collection.js +63 -0
- package/dist/roap/collection.js.map +1 -0
- package/dist/roap/handler.d.ts +47 -0
- package/dist/roap/handler.js +279 -0
- package/dist/roap/handler.js.map +1 -0
- package/dist/roap/index.d.ts +116 -0
- package/dist/roap/index.js +27 -59
- package/dist/roap/index.js.map +1 -1
- package/dist/roap/request.d.ts +35 -0
- package/dist/roap/request.js +143 -134
- package/dist/roap/request.js.map +1 -1
- package/dist/roap/state.d.ts +9 -0
- package/dist/roap/state.js +127 -0
- package/dist/roap/state.js.map +1 -0
- package/dist/roap/turnDiscovery.d.ts +67 -0
- package/dist/roap/turnDiscovery.js +86 -101
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/roap/util.d.ts +2 -0
- package/dist/roap/util.js +76 -0
- package/dist/roap/util.js.map +1 -0
- package/dist/statsAnalyzer/global.d.ts +126 -0
- package/dist/statsAnalyzer/global.js +1 -95
- package/dist/statsAnalyzer/global.js.map +1 -1
- package/dist/statsAnalyzer/index.d.ts +190 -0
- package/dist/statsAnalyzer/index.js +356 -457
- package/dist/statsAnalyzer/index.js.map +1 -1
- package/dist/statsAnalyzer/mqaUtil.d.ts +22 -0
- package/dist/statsAnalyzer/mqaUtil.js +144 -94
- package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
- package/dist/transcription/index.d.ts +64 -0
- package/dist/transcription/index.js +13 -45
- package/dist/transcription/index.js.map +1 -1
- package/dist/types/breakouts/breakout.d.ts +8 -0
- package/dist/types/breakouts/collection.d.ts +5 -0
- package/dist/types/breakouts/edit-lock-error.d.ts +15 -0
- package/dist/types/breakouts/index.d.ts +5 -0
- package/dist/types/breakouts/request.d.ts +22 -0
- package/dist/types/breakouts/utils.d.ts +8 -0
- package/dist/types/common/browser-detection.d.ts +9 -0
- package/dist/types/common/collection.d.ts +48 -0
- package/dist/types/common/config.d.ts +2 -0
- package/dist/types/common/errors/captcha-error.d.ts +15 -0
- package/dist/types/common/errors/intent-to-join.d.ts +16 -0
- package/dist/types/common/errors/join-meeting.d.ts +17 -0
- package/dist/types/common/errors/media.d.ts +15 -0
- package/dist/types/common/errors/parameter.d.ts +15 -0
- package/dist/types/common/errors/password-error.d.ts +15 -0
- package/dist/types/common/errors/permission.d.ts +14 -0
- package/dist/types/common/errors/reconnection-in-progress.d.ts +9 -0
- package/dist/types/common/errors/reconnection.d.ts +15 -0
- package/dist/types/common/errors/stats.d.ts +15 -0
- package/dist/types/common/errors/webex-errors.d.ts +69 -0
- package/dist/types/common/errors/webex-meetings-error.d.ts +20 -0
- package/dist/types/common/events/events-scope.d.ts +17 -0
- package/dist/types/common/events/events.d.ts +12 -0
- package/dist/types/common/events/trigger-proxy.d.ts +2 -0
- package/dist/types/common/events/util.d.ts +2 -0
- package/dist/types/common/logs/logger-config.d.ts +2 -0
- package/dist/types/common/logs/logger-proxy.d.ts +2 -0
- package/dist/types/common/logs/request.d.ts +34 -0
- package/dist/types/common/queue.d.ts +32 -0
- package/dist/types/config.d.ts +77 -0
- package/dist/types/constants.d.ts +944 -0
- package/dist/types/controls-options-manager/constants.d.ts +4 -0
- package/dist/types/controls-options-manager/enums.d.ts +6 -0
- package/dist/types/controls-options-manager/index.d.ts +128 -0
- package/dist/types/controls-options-manager/util.d.ts +9 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/locus-info/controlsUtils.d.ts +2 -0
- package/dist/types/locus-info/embeddedAppsUtils.d.ts +2 -0
- package/dist/types/locus-info/fullState.d.ts +2 -0
- package/dist/types/locus-info/hostUtils.d.ts +2 -0
- package/dist/types/locus-info/index.d.ts +276 -0
- package/dist/types/locus-info/infoUtils.d.ts +2 -0
- package/dist/types/locus-info/mediaSharesUtils.d.ts +2 -0
- package/dist/types/locus-info/parser.d.ts +212 -0
- package/dist/types/locus-info/selfUtils.d.ts +2 -0
- package/dist/types/media/index.d.ts +32 -0
- package/dist/types/media/properties.d.ts +108 -0
- package/dist/types/media/util.d.ts +2 -0
- package/dist/types/mediaQualityMetrics/config.d.ts +365 -0
- package/dist/types/meeting/effectsState.d.ts +42 -0
- package/dist/types/meeting/in-meeting-actions.d.ts +101 -0
- package/dist/types/meeting/index.d.ts +1723 -0
- package/dist/types/meeting/muteState.d.ts +185 -0
- package/dist/types/meeting/request.d.ts +271 -0
- package/dist/types/meeting/request.type.d.ts +11 -0
- package/dist/types/meeting/state.d.ts +9 -0
- package/dist/types/meeting/util.d.ts +2 -0
- package/dist/types/meeting-info/collection.d.ts +20 -0
- package/dist/types/meeting-info/index.d.ts +57 -0
- package/dist/types/meeting-info/meeting-info-v2.d.ts +93 -0
- package/dist/types/meeting-info/request.d.ts +22 -0
- package/dist/types/meeting-info/util.d.ts +2 -0
- package/dist/types/meeting-info/utilv2.d.ts +2 -0
- package/dist/types/meetings/collection.d.ts +31 -0
- package/dist/types/meetings/index.d.ts +316 -0
- package/dist/types/meetings/request.d.ts +27 -0
- package/dist/types/meetings/util.d.ts +18 -0
- package/dist/types/member/index.d.ts +156 -0
- package/dist/types/member/types.d.ts +21 -0
- package/dist/types/member/util.d.ts +2 -0
- package/dist/types/members/collection.d.ts +29 -0
- package/dist/types/members/index.d.ts +343 -0
- package/dist/types/members/request.d.ts +58 -0
- package/dist/types/members/types.d.ts +24 -0
- package/dist/types/members/util.d.ts +2 -0
- package/dist/types/metrics/config.d.ts +171 -0
- package/dist/types/metrics/constants.d.ts +53 -0
- package/dist/types/metrics/index.d.ts +152 -0
- package/dist/types/multistream/mediaRequestManager.d.ts +68 -0
- package/dist/types/multistream/receiveSlot.d.ts +68 -0
- package/dist/types/multistream/receiveSlotManager.d.ts +49 -0
- package/dist/types/multistream/remoteMedia.d.ts +72 -0
- package/dist/types/multistream/remoteMediaGroup.d.ts +47 -0
- package/dist/types/multistream/remoteMediaManager.d.ts +263 -0
- package/dist/types/networkQualityMonitor/index.d.ts +70 -0
- package/dist/types/personal-meeting-room/index.d.ts +47 -0
- package/dist/types/personal-meeting-room/request.d.ts +14 -0
- package/dist/types/personal-meeting-room/util.d.ts +2 -0
- package/dist/types/reachability/index.d.ts +152 -0
- package/dist/types/reachability/request.d.ts +37 -0
- package/dist/types/reactions/constants.d.ts +3 -0
- package/dist/types/reactions/reactions.d.ts +4 -0
- package/dist/types/reactions/reactions.type.d.ts +52 -0
- package/dist/types/reconnection-manager/index.d.ts +126 -0
- package/dist/types/recording-controller/enums.d.ts +7 -0
- package/dist/types/recording-controller/index.d.ts +193 -0
- package/dist/types/recording-controller/util.d.ts +13 -0
- package/dist/types/roap/index.d.ts +77 -0
- package/dist/types/roap/request.d.ts +38 -0
- package/dist/types/roap/turnDiscovery.d.ts +74 -0
- package/dist/types/statsAnalyzer/global.d.ts +36 -0
- package/dist/types/statsAnalyzer/index.d.ts +195 -0
- package/dist/types/statsAnalyzer/mqaUtil.d.ts +24 -0
- package/dist/types/transcription/index.d.ts +64 -0
- package/dist/types/tsdoc-metadata.json +11 -0
- package/internal-README.md +7 -6
- package/package.json +28 -20
- package/src/breakouts/README.md +219 -0
- package/src/breakouts/breakout.ts +153 -0
- package/src/breakouts/collection.ts +19 -0
- package/src/breakouts/edit-lock-error.ts +25 -0
- package/src/breakouts/index.ts +745 -0
- package/src/breakouts/request.ts +55 -0
- package/src/breakouts/utils.ts +44 -0
- package/src/common/browser-detection.ts +9 -6
- package/src/common/collection.ts +3 -1
- package/src/common/errors/captcha-error.ts +6 -6
- package/src/common/errors/intent-to-join.ts +6 -6
- package/src/common/errors/join-meeting.ts +12 -8
- package/src/common/errors/media.ts +6 -6
- package/src/common/errors/parameter.ts +9 -6
- package/src/common/errors/password-error.ts +6 -6
- package/src/common/errors/permission.ts +5 -5
- package/src/common/errors/reconnection.ts +6 -6
- package/src/common/errors/stats.ts +6 -6
- package/src/common/errors/webex-errors.ts +7 -5
- package/src/common/errors/webex-meetings-error.ts +1 -1
- package/src/common/events/events-scope.ts +5 -1
- package/src/common/events/events.ts +5 -1
- package/src/common/events/trigger-proxy.ts +8 -3
- package/src/common/events/util.ts +1 -2
- package/src/common/logs/logger-proxy.ts +21 -10
- package/src/common/logs/request.ts +11 -8
- package/src/config.ts +16 -12
- package/src/constants.ts +92 -6
- package/src/controls-options-manager/constants.ts +5 -0
- package/src/controls-options-manager/enums.ts +7 -0
- package/src/controls-options-manager/index.ts +240 -0
- package/src/controls-options-manager/util.ts +30 -0
- package/src/index.ts +33 -0
- package/src/locus-info/controlsUtils.ts +63 -24
- package/src/locus-info/fullState.ts +15 -11
- package/src/locus-info/hostUtils.ts +4 -3
- package/src/locus-info/index.ts +148 -43
- package/src/locus-info/infoUtils.ts +16 -4
- package/src/locus-info/mediaSharesUtils.ts +4 -4
- package/src/locus-info/parser.ts +46 -68
- package/src/locus-info/selfUtils.ts +174 -56
- package/src/media/index.ts +131 -179
- package/src/media/properties.ts +43 -36
- package/src/media/util.ts +1 -1
- package/src/mediaQualityMetrics/config.ts +380 -378
- package/src/meeting/in-meeting-actions.ts +67 -3
- package/src/meeting/index.ts +2395 -1523
- package/src/meeting/muteState.ts +271 -68
- package/src/meeting/request.ts +228 -132
- package/src/meeting/request.type.ts +13 -0
- package/src/meeting/state.ts +45 -30
- package/src/meeting/util.ts +127 -111
- package/src/meeting-info/collection.ts +2 -1
- package/src/meeting-info/index.ts +32 -30
- package/src/meeting-info/meeting-info-v2.ts +108 -108
- package/src/meeting-info/request.ts +9 -3
- package/src/meeting-info/util.ts +54 -46
- package/src/meeting-info/utilv2.ts +59 -53
- package/src/meetings/collection.ts +21 -1
- package/src/meetings/index.ts +673 -466
- package/src/meetings/request.ts +29 -25
- package/src/meetings/util.ts +94 -30
- package/src/member/index.ts +86 -49
- package/src/member/types.ts +24 -0
- package/src/member/util.ts +92 -13
- package/src/members/collection.ts +8 -1
- package/src/members/index.ts +246 -129
- package/src/members/request.ts +67 -14
- package/src/members/types.ts +28 -0
- package/src/members/util.ts +103 -50
- package/src/metrics/config.ts +255 -90
- package/src/metrics/constants.ts +0 -6
- package/src/metrics/index.ts +90 -93
- package/src/multistream/mediaRequestManager.ts +144 -40
- package/src/multistream/receiveSlot.ts +69 -26
- package/src/multistream/receiveSlotManager.ts +50 -38
- package/src/multistream/remoteMedia.ts +30 -4
- package/src/multistream/remoteMediaGroup.ts +4 -3
- package/src/multistream/remoteMediaManager.ts +230 -66
- package/src/networkQualityMonitor/index.ts +24 -27
- package/src/personal-meeting-room/index.ts +12 -16
- package/src/personal-meeting-room/request.ts +10 -3
- package/src/personal-meeting-room/util.ts +3 -3
- package/src/reachability/index.ts +131 -79
- package/src/reachability/request.ts +43 -34
- package/src/reactions/constants.ts +4 -0
- package/src/reactions/reactions.ts +104 -0
- package/src/reactions/reactions.type.ts +62 -0
- package/src/reconnection-manager/index.ts +190 -111
- package/src/recording-controller/enums.ts +8 -0
- package/src/recording-controller/index.ts +315 -0
- package/src/recording-controller/util.ts +58 -0
- package/src/roap/index.ts +50 -42
- package/src/roap/request.ts +86 -53
- package/src/roap/turnDiscovery.ts +69 -38
- package/src/statsAnalyzer/global.ts +8 -104
- package/src/statsAnalyzer/index.ts +593 -376
- package/src/statsAnalyzer/mqaUtil.ts +203 -90
- package/src/transcription/index.ts +34 -32
- package/test/integration/spec/converged-space-meetings.js +176 -0
- package/test/integration/spec/journey.js +665 -464
- package/test/integration/spec/space-meeting.js +319 -204
- package/test/integration/spec/transcription.js +7 -8
- package/test/unit/spec/breakouts/breakout.ts +178 -0
- package/test/unit/spec/breakouts/collection.ts +15 -0
- package/test/unit/spec/breakouts/edit-lock-error.ts +30 -0
- package/test/unit/spec/breakouts/index.ts +1252 -0
- package/test/unit/spec/breakouts/request.ts +104 -0
- package/test/unit/spec/breakouts/utils.js +54 -0
- package/test/unit/spec/common/browser-detection.js +9 -28
- package/test/unit/spec/controls-options-manager/index.js +204 -0
- package/test/unit/spec/controls-options-manager/util.js +86 -0
- package/test/unit/spec/fixture/locus.js +92 -90
- package/test/unit/spec/locus-info/controlsUtils.js +133 -34
- package/test/unit/spec/locus-info/embeddedAppsUtils.js +8 -6
- package/test/unit/spec/locus-info/index.js +303 -2
- package/test/unit/spec/locus-info/infoUtils.js +41 -32
- package/test/unit/spec/locus-info/lib/BasicSeqCmp.json +88 -430
- package/test/unit/spec/locus-info/lib/SeqCmp.json +513 -685
- package/test/unit/spec/locus-info/parser.js +3 -9
- package/test/unit/spec/locus-info/selfConstant.js +101 -103
- package/test/unit/spec/locus-info/selfUtils.js +165 -12
- package/test/unit/spec/media/index.ts +72 -8
- package/test/unit/spec/media/properties.ts +9 -9
- package/test/unit/spec/meeting/in-meeting-actions.ts +29 -2
- package/test/unit/spec/meeting/index.js +2479 -794
- package/test/unit/spec/meeting/muteState.js +164 -70
- package/test/unit/spec/meeting/request.js +141 -43
- package/test/unit/spec/meeting/utils.js +135 -164
- package/test/unit/spec/meeting-info/meetinginfov2.js +100 -73
- package/test/unit/spec/meeting-info/request.js +7 -9
- package/test/unit/spec/meeting-info/util.js +11 -12
- package/test/unit/spec/meeting-info/utilv2.js +110 -74
- package/test/unit/spec/meetings/collection.js +15 -1
- package/test/unit/spec/meetings/index.js +622 -263
- package/test/unit/spec/meetings/utils.js +65 -14
- package/test/unit/spec/member/index.js +24 -1
- package/test/unit/spec/member/util.js +359 -32
- package/test/unit/spec/members/index.js +294 -54
- package/test/unit/spec/members/request.js +50 -20
- package/test/unit/spec/members/utils.js +147 -4
- package/test/unit/spec/metrics/index.js +16 -21
- package/test/unit/spec/multistream/mediaRequestManager.ts +369 -68
- package/test/unit/spec/multistream/receiveSlot.ts +76 -17
- package/test/unit/spec/multistream/receiveSlotManager.ts +60 -38
- package/test/unit/spec/multistream/remoteMedia.ts +32 -2
- package/test/unit/spec/multistream/remoteMediaGroup.ts +5 -5
- package/test/unit/spec/multistream/remoteMediaManager.ts +549 -65
- package/test/unit/spec/networkQualityMonitor/index.js +24 -18
- package/test/unit/spec/personal-meeting-room/personal-meeting-room.js +2 -7
- package/test/unit/spec/reachability/index.ts +176 -27
- package/test/unit/spec/reachability/request.js +66 -0
- package/test/unit/spec/reconnection-manager/index.js +58 -31
- package/test/unit/spec/recording-controller/index.js +231 -0
- package/test/unit/spec/recording-controller/util.js +102 -0
- package/test/unit/spec/roap/index.ts +12 -8
- package/test/unit/spec/roap/request.ts +217 -0
- package/test/unit/spec/roap/turnDiscovery.ts +72 -49
- package/test/unit/spec/stats-analyzer/index.js +108 -57
- package/test/utils/cmr.js +44 -42
- package/test/utils/constants.js +9 -0
- package/test/utils/testUtils.js +98 -77
- package/test/utils/webex-config.js +22 -18
- package/test/utils/webex-test-users.js +57 -50
- package/tsconfig.json +6 -0
- package/dist/media/internal-media-core-wrapper.js +0 -22
- package/dist/media/internal-media-core-wrapper.js.map +0 -1
- package/dist/multistream/multistreamMedia.js +0 -116
- package/dist/multistream/multistreamMedia.js.map +0 -1
- package/src/index.js +0 -15
- package/src/media/internal-media-core-wrapper.ts +0 -9
- package/src/meeting/effectsState.ts +0 -211
- package/src/multistream/multistreamMedia.ts +0 -92
- package/test/unit/spec/meeting/effectsState.js +0 -291
|
@@ -0,0 +1,745 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2015-2023 Cisco Systems, Inc. See LICENSE file.
|
|
3
|
+
*/
|
|
4
|
+
import {WebexPlugin} from '@webex/webex-core';
|
|
5
|
+
import {debounce, forEach} from 'lodash';
|
|
6
|
+
import LoggerProxy from '../common/logs/logger-proxy';
|
|
7
|
+
|
|
8
|
+
import {BREAKOUTS, MEETINGS, HTTP_VERBS} from '../constants';
|
|
9
|
+
|
|
10
|
+
import Breakout from './breakout';
|
|
11
|
+
import BreakoutCollection from './collection';
|
|
12
|
+
import BreakoutRequest from './request';
|
|
13
|
+
import {boServiceErrorHandler} from './utils';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @class Breakouts
|
|
17
|
+
*/
|
|
18
|
+
const Breakouts = WebexPlugin.extend({
|
|
19
|
+
namespace: MEETINGS,
|
|
20
|
+
breakoutRequest: BreakoutRequest,
|
|
21
|
+
collections: {
|
|
22
|
+
breakouts: BreakoutCollection,
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
props: {
|
|
26
|
+
allowBackToMain: 'boolean', // only present when in a breakout session
|
|
27
|
+
delayCloseTime: 'number', // appears once breakouts start
|
|
28
|
+
enableBreakoutSession: 'boolean', // appears from the moment you enable breakouts
|
|
29
|
+
hasBreakoutPreAssignments: 'boolean', // appears from the moment you enable breakouts
|
|
30
|
+
groupId: 'string', // appears from the moment you enable breakouts
|
|
31
|
+
name: 'string', // only present when in a breakout session
|
|
32
|
+
sessionId: 'string', // appears from the moment you enable breakouts
|
|
33
|
+
sessionType: 'string', // appears from the moment you enable breakouts
|
|
34
|
+
startTime: 'string', // appears once breakouts start
|
|
35
|
+
status: 'string', // only present when in a breakout session
|
|
36
|
+
url: 'string', // appears from the moment you enable breakouts
|
|
37
|
+
locusUrl: 'string', // the current locus url
|
|
38
|
+
breakoutServiceUrl: 'string', // the current breakout resource url
|
|
39
|
+
mainLocusUrl: 'string', // the locus url of the main session
|
|
40
|
+
groups: 'array', // appears when create breakouts
|
|
41
|
+
shouldFetchPreassignments: 'boolean', // Controlling the lifecycle of the pre-assign API
|
|
42
|
+
editLock: 'object', // appears when getBreakout info editlock = true
|
|
43
|
+
intervalID: 'number',
|
|
44
|
+
meetingId: 'string',
|
|
45
|
+
},
|
|
46
|
+
children: {
|
|
47
|
+
currentBreakoutSession: Breakout,
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
derived: {
|
|
51
|
+
isInMainSession: {
|
|
52
|
+
deps: ['sessionType'],
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the user is in the main session
|
|
55
|
+
* @returns {boolean}
|
|
56
|
+
*/
|
|
57
|
+
fn() {
|
|
58
|
+
return this.sessionType === BREAKOUTS.SESSION_TYPES.MAIN;
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
isActiveBreakout: {
|
|
62
|
+
deps: ['sessionType', 'status'],
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the breakout status is active
|
|
65
|
+
* @returns {boolean}
|
|
66
|
+
*/
|
|
67
|
+
fn() {
|
|
68
|
+
return (
|
|
69
|
+
this.sessionType === BREAKOUTS.SESSION_TYPES.BREAKOUT &&
|
|
70
|
+
(this.status === BREAKOUTS.STATUS.OPEN || this.status === BREAKOUTS.STATUS.CLOSING)
|
|
71
|
+
);
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
breakoutGroupId: {
|
|
75
|
+
deps: ['groups'],
|
|
76
|
+
/**
|
|
77
|
+
* Returns the actived group id
|
|
78
|
+
* @returns {boolean}
|
|
79
|
+
*/
|
|
80
|
+
fn() {
|
|
81
|
+
if (this.groups?.length) {
|
|
82
|
+
return this.groups[0].id;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return '';
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* initialize for the breakouts
|
|
92
|
+
* @returns {void}
|
|
93
|
+
*/
|
|
94
|
+
initialize() {
|
|
95
|
+
this.listenTo(this, 'change:status', () => {
|
|
96
|
+
if (this.status === BREAKOUTS.STATUS.CLOSING) {
|
|
97
|
+
this.trigger(BREAKOUTS.EVENTS.BREAKOUTS_CLOSING);
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
this.debouncedQueryRosters = debounce(this.queryRosters, 10, {
|
|
101
|
+
leading: true,
|
|
102
|
+
trailing: false,
|
|
103
|
+
});
|
|
104
|
+
this.listenTo(this.breakouts, 'add', () => {
|
|
105
|
+
this.debouncedQueryRosters();
|
|
106
|
+
});
|
|
107
|
+
this.listenToBroadcastMessages();
|
|
108
|
+
this.listenToBreakoutRosters();
|
|
109
|
+
// @ts-ignore
|
|
110
|
+
this.breakoutRequest = new BreakoutRequest({webex: this.webex});
|
|
111
|
+
},
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Calls this to clean up listeners
|
|
115
|
+
* @returns {void}
|
|
116
|
+
*/
|
|
117
|
+
cleanUp() {
|
|
118
|
+
this.stopListening();
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Update the current locus url of the meeting
|
|
123
|
+
* @param {string} locusUrl // locus url
|
|
124
|
+
* @returns {void}
|
|
125
|
+
*/
|
|
126
|
+
locusUrlUpdate(locusUrl) {
|
|
127
|
+
this.set('locusUrl', locusUrl);
|
|
128
|
+
const {isInMainSession, mainLocusUrl} = this;
|
|
129
|
+
if (isInMainSession || !mainLocusUrl) {
|
|
130
|
+
this.set('mainLocusUrl', locusUrl);
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Update the current breakout resource url
|
|
136
|
+
* @param {string} breakoutServiceUrl
|
|
137
|
+
* @returns {void}
|
|
138
|
+
*/
|
|
139
|
+
breakoutServiceUrlUpdate(breakoutServiceUrl) {
|
|
140
|
+
this.set('breakoutServiceUrl', `${breakoutServiceUrl}/breakout/`);
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* The initial roster lists need to be queried because you don't
|
|
145
|
+
* get a breakout.roster event when you join the meeting
|
|
146
|
+
* @returns {void}
|
|
147
|
+
*/
|
|
148
|
+
queryRosters() {
|
|
149
|
+
this.webex
|
|
150
|
+
.request({uri: `${this.url}/roster`, qs: {locusUrl: btoa(this.locusUrl)}})
|
|
151
|
+
.then((result) => {
|
|
152
|
+
const {
|
|
153
|
+
body: {rosters},
|
|
154
|
+
} = result;
|
|
155
|
+
|
|
156
|
+
rosters?.forEach(({locus}) => {
|
|
157
|
+
this.handleRosterUpdate(locus);
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
this.trigger(BREAKOUTS.EVENTS.MEMBERS_UPDATE);
|
|
161
|
+
})
|
|
162
|
+
.catch((error) => {
|
|
163
|
+
LoggerProxy.logger.error('Meeting:breakouts#queryRosters failed', error);
|
|
164
|
+
});
|
|
165
|
+
},
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @param {Object} locus // locus object
|
|
170
|
+
* @returns {void}
|
|
171
|
+
*/
|
|
172
|
+
handleRosterUpdate(locus) {
|
|
173
|
+
const sessionId = locus.controls?.breakout?.sessionId;
|
|
174
|
+
|
|
175
|
+
const session = this.breakouts.get(sessionId);
|
|
176
|
+
|
|
177
|
+
if (!session) {
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
session.parseRoster(locus);
|
|
182
|
+
},
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Sets up listener for broadcast messages sent to the breakout session
|
|
186
|
+
* @returns {void}
|
|
187
|
+
*/
|
|
188
|
+
listenToBroadcastMessages() {
|
|
189
|
+
this.listenTo(this.webex.internal.llm, 'event:breakout.message', (event) => {
|
|
190
|
+
const {
|
|
191
|
+
data: {senderUserId, sentTime, message},
|
|
192
|
+
} = event;
|
|
193
|
+
|
|
194
|
+
this.trigger(BREAKOUTS.EVENTS.MESSAGE, {
|
|
195
|
+
senderUserId,
|
|
196
|
+
sentTime,
|
|
197
|
+
message,
|
|
198
|
+
// FIXME: This is only the current sessionId
|
|
199
|
+
// We'd need to check that the dataChannelUrl is still the same
|
|
200
|
+
// to guarantee that this message was sent to this session
|
|
201
|
+
sessionId: this.currentBreakoutSession.sessionId,
|
|
202
|
+
});
|
|
203
|
+
});
|
|
204
|
+
},
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Sets up a listener for roster messags from mecury
|
|
208
|
+
* @returns {void}
|
|
209
|
+
*/
|
|
210
|
+
listenToBreakoutRosters() {
|
|
211
|
+
this.listenTo(this.webex.internal.mercury, 'event:breakout.roster', (event) => {
|
|
212
|
+
this.handleRosterUpdate(event.data.locus);
|
|
213
|
+
this.trigger(BREAKOUTS.EVENTS.MEMBERS_UPDATE);
|
|
214
|
+
});
|
|
215
|
+
},
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Updates the information about the current breakout
|
|
219
|
+
* @param {Object} params
|
|
220
|
+
* @returns {void}
|
|
221
|
+
*/
|
|
222
|
+
updateBreakout(params) {
|
|
223
|
+
const preEnableBreakoutSession = this.get('enableBreakoutSession');
|
|
224
|
+
this.set(params);
|
|
225
|
+
this.set('groups', params.groups);
|
|
226
|
+
|
|
227
|
+
this.set('currentBreakoutSession', {
|
|
228
|
+
sessionId: params.sessionId,
|
|
229
|
+
groupId: params.groupId,
|
|
230
|
+
name: params.name,
|
|
231
|
+
current: true,
|
|
232
|
+
sessionType: params.sessionType,
|
|
233
|
+
url: params.url,
|
|
234
|
+
[BREAKOUTS.SESSION_STATES.ACTIVE]: false,
|
|
235
|
+
[BREAKOUTS.SESSION_STATES.ALLOWED]: false,
|
|
236
|
+
[BREAKOUTS.SESSION_STATES.ALLOWED]: false,
|
|
237
|
+
[BREAKOUTS.SESSION_STATES.ASSIGNED_CURRENT]: false,
|
|
238
|
+
[BREAKOUTS.SESSION_STATES.REQUESTED]: false,
|
|
239
|
+
});
|
|
240
|
+
|
|
241
|
+
// We need to call queryPreAssignments when enableBreakoutSession become true
|
|
242
|
+
if (
|
|
243
|
+
params.enableBreakoutSession &&
|
|
244
|
+
params.hasBreakoutPreAssignments &&
|
|
245
|
+
preEnableBreakoutSession !== params.enableBreakoutSession
|
|
246
|
+
) {
|
|
247
|
+
this.queryPreAssignments();
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Updates the information about available breakouts
|
|
253
|
+
* @param {Object} payload
|
|
254
|
+
* @returns {void}
|
|
255
|
+
*/
|
|
256
|
+
updateBreakoutSessions(payload) {
|
|
257
|
+
const breakouts = {};
|
|
258
|
+
|
|
259
|
+
if (payload.breakoutSessions) {
|
|
260
|
+
forEach(BREAKOUTS.SESSION_STATES, (state) => {
|
|
261
|
+
forEach(payload.breakoutSessions[state], (breakout) => {
|
|
262
|
+
const {sessionId} = breakout;
|
|
263
|
+
|
|
264
|
+
if (!breakouts[sessionId]) {
|
|
265
|
+
breakouts[sessionId] = breakout;
|
|
266
|
+
breakouts[sessionId][BREAKOUTS.SESSION_STATES.ACTIVE] = false;
|
|
267
|
+
breakouts[sessionId][BREAKOUTS.SESSION_STATES.ASSIGNED] = false;
|
|
268
|
+
breakouts[sessionId][BREAKOUTS.SESSION_STATES.ALLOWED] = false;
|
|
269
|
+
breakouts[sessionId][BREAKOUTS.SESSION_STATES.ASSIGNED_CURRENT] = false;
|
|
270
|
+
breakouts[sessionId][BREAKOUTS.SESSION_STATES.REQUESTED] = false;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
breakouts[sessionId][state] = true;
|
|
274
|
+
});
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
forEach(breakouts, (breakout: typeof Breakout) => {
|
|
279
|
+
// eslint-disable-next-line no-param-reassign
|
|
280
|
+
breakout.url = this.url;
|
|
281
|
+
});
|
|
282
|
+
|
|
283
|
+
this.breakouts.set(Object.values(breakouts));
|
|
284
|
+
},
|
|
285
|
+
/**
|
|
286
|
+
* get main session
|
|
287
|
+
* @returns {Breakout}
|
|
288
|
+
*/
|
|
289
|
+
getMainSession() {
|
|
290
|
+
if (this.isInMainSession) {
|
|
291
|
+
return this.currentBreakoutSession;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
const mainSession = this.breakouts.filter((breakout) => breakout.isMain)[0];
|
|
295
|
+
if (!mainSession) {
|
|
296
|
+
throw new Error('no main session found');
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
return mainSession;
|
|
300
|
+
},
|
|
301
|
+
/**
|
|
302
|
+
* Host/CoHost ask all participants return to main session
|
|
303
|
+
* @returns {Promise}
|
|
304
|
+
*/
|
|
305
|
+
askAllToReturn() {
|
|
306
|
+
const mainSession = this.getMainSession();
|
|
307
|
+
|
|
308
|
+
return this.webex.request({
|
|
309
|
+
method: HTTP_VERBS.POST,
|
|
310
|
+
uri: `${this.url}/requestMove`,
|
|
311
|
+
body: {
|
|
312
|
+
groupId: mainSession.groupId,
|
|
313
|
+
sessionId: mainSession.sessionId,
|
|
314
|
+
},
|
|
315
|
+
});
|
|
316
|
+
},
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Broadcast message to all breakout session's participants
|
|
320
|
+
* @param {String} message
|
|
321
|
+
* @param {Object} options
|
|
322
|
+
* @returns {Promise}
|
|
323
|
+
*/
|
|
324
|
+
broadcast(message, options) {
|
|
325
|
+
const {breakoutGroupId} = this;
|
|
326
|
+
if (!breakoutGroupId) {
|
|
327
|
+
throw new Error('Cannot broadcast, no breakout session found');
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
return this.breakoutRequest.broadcast({
|
|
331
|
+
url: this.url,
|
|
332
|
+
message,
|
|
333
|
+
options,
|
|
334
|
+
groupId: breakoutGroupId,
|
|
335
|
+
});
|
|
336
|
+
},
|
|
337
|
+
/**
|
|
338
|
+
* Make enable breakout resource
|
|
339
|
+
* @returns {Promise}
|
|
340
|
+
*/
|
|
341
|
+
enableBreakouts() {
|
|
342
|
+
if (this.breakoutServiceUrl) {
|
|
343
|
+
// @ts-ignore
|
|
344
|
+
return this.webex
|
|
345
|
+
.request({
|
|
346
|
+
method: HTTP_VERBS.POST,
|
|
347
|
+
uri: this.breakoutServiceUrl,
|
|
348
|
+
body: {
|
|
349
|
+
locusUrl: this.locusUrl,
|
|
350
|
+
},
|
|
351
|
+
})
|
|
352
|
+
.catch((err) => {
|
|
353
|
+
LoggerProxy.logger.error(
|
|
354
|
+
`Meeting:request#touchBreakout --> Error provisioning error ${err}`
|
|
355
|
+
);
|
|
356
|
+
throw err;
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
return Promise.reject(new Error(`enableBreakouts: the breakoutServiceUrl is empty`));
|
|
361
|
+
},
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Make the meeting enable or disable breakout session
|
|
365
|
+
* @param {boolean} enable
|
|
366
|
+
* @returns {Promise}
|
|
367
|
+
*/
|
|
368
|
+
async toggleBreakout(enable) {
|
|
369
|
+
if (this.enableBreakoutSession === undefined) {
|
|
370
|
+
const info = await this.enableBreakouts();
|
|
371
|
+
if (!enable) {
|
|
372
|
+
// if enable is false, updateBreakout set the param then set enableBreakoutSession as false
|
|
373
|
+
this.updateBreakout(info.body);
|
|
374
|
+
await this.doToggleBreakout(enable);
|
|
375
|
+
}
|
|
376
|
+
} else {
|
|
377
|
+
await this.doToggleBreakout(enable);
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* do toggle meeting breakout session enable or disable
|
|
383
|
+
* @param {boolean} enable
|
|
384
|
+
* @returns {Promise}
|
|
385
|
+
*/
|
|
386
|
+
doToggleBreakout(enable) {
|
|
387
|
+
const body = {
|
|
388
|
+
...(this.editLock && !!this.editLock.token ? {editlock: {token: this.editLock.token}} : {}),
|
|
389
|
+
...{enableBreakoutSession: enable},
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
// @ts-ignore
|
|
393
|
+
return this.webex.request({
|
|
394
|
+
method: HTTP_VERBS.PUT,
|
|
395
|
+
uri: this.url,
|
|
396
|
+
body,
|
|
397
|
+
});
|
|
398
|
+
},
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Create new breakout sessions
|
|
402
|
+
* @param {object} sessions -- breakout session group
|
|
403
|
+
* @returns {Promise}
|
|
404
|
+
*/
|
|
405
|
+
async create(sessions) {
|
|
406
|
+
const body = {
|
|
407
|
+
...(this.editLock && !!this.editLock.token ? {editlock: {token: this.editLock.token}} : {}),
|
|
408
|
+
...{groups: [{sessions}]},
|
|
409
|
+
};
|
|
410
|
+
// @ts-ignore
|
|
411
|
+
const breakInfo = await this.webex
|
|
412
|
+
.request({
|
|
413
|
+
method: HTTP_VERBS.PUT,
|
|
414
|
+
uri: this.url,
|
|
415
|
+
body,
|
|
416
|
+
})
|
|
417
|
+
.catch((error) => {
|
|
418
|
+
return Promise.reject(boServiceErrorHandler(error, 'Breakouts#create'));
|
|
419
|
+
});
|
|
420
|
+
|
|
421
|
+
if (breakInfo.body?.groups) {
|
|
422
|
+
this.set('groups', breakInfo.body.groups);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
// clear edit lock info after save breakout session info
|
|
426
|
+
this._clearEditLockInfo();
|
|
427
|
+
|
|
428
|
+
return Promise.resolve(breakInfo);
|
|
429
|
+
},
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Delete all breakout sessions
|
|
433
|
+
* @returns {Promise}
|
|
434
|
+
*/
|
|
435
|
+
async clearSessions() {
|
|
436
|
+
const body = {
|
|
437
|
+
...(this.editLock && !!this.editLock.token ? {editlock: {token: this.editLock.token}} : {}),
|
|
438
|
+
...{groups: [{action: BREAKOUTS.ACTION.DELETE}]},
|
|
439
|
+
};
|
|
440
|
+
// @ts-ignore
|
|
441
|
+
const breakInfo = await this.webex
|
|
442
|
+
.request({
|
|
443
|
+
method: HTTP_VERBS.PUT,
|
|
444
|
+
uri: this.url,
|
|
445
|
+
body,
|
|
446
|
+
})
|
|
447
|
+
.catch((error) => {
|
|
448
|
+
return Promise.reject(boServiceErrorHandler(error, 'Breakouts#clearSessions'));
|
|
449
|
+
});
|
|
450
|
+
|
|
451
|
+
if (breakInfo.body?.groups) {
|
|
452
|
+
this.set('groups', breakInfo.body.groups);
|
|
453
|
+
}
|
|
454
|
+
this.shouldFetchPreassignments = false;
|
|
455
|
+
|
|
456
|
+
return Promise.resolve(breakInfo);
|
|
457
|
+
},
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Host or cohost starts breakout sessions
|
|
461
|
+
* @param {object} params
|
|
462
|
+
* @returns {Promise}
|
|
463
|
+
*/
|
|
464
|
+
start(params = {}) {
|
|
465
|
+
const action = BREAKOUTS.ACTION.START;
|
|
466
|
+
const payload = {
|
|
467
|
+
id: this.breakoutGroupId,
|
|
468
|
+
action,
|
|
469
|
+
allowBackToMain: false,
|
|
470
|
+
allowToJoinLater: false,
|
|
471
|
+
duration: BREAKOUTS.DEFAULT_DURATION,
|
|
472
|
+
...params,
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
const body = {
|
|
476
|
+
...(this.editLock && !!this.editLock.token
|
|
477
|
+
? {editlock: {token: this.editLock.token, refresh: true}}
|
|
478
|
+
: {}),
|
|
479
|
+
...{groups: [payload]},
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
return this.request({
|
|
483
|
+
method: HTTP_VERBS.PUT,
|
|
484
|
+
uri: this.url,
|
|
485
|
+
body,
|
|
486
|
+
}).catch((error) => {
|
|
487
|
+
return Promise.reject(boServiceErrorHandler(error, 'Breakouts#start'));
|
|
488
|
+
});
|
|
489
|
+
},
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Host or cohost ends breakout sessions
|
|
493
|
+
* @param {object} params
|
|
494
|
+
* @returns {Promise}
|
|
495
|
+
*/
|
|
496
|
+
end(params = {}) {
|
|
497
|
+
const {delayCloseTime, breakoutGroupId: id} = this;
|
|
498
|
+
const action = BREAKOUTS.ACTION.CLOSE;
|
|
499
|
+
const payload = {
|
|
500
|
+
id,
|
|
501
|
+
action,
|
|
502
|
+
delayCloseTime,
|
|
503
|
+
...params,
|
|
504
|
+
};
|
|
505
|
+
|
|
506
|
+
const body = {
|
|
507
|
+
...(this.editLock && !!this.editLock.token
|
|
508
|
+
? {editlock: {token: this.editLock.token, refresh: true}}
|
|
509
|
+
: {}),
|
|
510
|
+
...{groups: [payload]},
|
|
511
|
+
};
|
|
512
|
+
|
|
513
|
+
return this.request({
|
|
514
|
+
method: HTTP_VERBS.PUT,
|
|
515
|
+
uri: this.url,
|
|
516
|
+
body,
|
|
517
|
+
}).catch((error) => {
|
|
518
|
+
return Promise.reject(boServiceErrorHandler(error, 'Breakouts#end'));
|
|
519
|
+
});
|
|
520
|
+
},
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Host or cohost update breakout sessions
|
|
524
|
+
* @param {Object} params
|
|
525
|
+
* @param {String} params.id
|
|
526
|
+
* @returns {Promise}
|
|
527
|
+
*/
|
|
528
|
+
update(params: {id: string}) {
|
|
529
|
+
if (!params.id) {
|
|
530
|
+
return Promise.reject(new Error('Missing breakout group id'));
|
|
531
|
+
}
|
|
532
|
+
const payload = {...params};
|
|
533
|
+
|
|
534
|
+
const body = {
|
|
535
|
+
...(this.editLock?.token ? {editlock: {token: this.editLock.token, refresh: true}} : {}),
|
|
536
|
+
...{groups: [payload]},
|
|
537
|
+
};
|
|
538
|
+
|
|
539
|
+
return this.request({
|
|
540
|
+
method: HTTP_VERBS.PUT,
|
|
541
|
+
uri: this.url,
|
|
542
|
+
body,
|
|
543
|
+
}).catch((error) => {
|
|
544
|
+
return Promise.reject(boServiceErrorHandler(error, 'Breakouts#update'));
|
|
545
|
+
});
|
|
546
|
+
},
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* get existed breakout sessions
|
|
550
|
+
* @param {boolean} editlock -- lock operations of the breakout sessions
|
|
551
|
+
* @returns {Promise}
|
|
552
|
+
*/
|
|
553
|
+
async getBreakout(editlock) {
|
|
554
|
+
const breakout = await this.request({
|
|
555
|
+
method: HTTP_VERBS.GET,
|
|
556
|
+
uri: this.url + (editlock ? `?editlock=${editlock}` : ''),
|
|
557
|
+
});
|
|
558
|
+
|
|
559
|
+
if (breakout.body?.groups) {
|
|
560
|
+
this.set('groups', breakout.body.groups);
|
|
561
|
+
}
|
|
562
|
+
if (editlock && breakout.body?.editlock?.token) {
|
|
563
|
+
this.set('editLock', breakout.body.editlock);
|
|
564
|
+
this.keepEditLockAlive();
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
return breakout;
|
|
568
|
+
},
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* enable and edit lock breakout
|
|
572
|
+
* @returns {void}
|
|
573
|
+
*/
|
|
574
|
+
async enableAndLockBreakout() {
|
|
575
|
+
if (this.enableBreakoutSession) {
|
|
576
|
+
this.lockBreakout();
|
|
577
|
+
} else {
|
|
578
|
+
const info = await this.enableBreakouts();
|
|
579
|
+
|
|
580
|
+
if (info.body) {
|
|
581
|
+
this.lockBreakout();
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* send breakout edit lock
|
|
588
|
+
* @returns {void}
|
|
589
|
+
*/
|
|
590
|
+
async lockBreakout() {
|
|
591
|
+
if (this.editLock && !!this.editLock.token) {
|
|
592
|
+
if (this.editLock.state === BREAKOUTS.EDIT_LOCK_STATUS.LOCKED) {
|
|
593
|
+
throw new Error('Breakout already locked');
|
|
594
|
+
} else {
|
|
595
|
+
this.keepEditLockAlive();
|
|
596
|
+
}
|
|
597
|
+
} else {
|
|
598
|
+
const breakout = await this.getBreakout(true);
|
|
599
|
+
if (breakout.body?.editlock) {
|
|
600
|
+
this.keepEditLockAlive();
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* keep edit lock alive
|
|
607
|
+
* @returns {void}
|
|
608
|
+
*/
|
|
609
|
+
keepEditLockAlive() {
|
|
610
|
+
if (this.editLock && !!this.editLock.token) {
|
|
611
|
+
const ttl = this.editLock.ttl < 30 ? BREAKOUTS.DEFAULT_TTL : this.editLock.ttl;
|
|
612
|
+
if (this.intervalID) {
|
|
613
|
+
window.clearInterval(this.intervalID);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
this.intervalID = window.setInterval(() => {
|
|
617
|
+
this.request({
|
|
618
|
+
method: HTTP_VERBS.PUT,
|
|
619
|
+
uri: `${this.url}/editlock/${this.editLock.token}`,
|
|
620
|
+
}).catch((error) => {
|
|
621
|
+
this._clearEditLockInfo();
|
|
622
|
+
|
|
623
|
+
return Promise.reject(boServiceErrorHandler(error, 'Breakouts#keepEditLockAlive'));
|
|
624
|
+
});
|
|
625
|
+
}, (ttl / 2) * 1000);
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* unlock edit breakout
|
|
631
|
+
* @returns {void}
|
|
632
|
+
*/
|
|
633
|
+
unLockEditBreakout() {
|
|
634
|
+
if (this.editLock && !!this.editLock.token) {
|
|
635
|
+
this.request({
|
|
636
|
+
method: HTTP_VERBS.DELETE,
|
|
637
|
+
uri: `${this.url}/editlock/${this.editLock.token}`,
|
|
638
|
+
})
|
|
639
|
+
.then(() => {
|
|
640
|
+
this._clearEditLockInfo();
|
|
641
|
+
})
|
|
642
|
+
.catch((error) => {
|
|
643
|
+
return Promise.reject(boServiceErrorHandler(error, 'Breakouts#unLockEditBreakout'));
|
|
644
|
+
});
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* clear interval and edit lock info
|
|
650
|
+
* @private
|
|
651
|
+
* @returns {void}
|
|
652
|
+
*/
|
|
653
|
+
_clearEditLockInfo() {
|
|
654
|
+
if (this.intervalID) {
|
|
655
|
+
clearInterval(this.intervalID);
|
|
656
|
+
}
|
|
657
|
+
this.set('editLock', {});
|
|
658
|
+
},
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* assign participants to breakout session
|
|
662
|
+
* @param {Array} sessions
|
|
663
|
+
* @returns {void}
|
|
664
|
+
*/
|
|
665
|
+
assign(sessions: any[]) {
|
|
666
|
+
const internalSessions = sessions.map((item) => {
|
|
667
|
+
return {
|
|
668
|
+
id: item.id,
|
|
669
|
+
assigned: item.memberIds,
|
|
670
|
+
assignedEmails: item.emails,
|
|
671
|
+
anyoneCanJoin: !!item.anyone,
|
|
672
|
+
};
|
|
673
|
+
});
|
|
674
|
+
|
|
675
|
+
return this.request({
|
|
676
|
+
method: HTTP_VERBS.PUT,
|
|
677
|
+
uri: this.url,
|
|
678
|
+
body: {
|
|
679
|
+
groups: [
|
|
680
|
+
{
|
|
681
|
+
id: this.breakoutGroupId,
|
|
682
|
+
sessions: internalSessions,
|
|
683
|
+
},
|
|
684
|
+
],
|
|
685
|
+
},
|
|
686
|
+
});
|
|
687
|
+
},
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* The pre-assignments need to be queried when "hasBreakoutPreAssignments" is true
|
|
691
|
+
* @returns {void}
|
|
692
|
+
*/
|
|
693
|
+
queryPreAssignments() {
|
|
694
|
+
if (!this.shouldFetchPreassignments) {
|
|
695
|
+
this.webex
|
|
696
|
+
.request({uri: `${this.url}/preassignments`, qs: {locusUrl: btoa(this.locusUrl)}})
|
|
697
|
+
.then((result) => {
|
|
698
|
+
if (result.body?.groups) {
|
|
699
|
+
this.set('groups', result.body.groups);
|
|
700
|
+
}
|
|
701
|
+
})
|
|
702
|
+
.catch((error) => {
|
|
703
|
+
LoggerProxy.logger.error('Meeting:breakouts#queryPreAssignments failed', error);
|
|
704
|
+
});
|
|
705
|
+
this.shouldFetchPreassignments = true;
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
/**
|
|
709
|
+
* assign participants dynamically after breakout sessions started,
|
|
710
|
+
* but currently it only used for admitting participants from lobby into breakout directly
|
|
711
|
+
* @param {Array} sessions
|
|
712
|
+
* @returns {void}
|
|
713
|
+
*/
|
|
714
|
+
dynamicAssign(sessions: any[]) {
|
|
715
|
+
const updatedSessions = sessions.map((item) => {
|
|
716
|
+
return {
|
|
717
|
+
id: item.id,
|
|
718
|
+
participants: item.participants,
|
|
719
|
+
targetState: item.targetState,
|
|
720
|
+
};
|
|
721
|
+
});
|
|
722
|
+
|
|
723
|
+
const body = {
|
|
724
|
+
groups: [
|
|
725
|
+
{
|
|
726
|
+
id: this.breakoutGroupId,
|
|
727
|
+
sessions: updatedSessions,
|
|
728
|
+
},
|
|
729
|
+
],
|
|
730
|
+
editlock: null,
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
if (this.editLock && this.editLock.token) {
|
|
734
|
+
body.editlock = this.editLock;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
return this.request({
|
|
738
|
+
method: HTTP_VERBS.PUT,
|
|
739
|
+
uri: `${this.url}/dynamicAssign`,
|
|
740
|
+
body,
|
|
741
|
+
});
|
|
742
|
+
},
|
|
743
|
+
});
|
|
744
|
+
|
|
745
|
+
export default Breakouts;
|