audioMuted, boolean property provides the local audio state.
This value will be true, if the local audio flow is stopped and If the audio starts flowing this value will be false
connectionMode provides the connectionMode currently set for the meeting
The galleryLayoutConfiguration provides information about the current video configuration for the gallery layout (3x3, 5x5).
isMultiStreamSupported returns a boolean value whether the browser supports multistream or not. Note: by “multistream” we mean the ability to send more than 1 video for a WebRTC connection. i.e Each participant's video comes in a different video stream
maxVideoSendResolution provides the maximum video resolution sent from the SDK endpoint. It can be either 360p or 720p.
meetingInformation, provides details about the meeting. Refer to MeetingInformation for documentation on meeting details provided from this flag.
recordingState provides current recordingState
selfVideoPreviewEnabled, boolean property provides the state of video preview
This value will be true if the local preview video is turned on, false otherwise
videoLayout, provides the current Video layout in the meeting.
Refer to VideoLayout for documentation on all possible values for the video layout
Returns null if the meeting is not active
videoMuted, boolean property provides the local video state.
This value will be true, if the local video flow is stopped and If the video starts flowing this value will be false
videoState, provides the current state of Video in the meeting. Refer to VideoState for documentation on all possible values for the video state
Connect to a Video/Audio meeting
The numberic ID of the meeting you plan on joining
the passcode of the meeting (Could be empty if no passcode has been set for a meeting)
The participant would join the meeting with this name
Optional optionalJoinProps: OptionalJoinPropsPromise which resolves when meeting join is successful and rejects with one of JoinError or PermissionError
joinMeeting will ask users for audio/video permissions if not granted already
Allows observing changes to properties. Provide the property which you are interested in and a callback. Whenever the property value changes, you will be notified via the callback.
Usage:
sdk.meetingService.observe("connectionState", function() {
console.info("Connection state is changed to : ", sdk.meetingService.connectionState)
});
The name of the property to observe for changes.
on change event for the property.
The gallery layout configuration can be changed from 3x3 to 5x5 or from 5x5 to 3x3.
Set the send video resolution 720p/360p using this function. Supported on Safari and Chromium-based browsers on desktop, as well as on iOS and iPadOS Safari.
You need to pass the resolution(720/360)
Update the name of selfParticipant, after joining the meeting.
the modified name of the participant.
Set local video layout.
NOTE: FILMSTRIP layout is a special case in which, the top 86% of video comes as black video and Up to the 5 most recent speakers are shown, arranged in a horizontal filmstrip in the bottom 14%. The most common use case for this is to overlay content video in the top 86%, so that you can show content and video simultaneously.
Changing layouts is not allowed while receiving video upload and share. Custom layout is only supported on multistream capable endpoints. To check if the current endpoint is capable of multistream video, please call isMultiStreamSupported method.
switchConnectionMode, used to change the connectionMode of the meeting based on the passed param, connectionMode. This should be called in-meeting to change connectionMode for a meeting.
Self audio & video is always muted in ScreenShareOnly mode. Upon switching connectionMode from ScreenShareOnly to Default, self video will remain muted, however audio will get unmuted.
Generated using TypeDoc
connectionState, provides the current Connection State of the meeting. Refer to ConnectionState for documentation on all possible values for the connection state