@webex/plugin-meetings 3.0.0-stream-classes.1 → 3.0.0-stream-classes.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/annotation/annotation.types.d.ts +0 -1
- package/dist/types/annotation/index.d.ts +0 -7
- package/dist/types/breakouts/events.d.ts +7 -1
- package/dist/types/common/queue.d.ts +9 -7
- package/dist/types/constants.d.ts +44 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/locus-info/index.d.ts +8 -1
- package/dist/types/locus-info/parser.d.ts +65 -6
- package/dist/types/media/index.d.ts +2 -2
- package/dist/types/media/properties.d.ts +27 -20
- package/dist/types/meeting/in-meeting-actions.d.ts +14 -0
- package/dist/types/meeting/index.d.ts +181 -186
- package/dist/types/meeting/locusMediaRequest.d.ts +5 -0
- package/dist/types/meeting/muteState.d.ts +16 -16
- package/dist/types/meeting/request.d.ts +36 -17
- package/dist/types/meeting/util.d.ts +22 -3
- package/dist/types/meeting-info/index.d.ts +6 -1
- package/dist/types/meetings/index.d.ts +8 -11
- package/dist/types/member/index.d.ts +2 -1
- package/dist/types/member/types.d.ts +11 -0
- package/dist/types/metrics/index.d.ts +4 -128
- package/dist/types/multistream/sendSlotManager.d.ts +61 -0
- package/dist/types/reachability/index.d.ts +6 -0
- package/dist/types/reachability/request.d.ts +3 -1
- package/dist/types/reconnection-manager/index.d.ts +2 -2
- package/dist/types/recording-controller/index.d.ts +15 -1
- package/dist/types/recording-controller/util.d.ts +5 -4
- package/dist/types/roap/request.d.ts +2 -0
- package/dist/types/rtcMetrics/constants.d.ts +4 -0
- package/dist/types/rtcMetrics/index.d.ts +47 -0
- package/package.json +1 -1
- package/dist/common/browser-detection.d.ts +0 -9
- package/dist/common/collection.d.ts +0 -48
- package/dist/common/config.d.ts +0 -2
- package/dist/common/errors/captcha-error.d.ts +0 -15
- package/dist/common/errors/intent-to-join.d.ts +0 -16
- package/dist/common/errors/join-meeting.d.ts +0 -17
- package/dist/common/errors/media.d.ts +0 -15
- package/dist/common/errors/parameter.d.ts +0 -15
- package/dist/common/errors/password-error.d.ts +0 -15
- package/dist/common/errors/permission.d.ts +0 -14
- package/dist/common/errors/reconnection-in-progress.d.ts +0 -9
- package/dist/common/errors/reconnection.d.ts +0 -15
- package/dist/common/errors/stats.d.ts +0 -15
- package/dist/common/errors/webex-errors.d.ts +0 -81
- package/dist/common/errors/webex-meetings-error.d.ts +0 -20
- package/dist/common/events/events-scope.d.ts +0 -17
- package/dist/common/events/events.d.ts +0 -12
- package/dist/common/events/trigger-proxy.d.ts +0 -2
- package/dist/common/events/util.d.ts +0 -2
- package/dist/common/logs/logger-config.d.ts +0 -2
- package/dist/common/logs/logger-proxy.d.ts +0 -2
- package/dist/common/logs/request.d.ts +0 -34
- package/dist/common/queue.d.ts +0 -32
- package/dist/config.d.ts +0 -73
- package/dist/constants.d.ts +0 -924
- package/dist/controls-options-manager/constants.d.ts +0 -4
- package/dist/controls-options-manager/enums.d.ts +0 -5
- package/dist/controls-options-manager/index.d.ts +0 -120
- package/dist/controls-options-manager/util.d.ts +0 -7
- package/dist/docs/markdown/index.md +0 -12
- package/dist/docs/markdown/plugin-meetings.constants._active_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._answer_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._call_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._conflict_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._conversation_url_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._created_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._error_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._forced_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._id_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._idle_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._in_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._in_lobby_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._in_meeting_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._inactive_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._incoming_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._join_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._joined_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._left_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._locus_id_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_center_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_id_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_link_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_uuid_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._move_media_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._none_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._not_in_meeting_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._observe_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._people_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._personal_room_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._receive_only_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._remove_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._requested_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._resource_room_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._room_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._s_line.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._send_only_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._send_receive_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._sip_bridge_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._sip_uri_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._slides_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._unknown_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._user_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._wait_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._webex_meeting_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.alert.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.alternate_redirect_true.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.answer.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.api.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.audio.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.audio_input.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.audio_status.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.available_resolutions.md +0 -60
- package/dist/docs/markdown/plugin-meetings.constants.bnr_status.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.breakouts.md +0 -51
- package/dist/docs/markdown/plugin-meetings.constants.calendar.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.calendar_events.md +0 -17
- package/dist/docs/markdown/plugin-meetings.constants.calendar_events_api.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.call.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.call_removed_reason.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.claim.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.cmr_meetings.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.complete.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.connection_state.md +0 -18
- package/dist/docs/markdown/plugin-meetings.constants.content.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.controls.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.conversation_service.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.conversation_url.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.correlation_id.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.decline.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.default_excluded_stats.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.default_get_stats_filter.md +0 -13
- package/dist/docs/markdown/plugin-meetings.constants.development.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.dialer_regex.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.display_hints.md +0 -51
- package/dist/docs/markdown/plugin-meetings.constants.embedded_app_types.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.end.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.ended.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.error.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.error_dictionary.md +0 -62
- package/dist/docs/markdown/plugin-meetings.constants.event_triggers.md +0 -82
- package/dist/docs/markdown/plugin-meetings.constants.event_types.md +0 -21
- package/dist/docs/markdown/plugin-meetings.constants.events.md +0 -26
- package/dist/docs/markdown/plugin-meetings.constants.floor_action.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.full_state.md +0 -17
- package/dist/docs/markdown/plugin-meetings.constants.gathering.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.hecate.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.host.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.http_verbs.md +0 -17
- package/dist/docs/markdown/plugin-meetings.constants.https_protocol.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.ice_fail_timeout.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.ice_gathering_state.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.ice_state.md +0 -18
- package/dist/docs/markdown/plugin-meetings.constants.ice_timeout.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.intent_to_join.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.ipv4_regex.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.join.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.layout_types.md +0 -13
- package/dist/docs/markdown/plugin-meetings.constants.leave.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.live.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.local.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.loci.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.locus.md +0 -26
- package/dist/docs/markdown/plugin-meetings.constants.locus_url.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.locusevent.md +0 -33
- package/dist/docs/markdown/plugin-meetings.constants.locusinfo.md +0 -43
- package/dist/docs/markdown/plugin-meetings.constants.max_random_delay_for_meeting_info.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.md +0 -186
- package/dist/docs/markdown/plugin-meetings.constants.media.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.media_devices.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.media_peer_connection_name.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.media_state.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.media_track_constraint.md +0 -17
- package/dist/docs/markdown/plugin-meetings.constants.mediacontent.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.meet.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.meet_m.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.meeting_audio_state_machine.md +0 -20
- package/dist/docs/markdown/plugin-meetings.constants.meeting_end_reason.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.meeting_errors.md +0 -102
- package/dist/docs/markdown/plugin-meetings.constants.meeting_info_failure_reason.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.meeting_removed_reason.md +0 -19
- package/dist/docs/markdown/plugin-meetings.constants.meeting_state.md +0 -25
- package/dist/docs/markdown/plugin-meetings.constants.meeting_state_machine.md +0 -31
- package/dist/docs/markdown/plugin-meetings.constants.meeting_video_state_machine.md +0 -20
- package/dist/docs/markdown/plugin-meetings.constants.meetinginfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.meetings.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.metrics_join_times_max_duration.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.moderator_false.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.moderator_true.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.mqa_inteval.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.mqa_stats.md +0 -82
- package/dist/docs/markdown/plugin-meetings.constants.network_status.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.network_type.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.offline.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.online.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.participant.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.participant_deltas.md +0 -22
- package/dist/docs/markdown/plugin-meetings.constants.password_status.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.pc_bail_timeout.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.peer_connection_state.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.provisional_type_dial_in.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.provisional_type_dial_out.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.pstn_status.md +0 -18
- package/dist/docs/markdown/plugin-meetings.constants.quality_levels.md +0 -19
- package/dist/docs/markdown/plugin-meetings.constants.reachability.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.ready.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.reconnection.md +0 -19
- package/dist/docs/markdown/plugin-meetings.constants.recording_state.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.remote.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.resource.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.retry_timeout.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.roap.md +0 -22
- package/dist/docs/markdown/plugin-meetings.constants.self_roles.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.send_dtmf_endpoint.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.sendrecv.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.share.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.share_peer_connection_name.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.share_status.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.share_stopped_reason.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.sip_uri.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.stats.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.type.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.use_uri_lookup_false.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.uuid_reg.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.valid_email_address.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.valid_pin.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.valid_pmr_address.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.valid_pmr_link.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.video.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.video_input.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.video_resolutions.md +0 -24
- package/dist/docs/markdown/plugin-meetings.constants.video_status.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.wbxappapi_service.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.webex_dot_com.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.whiteboard.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.www_dot.md +0 -11
- package/dist/docs/markdown/plugin-meetings.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default._constructor_.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.acknowledge.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.addmedia.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.admit.md +0 -32
- package/dist/docs/markdown/plugin-meetings.meeting.default.attrs.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.audio.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.breakouts.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.callevents.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.cancelphoneinvite.md +0 -30
- package/dist/docs/markdown/plugin-meetings.meeting.default.canupdatemedia.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.changevideolayout.md +0 -38
- package/dist/docs/markdown/plugin-meetings.meeting.default.clearmeetingdata.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.closelocalshare.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.closelocalstream.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.closepeerconnections.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.closeremotestream.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.closeremotetracks.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.controlsoptionsmanager.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.conversationurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.correlationid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.createmediaconnection.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.decline.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.deferjoin.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.destination.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.destinationtype.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.deviceurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialindevicestatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialinurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialoutdevicestatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialouturl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.disconnectphoneaudio.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.endcallinitiatejoinreq.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.endjoinreqresp.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.endlocalsdpgenremotesdprecvdelay.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.endmeetingforall.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.fetchmeetinginfo.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.fetchmeetinginfotimeoutid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.floorgrantpending.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.forwardevent.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.getanalyzermetricsprepayload.md +0 -32
- package/dist/docs/markdown/plugin-meetings.meeting.default.getcallinitiatejoinreq.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.getdevices.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.getjoinreqresp.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.getlocalsdpgenremotesdprecvdelay.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmediaconnectiondebugid.md +0 -15
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmediastreams.md +0 -15
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmembers.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsendingmediadelayduration.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsetupdelayduration.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsupporteddevices.md +0 -16
- package/dist/docs/markdown/plugin-meetings.meeting.default.gettotaljmt.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.guest.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.handledatachannelurlchange.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.handleroapfailure.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.hasjoinedonce.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.haswebsocketconnected.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.hostid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.id.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.inmeetingactions.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.invite.md +0 -33
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudioconnected.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudiomuted.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudioself.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.islocalsharelive.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.ismultistream.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.isreactionssupported.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.isroapinprogress.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.issharing.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.istranscriptionsupported.md +0 -23
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideoconnected.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideomuted.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideoself.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.join.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.joinedwith.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.joinwithmedia.md +0 -36
- package/dist/docs/markdown/plugin-meetings.meeting.default.keepalivetimerid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.lastvideolayoutinfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.leave.md +0 -31
- package/dist/docs/markdown/plugin-meetings.meeting.default.lockmeeting.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusinfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.md +0 -227
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaconnections.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.medianegotiatedevent.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaproperties.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediarequestmanagers.md +0 -16
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingfinitestatemachine.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetinginfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetinginfofailurereason.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingjoinurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingnumber.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingrequest.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingstate.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.members.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.movefrom.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.moveto.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.mute.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.muteaudio.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.mutevideo.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.namespace.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.networkqualitymonitor.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.networkstatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.options.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.orgid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.owner.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.parsemeetinginfo.md +0 -34
- package/dist/docs/markdown/plugin-meetings.meeting.default.partner.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.passwordstatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.pauserecording.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.permissiontoken.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.policy.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.processnextqueuedmediaupdate.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.publishtracks.md +0 -33
- package/dist/docs/markdown/plugin-meetings.meeting.default.queuedmediaupdates.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.receiveslotmanager.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.reconnect.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.reconnectionmanager.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.recording.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.recordingcontroller.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.refreshcaptcha.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.remotemediamanager.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.remove.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.requiredcaptcha.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.resource.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.resourceid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.resourceurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.resumerecording.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.roap.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.roapseq.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.selfid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.senddtmf.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.sendreaction.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.setdisallowunmute.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendcallinitiatejoinreq.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendjoinreqresp.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendlocalsdpgenremotesdprecvdelay.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendsendingmediadelay.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendsetupdelay.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocalsharetrack.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocaltracks.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocalvideoquality.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmeetingquality.md +0 -31
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmercurylistener.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmuteall.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmuteonentry.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setremotequalitylevel.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setsipuri.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartcallinitiatejoinreq.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartjoinreqresp.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartlocalsdpgenremotesdprecvdelay.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartsendingmediadelay.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartsetupdelay.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupbreakoutslistener.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupmediaconnectionlisteners.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupstatsanalyzereventhandlers.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.sharescreen.md +0 -32
- package/dist/docs/markdown/plugin-meetings.meeting.default.sharestatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.sipuri.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.startcallinitiatejoinreq.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.startjoinreqresp.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.startkeepalive.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.startlocalsdpgenremotesdprecvdelay.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.startrecording.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.startwhiteboardshare.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.state.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.statsanalyzer.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopkeepalive.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopreceivingtranscription.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.stoprecording.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopshare.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopwhiteboardshare.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.togglereactions.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.transcription.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.transfer.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.type.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.unlockmeeting.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unmuteaudio.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unmutevideo.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unpublishtracks.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetlocalsharetrack.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetlocalvideotrack.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetpeerconnections.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetremotestream.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetremotetracks.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.updateaudio.md +0 -34
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatellmconnection.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatemedia.md +0 -32
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatemediaconnections.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.updateshare.md +0 -35
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatevideo.md +0 -34
- package/dist/docs/markdown/plugin-meetings.meeting.default.uploadlogs.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.usephoneaudio.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.userid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.verifypassword.md +0 -35
- package/dist/docs/markdown/plugin-meetings.meeting.default.video.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.wirelessshare.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.md +0 -18
- package/dist/docs/markdown/plugin-meetings.meeting.media_update_type.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meetings._constructor_.md +0 -22
- package/dist/docs/markdown/plugin-meetings.meetings.create.md +0 -30
- package/dist/docs/markdown/plugin-meetings.meetings.fetchuserpreferredwebexsite.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meetings.geohintinfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.getallmeetings.md +0 -31
- package/dist/docs/markdown/plugin-meetings.meetings.getgeohint.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meetings.getlogger.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meetings.getmeetingbytype.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meetings.getpersonalmeetingroom.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.getreachability.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.getscheduledmeetings.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meetings.loggerrequest.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.md +0 -57
- package/dist/docs/markdown/plugin-meetings.meetings.media.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.meetingcollection.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.meetinginfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.namespace.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.personalmeetingroom.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.preferredwebexsite.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.reachability.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.register.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.registered.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.request.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.setreachability.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.startreachability.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.syncmeetings.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.unregister.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.uploadlogs.md +0 -34
- package/dist/docs/markdown/plugin-meetings.reactions.md +0 -13
- package/dist/docs/markdown/plugin-meetings.reactions.reactions.md +0 -11
- package/dist/docs/markdown/plugin-meetings.reactions.skintones.md +0 -11
- package/dist/docs/markdown/plugin-meetings.remotemedia.getmaxfs.md +0 -26
- package/dist/docs/markdown/plugin-meetings.remotemedia.md +0 -31
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia._constructor_.md +0 -22
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.csi.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.id.md +0 -11
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.md +0 -40
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.mediatype.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.memberid.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.setsizehint.md +0 -25
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.sourcestate.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.stream.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemediaevents.md +0 -14
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemediaid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotevideoresolution.md +0 -11
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.md +0 -12
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup._constructor_.md +0 -24
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.getremotemedia.md +0 -26
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.includes.md +0 -27
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.ispinned.md +0 -22
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.md +0 -28
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.pin.md +0 -25
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.unpin.md +0 -24
- package/dist/docs/markdown/plugin-meetings.triggerproxy.md +0 -11
- package/dist/docs/metadata/index.api.json +0 -14144
- package/dist/docs/metadata/index.api.md +0 -2075
- package/dist/docs/metadata/index.d.ts +0 -5594
- package/dist/index.d.ts +0 -4
- package/dist/locus-info/controlsUtils.d.ts +0 -2
- package/dist/locus-info/embeddedAppsUtils.d.ts +0 -2
- package/dist/locus-info/fullState.d.ts +0 -2
- package/dist/locus-info/hostUtils.d.ts +0 -2
- package/dist/locus-info/index.d.ts +0 -269
- package/dist/locus-info/infoUtils.d.ts +0 -2
- package/dist/locus-info/mediaSharesUtils.d.ts +0 -2
- package/dist/locus-info/parser.d.ts +0 -212
- package/dist/locus-info/selfUtils.d.ts +0 -2
- package/dist/media/index.d.ts +0 -32
- package/dist/media/properties.d.ts +0 -108
- package/dist/media/util.d.ts +0 -2
- package/dist/mediaQualityMetrics/config.d.ts +0 -233
- package/dist/meeting/effectsState.d.ts +0 -42
- package/dist/meeting/effectsState.js +0 -260
- package/dist/meeting/effectsState.js.map +0 -1
- package/dist/meeting/in-meeting-actions.d.ts +0 -79
- package/dist/meeting/index.d.ts +0 -1621
- package/dist/meeting/muteState.d.ts +0 -116
- package/dist/meeting/request.d.ts +0 -255
- package/dist/meeting/state.d.ts +0 -9
- package/dist/meeting/util.d.ts +0 -2
- package/dist/meeting-info/collection.d.ts +0 -20
- package/dist/meeting-info/index.d.ts +0 -57
- package/dist/meeting-info/meeting-info-v2.d.ts +0 -93
- package/dist/meeting-info/request.d.ts +0 -22
- package/dist/meeting-info/util.d.ts +0 -2
- package/dist/meeting-info/utilv2.d.ts +0 -2
- package/dist/meetings/collection.d.ts +0 -23
- package/dist/meetings/index.d.ts +0 -296
- package/dist/meetings/request.d.ts +0 -27
- package/dist/meetings/util.d.ts +0 -18
- package/dist/member/index.d.ts +0 -147
- package/dist/member/member.types.d.ts +0 -11
- package/dist/member/member.types.js +0 -18
- package/dist/member/member.types.js.map +0 -1
- package/dist/member/util.d.ts +0 -2
- package/dist/members/collection.d.ts +0 -24
- package/dist/members/index.d.ts +0 -298
- package/dist/members/request.d.ts +0 -50
- package/dist/members/util.d.ts +0 -2
- package/dist/metrics/config.d.ts +0 -169
- package/dist/metrics/config.js +0 -289
- package/dist/metrics/config.js.map +0 -1
- package/dist/metrics/constants.d.ts +0 -57
- package/dist/metrics/index.d.ts +0 -152
- package/dist/networkQualityMonitor/index.d.ts +0 -70
- package/dist/peer-connection-manager/index.d.ts +0 -6
- package/dist/peer-connection-manager/index.js +0 -671
- package/dist/peer-connection-manager/index.js.map +0 -1
- package/dist/peer-connection-manager/util.d.ts +0 -6
- package/dist/peer-connection-manager/util.js +0 -110
- package/dist/peer-connection-manager/util.js.map +0 -1
- package/dist/personal-meeting-room/index.d.ts +0 -47
- package/dist/personal-meeting-room/request.d.ts +0 -14
- package/dist/personal-meeting-room/util.d.ts +0 -2
- package/dist/plugin-meetings.d.ts +0 -5399
- package/dist/reachability/index.d.ts +0 -139
- package/dist/reachability/request.d.ts +0 -35
- package/dist/reactions/reactions.d.ts +0 -4
- package/dist/reactions/reactions.type.d.ts +0 -32
- package/dist/reconnection-manager/index.d.ts +0 -112
- package/dist/recording-controller/enums.d.ts +0 -7
- package/dist/recording-controller/index.d.ts +0 -193
- package/dist/recording-controller/util.d.ts +0 -13
- package/dist/roap/collection.d.ts +0 -10
- package/dist/roap/collection.js +0 -63
- package/dist/roap/collection.js.map +0 -1
- package/dist/roap/handler.d.ts +0 -47
- package/dist/roap/handler.js +0 -279
- package/dist/roap/handler.js.map +0 -1
- package/dist/roap/index.d.ts +0 -116
- package/dist/roap/request.d.ts +0 -35
- package/dist/roap/state.d.ts +0 -9
- package/dist/roap/state.js +0 -127
- package/dist/roap/state.js.map +0 -1
- package/dist/roap/turnDiscovery.d.ts +0 -67
- package/dist/roap/util.d.ts +0 -2
- package/dist/roap/util.js +0 -76
- package/dist/roap/util.js.map +0 -1
- package/dist/statsAnalyzer/global.d.ts +0 -126
- package/dist/statsAnalyzer/index.d.ts +0 -190
- package/dist/statsAnalyzer/mqaUtil.d.ts +0 -22
- package/dist/transcription/index.d.ts +0 -64
- package/dist/types/meeting/effectsState.d.ts +0 -42
- package/dist/types/metrics/config.d.ts +0 -195
- package/dist/types/tsdoc-metadata.json +0 -11
|
@@ -1,671 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _Array$from = require("@babel/runtime-corejs2/core-js/array/from");
|
|
4
|
-
var _Symbol = require("@babel/runtime-corejs2/core-js/symbol");
|
|
5
|
-
var _Symbol$iterator = require("@babel/runtime-corejs2/core-js/symbol/iterator");
|
|
6
|
-
var _Array$isArray = require("@babel/runtime-corejs2/core-js/array/is-array");
|
|
7
|
-
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
|
|
8
|
-
var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
|
|
9
|
-
_Object$defineProperty(exports, "__esModule", {
|
|
10
|
-
value: true
|
|
11
|
-
});
|
|
12
|
-
exports.default = void 0;
|
|
13
|
-
var _promise = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/promise"));
|
|
14
|
-
var _now = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/date/now"));
|
|
15
|
-
var _parseInt2 = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/parse-int"));
|
|
16
|
-
var _window = _interopRequireDefault(require("global/window"));
|
|
17
|
-
var _sdpTransform = _interopRequireDefault(require("sdp-transform"));
|
|
18
|
-
var _metrics = _interopRequireDefault(require("../metrics"));
|
|
19
|
-
var _loggerProxy = _interopRequireDefault(require("../common/logs/logger-proxy"));
|
|
20
|
-
var _config = _interopRequireDefault(require("../common/config"));
|
|
21
|
-
var _constants = require("../constants");
|
|
22
|
-
var _constants2 = _interopRequireDefault(require("../metrics/constants"));
|
|
23
|
-
var _config2 = require("../metrics/config");
|
|
24
|
-
var _media = _interopRequireDefault(require("../common/errors/media"));
|
|
25
|
-
var _parameter = _interopRequireDefault(require("../common/errors/parameter"));
|
|
26
|
-
var _webexErrors = require("../common/errors/webex-errors");
|
|
27
|
-
var _browserDetection = _interopRequireDefault(require("../common/browser-detection"));
|
|
28
|
-
var _util = _interopRequireDefault(require("./util"));
|
|
29
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof _Symbol !== "undefined" && o[_Symbol$iterator] || o["@@iterator"]; if (!it) { if (_Array$isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
30
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return _Array$from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
31
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
32
|
-
var _BrowserDetection = (0, _browserDetection.default)(),
|
|
33
|
-
isBrowser = _BrowserDetection.isBrowser;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @export
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
var pc = {};
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* munges the bandwidth limit into the sdp
|
|
43
|
-
* @param {String} sdpLines
|
|
44
|
-
* @param {Number} index
|
|
45
|
-
* @returns {String}
|
|
46
|
-
*/
|
|
47
|
-
var insertBandwidthLimit = function insertBandwidthLimit(sdpLines, index) {
|
|
48
|
-
// eslint-disable-next-line no-warning-comments
|
|
49
|
-
// TODO convert to sdp parser
|
|
50
|
-
var limit;
|
|
51
|
-
var periodicKeyFrame = '';
|
|
52
|
-
if (sdpLines[index].search(_constants.AUDIO) !== -1) {
|
|
53
|
-
limit = _config.default.meetings.bandwidth.audio;
|
|
54
|
-
} else {
|
|
55
|
-
limit = _config.default.meetings.bandwidth.video;
|
|
56
|
-
periodicKeyFrame = _constants.SDP.PERIODIC_KEYFRAME;
|
|
57
|
-
sdpLines.splice(index + 2, 0, periodicKeyFrame);
|
|
58
|
-
}
|
|
59
|
-
sdpLines.splice(index + 1, 0, "".concat(_constants.SDP.B_LINE, ":").concat(limit));
|
|
60
|
-
return sdpLines;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* needed for calliope max-fs
|
|
65
|
-
* @param {String} sdp
|
|
66
|
-
* @param {String} [level=QUALITY_LEVELS.HIGH] quality level for max-fs
|
|
67
|
-
* @returns {String}
|
|
68
|
-
*/
|
|
69
|
-
var setRemoteVideoConstraints = function setRemoteVideoConstraints(sdp) {
|
|
70
|
-
var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _constants.QUALITY_LEVELS.HIGH;
|
|
71
|
-
var maxFs = _constants.REMOTE_VIDEO_CONSTRAINTS.MAX_FS[level];
|
|
72
|
-
if (!maxFs) {
|
|
73
|
-
throw new _parameter.default("setRemoteVideoConstraints: unable to set max framesize, value for level \"".concat(level, "\" is not defined"));
|
|
74
|
-
}
|
|
75
|
-
var modifiedSdp = _util.default.adjustH264Profile(sdp, maxFs);
|
|
76
|
-
return modifiedSdp;
|
|
77
|
-
};
|
|
78
|
-
var setStartBitrateOnRemoteSdp = function setStartBitrateOnRemoteSdp(sdp) {
|
|
79
|
-
if (_config.default.meetings.bandwidth.startBitrate) {
|
|
80
|
-
sdp = sdp.replace(/(\na=fmtp:(\d+).*profile-level-id=.*)/gi, "$1;x-google-start-bitrate=".concat(_config.default.meetings.bandwidth.startBitrate));
|
|
81
|
-
}
|
|
82
|
-
return sdp;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* checks that sdp has h264 codec in it
|
|
87
|
-
* @param {String} sdp
|
|
88
|
-
* @returns {boolean}
|
|
89
|
-
*/
|
|
90
|
-
var checkH264Support = function checkH264Support(sdp) {
|
|
91
|
-
// eslint-disable-next-line no-warning-comments
|
|
92
|
-
// TODO convert to sdp parser to read rtp.codec
|
|
93
|
-
var videoPresent = sdp.match(/\nm=video.*/g);
|
|
94
|
-
var h264Present = sdp.match(/\na=rtpmap:\d+\sH264.*/g);
|
|
95
|
-
if (videoPresent) {
|
|
96
|
-
return !!h264Present;
|
|
97
|
-
}
|
|
98
|
-
return true;
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* validates the sdp, checks port, candidates, and ice info
|
|
103
|
-
* @param {String} sdp
|
|
104
|
-
* @returns {String}
|
|
105
|
-
*/
|
|
106
|
-
var isSdpInvalid = function isSdpInvalid(sdp) {
|
|
107
|
-
var parsedSdp = _sdpTransform.default.parse(sdp);
|
|
108
|
-
var _iterator = _createForOfIteratorHelper(parsedSdp.media),
|
|
109
|
-
_step;
|
|
110
|
-
try {
|
|
111
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
112
|
-
var _mediaLine$candidates;
|
|
113
|
-
var mediaLine = _step.value;
|
|
114
|
-
if (!mediaLine.candidates || ((_mediaLine$candidates = mediaLine.candidates) === null || _mediaLine$candidates === void 0 ? void 0 : _mediaLine$candidates.length) === 0) {
|
|
115
|
-
_loggerProxy.default.logger.error('PeerConnectionManager:index#isSdpInvalid --> iceCandidate: Ice candidate never completed');
|
|
116
|
-
return 'iceCandidate: Ice gathering never completed';
|
|
117
|
-
}
|
|
118
|
-
if (_constants.SDP.BAD_MEDIA_PORTS.includes(mediaLine.port)) {
|
|
119
|
-
_loggerProxy.default.logger.error('PeerConnectionManager:index#isSdpInvalid --> iceCandidate: Found invalid port number for the ice candidate');
|
|
120
|
-
return 'iceCandidate: Found invalid port number for the ice candidate';
|
|
121
|
-
}
|
|
122
|
-
if (!mediaLine.icePwd || !mediaLine.iceUfrag) {
|
|
123
|
-
_loggerProxy.default.logger.error('PeerConnectionManager:index#isSdpInvalid --> iceCandidate: ice ufrag and password not found');
|
|
124
|
-
return 'iceCandidate: ice ufrag and password not found';
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
} catch (err) {
|
|
128
|
-
_iterator.e(err);
|
|
129
|
-
} finally {
|
|
130
|
-
_iterator.f();
|
|
131
|
-
}
|
|
132
|
-
return '';
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* munges the bandwidth into the sdp
|
|
137
|
-
* @param {String} sdp
|
|
138
|
-
* @returns {String}
|
|
139
|
-
*/
|
|
140
|
-
var limitBandwidth = function limitBandwidth(sdp) {
|
|
141
|
-
// TODO convert to sdp parser
|
|
142
|
-
var offerSdp = sdp;
|
|
143
|
-
var sdpLines = offerSdp.split(_constants.SDP.CARRIAGE_RETURN);
|
|
144
|
-
for (var i = 0; i < sdpLines.length; i += 1) {
|
|
145
|
-
if (sdpLines[i].search(_constants.SDP.M_LINE) !== -1) {
|
|
146
|
-
sdpLines = insertBandwidthLimit(sdpLines, i);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
offerSdp = sdpLines.join(_constants.SDP.CARRIAGE_RETURN);
|
|
150
|
-
return offerSdp;
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* makes sure the screen pc sdp has content:slides for server
|
|
155
|
-
* @param {RTCPeerConnection} screenPc
|
|
156
|
-
* @returns {RTCPeerConnection}
|
|
157
|
-
*/
|
|
158
|
-
pc.setContentSlides = function (screenPc) {
|
|
159
|
-
if (screenPc && screenPc.sdp) {
|
|
160
|
-
screenPc.sdp += "".concat(_constants.SDP.A_CONTENT_SLIDES).concat(_constants.SDP.CARRIAGE_RETURN);
|
|
161
|
-
}
|
|
162
|
-
return screenPc;
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* handles ice trickling and establishes ICE connection onto peer connection object
|
|
167
|
-
* @param {Object} peerConnection
|
|
168
|
-
* @param {Object} options
|
|
169
|
-
* @param {String} options.remoteQualityLevel
|
|
170
|
-
* @returns {Promise.RTCPeerConnection}
|
|
171
|
-
*/
|
|
172
|
-
pc.iceCandidate = function (peerConnection, _ref) {
|
|
173
|
-
var remoteQualityLevel = _ref.remoteQualityLevel;
|
|
174
|
-
return new _promise.default(function (resolve, reject) {
|
|
175
|
-
var now = (0, _now.default)();
|
|
176
|
-
var doneGatheringIceCandidate = function doneGatheringIceCandidate() {
|
|
177
|
-
// @ts-ignore
|
|
178
|
-
var miliseconds = (0, _parseInt2.default)(Math.abs((0, _now.default)() - now), 4);
|
|
179
|
-
peerConnection.sdp = limitBandwidth(peerConnection.localDescription.sdp);
|
|
180
|
-
peerConnection.sdp = _util.default.convertCLineToIpv4(peerConnection.sdp);
|
|
181
|
-
peerConnection.sdp = setRemoteVideoConstraints(peerConnection.sdp, remoteQualityLevel);
|
|
182
|
-
var invalidSdpPresent = isSdpInvalid(peerConnection.sdp);
|
|
183
|
-
if (invalidSdpPresent) {
|
|
184
|
-
_loggerProxy.default.logger.error('PeerConnectionManager:index#iceCandidate --> SDP not valid after waiting.');
|
|
185
|
-
reject(new _webexErrors.InvalidSdpError(invalidSdpPresent));
|
|
186
|
-
}
|
|
187
|
-
_loggerProxy.default.logger.log("PeerConnectionManager:index#iceCandidate --> Time to gather ice candidate ".concat(miliseconds, " miliseconds"));
|
|
188
|
-
resolve();
|
|
189
|
-
};
|
|
190
|
-
|
|
191
|
-
// If ice has already been gathered
|
|
192
|
-
if (peerConnection.iceGatheringState === _constants.COMPLETE) {
|
|
193
|
-
doneGatheringIceCandidate();
|
|
194
|
-
}
|
|
195
|
-
peerConnection.onIceGatheringStateChange = function () {
|
|
196
|
-
if (peerConnection.iceGatheringState === _constants.COMPLETE) {
|
|
197
|
-
// @ts-ignore
|
|
198
|
-
doneGatheringIceCandidate(peerConnection);
|
|
199
|
-
}
|
|
200
|
-
if (peerConnection.iceGatheringState === _constants.GATHERING) {
|
|
201
|
-
_loggerProxy.default.logger.log('PeerConnectionManager:index#onIceGatheringStateChange --> Ice state changed to gathering');
|
|
202
|
-
}
|
|
203
|
-
};
|
|
204
|
-
peerConnection.onicecandidate = function (evt) {
|
|
205
|
-
if (evt.candidate === null) {
|
|
206
|
-
// @ts-ignore
|
|
207
|
-
doneGatheringIceCandidate(peerConnection);
|
|
208
|
-
} else {
|
|
209
|
-
var _evt$candidate, _evt$candidate2, _evt$candidate3, _evt$candidate4;
|
|
210
|
-
_loggerProxy.default.logger.log("PeerConnectionManager:index#onicecandidate --> Candidate ".concat((_evt$candidate = evt.candidate) === null || _evt$candidate === void 0 ? void 0 : _evt$candidate.type, " ").concat((_evt$candidate2 = evt.candidate) === null || _evt$candidate2 === void 0 ? void 0 : _evt$candidate2.protocol, " ").concat((_evt$candidate3 = evt.candidate) === null || _evt$candidate3 === void 0 ? void 0 : _evt$candidate3.address, ":").concat((_evt$candidate4 = evt.candidate) === null || _evt$candidate4 === void 0 ? void 0 : _evt$candidate4.port));
|
|
211
|
-
}
|
|
212
|
-
};
|
|
213
|
-
peerConnection.onicecandidateerror = function (event) {
|
|
214
|
-
// we can often get ICE candidate errors (for example when failing to communicate with a TURN server)
|
|
215
|
-
// they don't mean that the whole ICE connection will fail, so it's OK to ignore them
|
|
216
|
-
_loggerProxy.default.logger.error('PeerConnectionManager:index#onicecandidateerror --> ignoring ice error:', event);
|
|
217
|
-
};
|
|
218
|
-
});
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* swapping tracks
|
|
223
|
-
* @param {Object} peerConnection
|
|
224
|
-
* @param {Object} track
|
|
225
|
-
* @returns {undefined}
|
|
226
|
-
*/
|
|
227
|
-
pc.replaceTrack = function (peerConnection, track) {
|
|
228
|
-
try {
|
|
229
|
-
var senders = peerConnection.getSenders();
|
|
230
|
-
if (senders.length > 0) {
|
|
231
|
-
senders.forEach(function (sender) {
|
|
232
|
-
if (sender.track && sender.track.kind === track.kind) {
|
|
233
|
-
sender.replaceTrack(track);
|
|
234
|
-
}
|
|
235
|
-
});
|
|
236
|
-
}
|
|
237
|
-
} catch (err) {
|
|
238
|
-
_loggerProxy.default.logger.error("PeerConnectionManager:index#replaceTrack --> Error replacing track, ".concat(err));
|
|
239
|
-
}
|
|
240
|
-
};
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* adding streams to peerConnection
|
|
244
|
-
* @param {Object} peerConnection
|
|
245
|
-
* @param {Object} stream
|
|
246
|
-
* @returns {undefined}
|
|
247
|
-
*/
|
|
248
|
-
pc.addStream = function (peerConnection, stream) {
|
|
249
|
-
try {
|
|
250
|
-
if (stream && !isBrowser('edge')) {
|
|
251
|
-
var tracksPresent = peerConnection.getSenders && peerConnection.getSenders().find(function (sender) {
|
|
252
|
-
return sender.track != null;
|
|
253
|
-
});
|
|
254
|
-
if (tracksPresent) {
|
|
255
|
-
stream.getTracks().forEach(function (track) {
|
|
256
|
-
pc.replaceTrack(peerConnection, track);
|
|
257
|
-
});
|
|
258
|
-
return;
|
|
259
|
-
}
|
|
260
|
-
stream.getTracks().forEach(function (track) {
|
|
261
|
-
peerConnection.addTrack(track, stream);
|
|
262
|
-
});
|
|
263
|
-
// // TODO : may come back disable addTracks for chrome they are moving back to addStream
|
|
264
|
-
// // https://bugs.chromium.org/p/chromium/issues/detail?id=764414
|
|
265
|
-
// // https://bugs.chromium.org/p/chromium/issues/detail?id=738918#c7
|
|
266
|
-
// peerConnection.addStream(stream);
|
|
267
|
-
} else if (isBrowser('edge')) {
|
|
268
|
-
peerConnection.addStream(stream);
|
|
269
|
-
}
|
|
270
|
-
} catch (err) {
|
|
271
|
-
_loggerProxy.default.logger.error("PeerConnectionManager:index#addStream --> Error adding stream, error: ".concat(_config2.error));
|
|
272
|
-
}
|
|
273
|
-
};
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* setting the remote description
|
|
277
|
-
* @param {Object} peerConnection
|
|
278
|
-
* @param {String} typeStr
|
|
279
|
-
* @param {String} remoteSdp
|
|
280
|
-
* @param {String} meetingId
|
|
281
|
-
* @returns {undefined}
|
|
282
|
-
*/
|
|
283
|
-
pc.setRemoteSessionDetails = function (peerConnection, typeStr, remoteSdp, meetingId) {
|
|
284
|
-
_loggerProxy.default.logger.log("PeerConnectionManager:index#setRemoteSessionDetails --> Setting the remote description type: ".concat(typeStr, "State: ").concat(peerConnection.signalingState));
|
|
285
|
-
var sdp = remoteSdp;
|
|
286
|
-
|
|
287
|
-
// making sure that the remoteDescription is only set when there is a answer for offer
|
|
288
|
-
// or there is a offer from the server
|
|
289
|
-
|
|
290
|
-
if (!sdp) {
|
|
291
|
-
_metrics.default.postEvent({
|
|
292
|
-
event: _config2.eventType.REMOTE_SDP_RECEIVED,
|
|
293
|
-
meetingId: meetingId,
|
|
294
|
-
data: {
|
|
295
|
-
canProceed: false,
|
|
296
|
-
errors: [_metrics.default.generateErrorPayload(2001, true, _config2.error.name.MEDIA_ENGINE, 'missing remoteSdp')]
|
|
297
|
-
}
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
|
-
if (peerConnection.signalingState === _constants.SDP.HAVE_LOCAL_OFFER || peerConnection.signalingState === _constants.SDP.STABLE && typeStr === _constants.SDP.OFFER) {
|
|
301
|
-
sdp = setStartBitrateOnRemoteSdp(sdp);
|
|
302
|
-
if (!peerConnection.enableExtmap) {
|
|
303
|
-
sdp = sdp.replace(/\na=extmap.*/g, '');
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
// remove any xtls candidates
|
|
307
|
-
sdp = sdp.replace(/^a=candidate:.*xTLS.*\r\n/gim, '');
|
|
308
|
-
return peerConnection.setRemoteDescription(new _window.default.RTCSessionDescription({
|
|
309
|
-
type: typeStr,
|
|
310
|
-
sdp: sdp
|
|
311
|
-
})).then(function () {
|
|
312
|
-
if (peerConnection.signalingState === _constants.SDP.STABLE) {
|
|
313
|
-
_metrics.default.postEvent({
|
|
314
|
-
event: _config2.eventType.REMOTE_SDP_RECEIVED,
|
|
315
|
-
meetingId: meetingId
|
|
316
|
-
});
|
|
317
|
-
}
|
|
318
|
-
})
|
|
319
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
320
|
-
.catch(function (error) {
|
|
321
|
-
_loggerProxy.default.logger.error("Peer-connection-manager:index#setRemoteDescription --> ".concat(error, " missing remotesdp"));
|
|
322
|
-
var metricName = _constants2.default.PEERCONNECTION_FAILURE;
|
|
323
|
-
var data = {
|
|
324
|
-
correlation_id: meetingId,
|
|
325
|
-
reason: error.message,
|
|
326
|
-
stack: error.stack
|
|
327
|
-
};
|
|
328
|
-
var metadata = {
|
|
329
|
-
type: error.name
|
|
330
|
-
};
|
|
331
|
-
_metrics.default.sendBehavioralMetric(metricName, data, metadata);
|
|
332
|
-
return _metrics.default.postEvent({
|
|
333
|
-
event: _config2.eventType.REMOTE_SDP_RECEIVED,
|
|
334
|
-
meetingId: meetingId,
|
|
335
|
-
data: {
|
|
336
|
-
canProceed: false,
|
|
337
|
-
errors: [_metrics.default.generateErrorPayload(2001, true, error.name.MEDIA_ENGINE, 'missing remoteSdp')]
|
|
338
|
-
}
|
|
339
|
-
});
|
|
340
|
-
});
|
|
341
|
-
}
|
|
342
|
-
return _promise.default.reject(new _media.default('PeerConnection in wrong state'));
|
|
343
|
-
};
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* Create offer with a valid parameter
|
|
347
|
-
* @param {Object} peerConnection
|
|
348
|
-
* @param {Object} meetingProperties
|
|
349
|
-
* @param {string} meetingProperties.meetingId
|
|
350
|
-
* @param {string} meetingProperties.remoteQualityLevel LOW|MEDIUM|HIGH
|
|
351
|
-
* @param {string} meetingProperties.enableRtx
|
|
352
|
-
* @param {string} meetingProperties.enableExtmap
|
|
353
|
-
* @returns {RTCPeerConnection}
|
|
354
|
-
*/
|
|
355
|
-
pc.createOffer = function (peerConnection, _ref2) {
|
|
356
|
-
var meetingId = _ref2.meetingId,
|
|
357
|
-
remoteQualityLevel = _ref2.remoteQualityLevel,
|
|
358
|
-
enableRtx = _ref2.enableRtx,
|
|
359
|
-
enableExtmap = _ref2.enableExtmap;
|
|
360
|
-
_loggerProxy.default.logger.log('PeerConnectionManager:index#createOffer --> creating a new offer');
|
|
361
|
-
|
|
362
|
-
// saving the extMap State to use in setRemoteDescription
|
|
363
|
-
|
|
364
|
-
peerConnection.enableExtmap = enableExtmap;
|
|
365
|
-
return peerConnection.createOffer().then(function (description) {
|
|
366
|
-
// bug https://bugs.chromium.org/p/chromium/issues/detail?id=1020642
|
|
367
|
-
// chrome currently generates RTX line irrespective of whether the server side supports it
|
|
368
|
-
// we are removing apt as well because its associated with rtx line
|
|
369
|
-
|
|
370
|
-
if (!enableRtx) {
|
|
371
|
-
description.sdp = description.sdp.replace(/\r\na=rtpmap:\d+ rtx\/\d+/g, '');
|
|
372
|
-
description.sdp = description.sdp.replace(/\r\na=fmtp:\d+ apt=\d+/g, '');
|
|
373
|
-
}
|
|
374
|
-
return peerConnection.setLocalDescription(description);
|
|
375
|
-
}).then(function () {
|
|
376
|
-
return pc.iceCandidate(peerConnection, {
|
|
377
|
-
remoteQualityLevel: remoteQualityLevel
|
|
378
|
-
});
|
|
379
|
-
}).then(function () {
|
|
380
|
-
if (!checkH264Support(peerConnection.sdp)) {
|
|
381
|
-
throw new _media.default('openH264 is downloading please Wait. Upload logs if not working on second try');
|
|
382
|
-
}
|
|
383
|
-
if (!enableExtmap) {
|
|
384
|
-
peerConnection.sdp = peerConnection.sdp.replace(/\na=extmap.*/g, '');
|
|
385
|
-
}
|
|
386
|
-
pc.setContentSlides(peerConnection);
|
|
387
|
-
_metrics.default.postEvent({
|
|
388
|
-
event: _config2.eventType.LOCAL_SDP_GENERATED,
|
|
389
|
-
meetingId: meetingId
|
|
390
|
-
});
|
|
391
|
-
return peerConnection;
|
|
392
|
-
})
|
|
393
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
394
|
-
.catch(function (error) {
|
|
395
|
-
_loggerProxy.default.logger.error("Peer-connection-manager:index#createOffer --> ".concat(error));
|
|
396
|
-
if (error instanceof _webexErrors.InvalidSdpError) {
|
|
397
|
-
_metrics.default.sendBehavioralMetric(_constants2.default.INVALID_ICE_CANDIDATE, {
|
|
398
|
-
correlation_id: meetingId,
|
|
399
|
-
code: error.code,
|
|
400
|
-
reason: error.message
|
|
401
|
-
});
|
|
402
|
-
} else {
|
|
403
|
-
var metricName = _constants2.default.PEERCONNECTION_FAILURE;
|
|
404
|
-
var data = {
|
|
405
|
-
correlation_id: meetingId,
|
|
406
|
-
reason: error.message,
|
|
407
|
-
stack: error.stack
|
|
408
|
-
};
|
|
409
|
-
var metadata = {
|
|
410
|
-
type: error.name
|
|
411
|
-
};
|
|
412
|
-
_metrics.default.sendBehavioralMetric(metricName, data, metadata);
|
|
413
|
-
}
|
|
414
|
-
_metrics.default.postEvent({
|
|
415
|
-
event: _config2.eventType.LOCAL_SDP_GENERATED,
|
|
416
|
-
meetingId: meetingId,
|
|
417
|
-
data: {
|
|
418
|
-
canProceed: false,
|
|
419
|
-
errors: [
|
|
420
|
-
// @ts-ignore
|
|
421
|
-
_metrics.default.generateErrorPayload(2001, true, error.name.MEDIA_ENGINE)]
|
|
422
|
-
}
|
|
423
|
-
});
|
|
424
|
-
pc.close(peerConnection);
|
|
425
|
-
throw error;
|
|
426
|
-
});
|
|
427
|
-
};
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* rollBack local description in peerconnection
|
|
431
|
-
* @param {Object} peerConnection
|
|
432
|
-
* @returns {Promise.RTCPeerConnection}
|
|
433
|
-
*/
|
|
434
|
-
pc.rollBackLocalDescription = function (peerConnection) {
|
|
435
|
-
return peerConnection
|
|
436
|
-
// @ts-ignore
|
|
437
|
-
.setLocalDescription(new RTCSessionDescription({
|
|
438
|
-
type: _constants.SDP.ROLLBACK
|
|
439
|
-
})).then(function () {
|
|
440
|
-
return peerConnection;
|
|
441
|
-
}).catch(function (err) {
|
|
442
|
-
_loggerProxy.default.logger.error("Peer-connection-manager:index#setLocalDescription --> ".concat(err, " "));
|
|
443
|
-
|
|
444
|
-
// @ts-ignore
|
|
445
|
-
return _promise.default.error(err);
|
|
446
|
-
});
|
|
447
|
-
};
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* @param {Object} params {
|
|
451
|
-
* @param {Boolean} params.offerToReceiveAudio
|
|
452
|
-
* @param {Boolean} params.offerToReceiveVideo
|
|
453
|
-
* @param {string} params.offerSdp
|
|
454
|
-
* @param {MediaStream} params.stream
|
|
455
|
-
* @param {Object} meetingProperties
|
|
456
|
-
* @param {string} meetingProperties.meetingId
|
|
457
|
-
* @param {string} meetingProperties.remoteQualityLevel LOW|MEDIUM|HIGH
|
|
458
|
-
* @returns {Promise.<Array>} [MediaSDP, ScreenSDP]
|
|
459
|
-
*/
|
|
460
|
-
pc.updatePeerConnection = function (params, _ref3) {
|
|
461
|
-
var meetingId = _ref3.meetingId,
|
|
462
|
-
remoteQualityLevel = _ref3.remoteQualityLevel;
|
|
463
|
-
_loggerProxy.default.logger.log("PeerConnectionManager:index#updatePeerConnection --> updating the peerConnection with params: ".concat(params));
|
|
464
|
-
var peerConnection = params.peerConnection,
|
|
465
|
-
offerSdp = params.offerSdp;
|
|
466
|
-
return pc.createAnswer({
|
|
467
|
-
peerConnection: peerConnection,
|
|
468
|
-
offerSdp: offerSdp[0]
|
|
469
|
-
}, {
|
|
470
|
-
meetingId: meetingId,
|
|
471
|
-
remoteQualityLevel: remoteQualityLevel
|
|
472
|
-
}).then(function (peerconnection) {
|
|
473
|
-
// The content slides should also be set when we are sending inactive
|
|
474
|
-
pc.setContentSlides(peerconnection);
|
|
475
|
-
return _promise.default.resolve([peerconnection.sdp]);
|
|
476
|
-
});
|
|
477
|
-
};
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
* @param {Object} params
|
|
481
|
-
* @param {Object} params.peerConnection
|
|
482
|
-
* @param {Object} params.sdpConstraints
|
|
483
|
-
* @param {Object} meetingProperties
|
|
484
|
-
* @param {string} meetingProperties.meetingId
|
|
485
|
-
* @param {string} meetingProperties.remoteQualityLevel LOW|MEDIUM|HIGH
|
|
486
|
-
* @returns {RTCPeerConnection} peerConnection
|
|
487
|
-
*/
|
|
488
|
-
pc.createAnswer = function (params, _ref4) {
|
|
489
|
-
var meetingId = _ref4.meetingId,
|
|
490
|
-
remoteQualityLevel = _ref4.remoteQualityLevel;
|
|
491
|
-
var peerConnection = params.peerConnection;
|
|
492
|
-
|
|
493
|
-
// TODO: Some times to many mercury event comes at the same time
|
|
494
|
-
// Need to maintain state of peerconnection
|
|
495
|
-
if (peerConnection.signalingState === _constants.SDP.HAVE_REMOTE_OFFER) {
|
|
496
|
-
return _promise.default.resolve(peerConnection);
|
|
497
|
-
}
|
|
498
|
-
return pc.setRemoteSessionDetails(peerConnection, _constants.OFFER, params.offerSdp, meetingId).then(function () {
|
|
499
|
-
return peerConnection.createAnswer(params.sdpConstraints);
|
|
500
|
-
}).then(function (answer) {
|
|
501
|
-
return peerConnection.setLocalDescription(answer);
|
|
502
|
-
}).then(function () {
|
|
503
|
-
return pc.iceCandidate(peerConnection, {
|
|
504
|
-
remoteQualityLevel: remoteQualityLevel
|
|
505
|
-
});
|
|
506
|
-
}).then(function () {
|
|
507
|
-
peerConnection.sdp = limitBandwidth(peerConnection.localDescription.sdp);
|
|
508
|
-
peerConnection.sdp = _util.default.convertCLineToIpv4(peerConnection.sdp);
|
|
509
|
-
peerConnection.sdp = setRemoteVideoConstraints(peerConnection.sdp, remoteQualityLevel);
|
|
510
|
-
if (!checkH264Support(peerConnection.sdp)) {
|
|
511
|
-
throw new _media.default('openH264 is downloading please Wait. Upload logs if not working on second try');
|
|
512
|
-
}
|
|
513
|
-
return peerConnection;
|
|
514
|
-
})
|
|
515
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
516
|
-
.catch(function (error) {
|
|
517
|
-
if (error instanceof _webexErrors.InvalidSdpError) {
|
|
518
|
-
_metrics.default.sendBehavioralMetric(_constants2.default.INVALID_ICE_CANDIDATE, {
|
|
519
|
-
correlation_id: meetingId
|
|
520
|
-
});
|
|
521
|
-
} else {
|
|
522
|
-
var metricName = _constants2.default.PEERCONNECTION_FAILURE;
|
|
523
|
-
var data = {
|
|
524
|
-
correlation_id: meetingId,
|
|
525
|
-
reason: error.message,
|
|
526
|
-
stack: error.stack
|
|
527
|
-
};
|
|
528
|
-
var metadata = {
|
|
529
|
-
type: error.name
|
|
530
|
-
};
|
|
531
|
-
_metrics.default.sendBehavioralMetric(metricName, data, metadata);
|
|
532
|
-
}
|
|
533
|
-
_loggerProxy.default.logger.error("PeerConnectionManager:index#setRemoteSessionDetails --> Error creating remote session, error: ".concat(error));
|
|
534
|
-
});
|
|
535
|
-
};
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* shut down the peer connection
|
|
539
|
-
* @param {Object} peerConnection
|
|
540
|
-
* @returns {undefined}
|
|
541
|
-
*/
|
|
542
|
-
pc.close = function (peerConnection) {
|
|
543
|
-
// peerConnection.close() fails on firefox on network changes and gives a Dom exception
|
|
544
|
-
// To avoid this we have added a try catch block.
|
|
545
|
-
// Please refer to https://bugzilla.mozilla.org/show_bug.cgi?id=1274407 for more information
|
|
546
|
-
_loggerProxy.default.logger.log('PeerConnectionManager:index#close --> pc: close() -> attempting to close the peer connection');
|
|
547
|
-
if (peerConnection && peerConnection.connectionState === _constants.PEER_CONNECTION_STATE.CLOSED) {
|
|
548
|
-
_loggerProxy.default.logger.log('PeerConnectionManager:index#close --> pc: close() -> connection already closed');
|
|
549
|
-
return _promise.default.resolve();
|
|
550
|
-
}
|
|
551
|
-
_loggerProxy.default.logger.log('PeerConnectionManager:index#close --> pc: close() -> closing the mediaPeerConnection');
|
|
552
|
-
return _promise.default.resolve().then(function () {
|
|
553
|
-
if (peerConnection && peerConnection.close) {
|
|
554
|
-
peerConnection.close();
|
|
555
|
-
}
|
|
556
|
-
});
|
|
557
|
-
};
|
|
558
|
-
pc.setPeerConnectionEvents = function (meeting) {
|
|
559
|
-
// In case ICE fail
|
|
560
|
-
var peerConnection = meeting.mediaProperties.peerConnection;
|
|
561
|
-
var connectionFailed = function connectionFailed() {
|
|
562
|
-
if (meeting.reconnectionManager.iceState.resolve) {
|
|
563
|
-
// DISCONNECTED state triggers first then it goes to FAILED STATE
|
|
564
|
-
// sometimes the failed state can happen before 10 seconds (Which is the timer for the reconnect for ice disconnect)
|
|
565
|
-
meeting.reconnectionManager.iceState.resolve();
|
|
566
|
-
}
|
|
567
|
-
meeting.reconnect({
|
|
568
|
-
networkDisconnect: true
|
|
569
|
-
});
|
|
570
|
-
_metrics.default.postEvent({
|
|
571
|
-
event: _config2.eventType.ICE_END,
|
|
572
|
-
meeting: meeting,
|
|
573
|
-
data: {
|
|
574
|
-
canProceed: false,
|
|
575
|
-
errors: [
|
|
576
|
-
// @ts-ignore
|
|
577
|
-
_metrics.default.generateErrorPayload(2004, false, _config2.error.name.MEDIA_ENGINE)]
|
|
578
|
-
}
|
|
579
|
-
});
|
|
580
|
-
meeting.uploadLogs({
|
|
581
|
-
file: 'peer-connection-manager/index',
|
|
582
|
-
function: 'connectionFailed'
|
|
583
|
-
});
|
|
584
|
-
_metrics.default.sendBehavioralMetric(_constants2.default.CONNECTION_FAILURE, {
|
|
585
|
-
correlation_id: meeting.correlationId,
|
|
586
|
-
locus_id: meeting.locusId
|
|
587
|
-
});
|
|
588
|
-
};
|
|
589
|
-
peerConnection.oniceconnectionstatechange = function () {
|
|
590
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> ICE STATE CHANGE.');
|
|
591
|
-
switch (peerConnection.iceConnectionState) {
|
|
592
|
-
case _constants.ICE_STATE.CHECKING:
|
|
593
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> ICE STATE CHECKING.');
|
|
594
|
-
_metrics.default.postEvent({
|
|
595
|
-
event: _config2.eventType.ICE_START,
|
|
596
|
-
meeting: meeting
|
|
597
|
-
});
|
|
598
|
-
break;
|
|
599
|
-
case _constants.ICE_STATE.COMPLETED:
|
|
600
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> ICE STATE COMPLETED.');
|
|
601
|
-
break;
|
|
602
|
-
case _constants.ICE_STATE.CONNECTED:
|
|
603
|
-
// Ice connection state goes to connected when both client and server sends STUN packets and
|
|
604
|
-
// Established connected between them. Firefox does not trigger COMPLETED and only trigger CONNECTED
|
|
605
|
-
_metrics.default.postEvent({
|
|
606
|
-
event: _config2.eventType.ICE_END,
|
|
607
|
-
meeting: meeting
|
|
608
|
-
});
|
|
609
|
-
_metrics.default.sendBehavioralMetric(_constants2.default.CONNECTION_SUCCESS, {
|
|
610
|
-
correlation_id: meeting.correlationId,
|
|
611
|
-
locus_id: meeting.locusId
|
|
612
|
-
});
|
|
613
|
-
meeting.setNetworkStatus(_constants.NETWORK_STATUS.CONNECTED);
|
|
614
|
-
meeting.reconnectionManager.iceReconnected();
|
|
615
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> ICE STATE CONNECTED.');
|
|
616
|
-
break;
|
|
617
|
-
case _constants.ICE_STATE.CLOSED:
|
|
618
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> ICE STATE CLOSED.');
|
|
619
|
-
break;
|
|
620
|
-
case _constants.ICE_STATE.DISCONNECTED:
|
|
621
|
-
meeting.setNetworkStatus(_constants.NETWORK_STATUS.DISCONNECTED);
|
|
622
|
-
meeting.reconnectionManager.waitForIceReconnect().catch(function () {
|
|
623
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> ICE STATE DISCONNECTED. Automatic Reconnection Timed Out.');
|
|
624
|
-
connectionFailed();
|
|
625
|
-
});
|
|
626
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> ICE STATE DISCONNECTED.');
|
|
627
|
-
break;
|
|
628
|
-
case _constants.ICE_STATE.FAILED:
|
|
629
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> ICE STATE FAILED.');
|
|
630
|
-
// notify of ice failure
|
|
631
|
-
// Ice failure is the only indicator currently for identifying the actual connection drop
|
|
632
|
-
// Firefox takes sometime 10-15 seconds to go to failed state
|
|
633
|
-
connectionFailed();
|
|
634
|
-
break;
|
|
635
|
-
default:
|
|
636
|
-
break;
|
|
637
|
-
}
|
|
638
|
-
};
|
|
639
|
-
peerConnection.onconnectionstatechange = function () {
|
|
640
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> CONNECTION STATE CHANGE.');
|
|
641
|
-
switch (peerConnection.connectionState) {
|
|
642
|
-
case _constants.CONNECTION_STATE.NEW:
|
|
643
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> CONNECTION STATE NEW.');
|
|
644
|
-
break;
|
|
645
|
-
case _constants.CONNECTION_STATE.CONNECTING:
|
|
646
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> CONNECTION STATE CONNECTING.');
|
|
647
|
-
break;
|
|
648
|
-
case _constants.CONNECTION_STATE.CONNECTED:
|
|
649
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> CONNECTION STATE CONNECTED.');
|
|
650
|
-
break;
|
|
651
|
-
case _constants.CONNECTION_STATE.CLOSED:
|
|
652
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> CONNECTION STATE CLOSED.');
|
|
653
|
-
break;
|
|
654
|
-
case _constants.CONNECTION_STATE.DISCONNECTED:
|
|
655
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> CONNECTION STATE DISCONNECTED.');
|
|
656
|
-
break;
|
|
657
|
-
case _constants.CONNECTION_STATE.FAILED:
|
|
658
|
-
_loggerProxy.default.logger.info('PeerConnectionManager:index#setPeerConnectionEvents --> CONNECTION STATE FAILED.');
|
|
659
|
-
// Special case happens only on chrome where there is no ICE FAILED event
|
|
660
|
-
// only CONNECTION FAILED event gets triggered
|
|
661
|
-
|
|
662
|
-
connectionFailed();
|
|
663
|
-
break;
|
|
664
|
-
default:
|
|
665
|
-
break;
|
|
666
|
-
}
|
|
667
|
-
};
|
|
668
|
-
};
|
|
669
|
-
var _default = pc;
|
|
670
|
-
exports.default = _default;
|
|
671
|
-
//# sourceMappingURL=index.js.map
|