MediaAccessCallFeature interface
Feature for media access.
- Extends
Inherited Properties
name | The feature name. |
Methods
forbid |
disable audio for the attendees |
forbid |
Send request to disable audio for all attendees on the call |
forbid |
Send request to disable video for all attendees on the call |
forbid |
disable video for the attendees |
get |
Get the media access for all attendees |
get |
Get the meeting setting media access |
off("media |
Unsubscribe function for mediaAccessChanged event |
off("meeting |
Unsubscribe function for mediaAccessChanged event |
on("media |
Subscribe function for mediaAccessChanged event |
on("meeting |
Subscribe function for meeting mediaAccessChanged event |
permit |
enable audio for the attendees |
permit |
Send request to enable audio for all attendees on the call |
permit |
Send request to enable video for all attendees on the call |
permit |
enable video for the attendees |
Inherited Methods
dispose() |
Inherited Property Details
name
Method Details
forbidAudio(CommunicationIdentifier[])
disable audio for the attendees
function forbidAudio(participants: CommunicationIdentifier[]): Promise<void>
Parameters
- participants
is list of participants to disable audio for attendees
Returns
Promise<void>
forbidOthersAudio()
Send request to disable audio for all attendees on the call
function forbidOthersAudio(): Promise<void>
Returns
Promise<void>
forbidOthersVideo()
Send request to disable video for all attendees on the call
function forbidOthersVideo(): Promise<void>
Returns
Promise<void>
forbidVideo(CommunicationIdentifier[])
disable video for the attendees
function forbidVideo(participants: CommunicationIdentifier[]): Promise<void>
Parameters
- participants
is list of participants to disable video for attendees
Returns
Promise<void>
getAllOthersMediaAccess()
Get the media access for all attendees
function getAllOthersMediaAccess(): MediaAccess[]
Returns
getMeetingMediaAccess()
Get the meeting setting media access
function getMeetingMediaAccess(): MeetingMediaAccess
Returns
off("mediaAccessChanged", MediaAccessChangedListener)
Unsubscribe function for mediaAccessChanged event
function off(event: "mediaAccessChanged", listener: MediaAccessChangedListener)
Parameters
- event
-
"mediaAccessChanged"
event name
- listener
- MediaAccessChangedListener
callback fn that was used to unsubscribe to this event
off("meetingMediaAccessChanged", MeetingMediaAccessChangedListener)
Unsubscribe function for mediaAccessChanged event
function off(event: "meetingMediaAccessChanged", listener: MeetingMediaAccessChangedListener)
Parameters
- event
-
"meetingMediaAccessChanged"
event name
- listener
- MeetingMediaAccessChangedListener
callback fn that was used to unsubscribe to this event
on("mediaAccessChanged", MediaAccessChangedListener)
Subscribe function for mediaAccessChanged event
function on(event: "mediaAccessChanged", listener: MediaAccessChangedListener)
Parameters
- event
-
"mediaAccessChanged"
event name
- listener
- MediaAccessChangedListener
callback fn that was used to subscribe to this event
on("meetingMediaAccessChanged", MeetingMediaAccessChangedListener)
Subscribe function for meeting mediaAccessChanged event
function on(event: "meetingMediaAccessChanged", listener: MeetingMediaAccessChangedListener)
Parameters
- event
-
"meetingMediaAccessChanged"
event name
- listener
- MeetingMediaAccessChangedListener
callback fn that was used to subscribe to this event
permitAudio(CommunicationIdentifier[])
enable audio for the attendees
function permitAudio(participants: CommunicationIdentifier[]): Promise<void>
Parameters
- participants
is list of participants to enable Audio for attendees
Returns
Promise<void>
permitOthersAudio()
Send request to enable audio for all attendees on the call
function permitOthersAudio(): Promise<void>
Returns
Promise<void>
permitOthersVideo()
Send request to enable video for all attendees on the call
function permitOthersVideo(): Promise<void>
Returns
Promise<void>
permitVideo(CommunicationIdentifier[])
enable video for the attendees
function permitVideo(participants: CommunicationIdentifier[]): Promise<void>
Parameters
- participants
is list of participants to enable video for attendees
Returns
Promise<void>
Inherited Method Details
dispose()
function dispose()
Inherited From CallFeature.dispose