activeSpeaker
activeSpeaker event is emitted whenever a participant is speaking in the meeting
activeSpeaker event is emitted whenever a participant is speaking in the meeting
This page will help you get started with Metered. You'll be able to create your own video and voice calling applications.
Emitted in response to meeting.getChatHistory(...)
chatMessageError event in the Metered JavaScript Video SDK: emitted when a chat action, such as sending a message or requesting chat history, is rejected.
chatMessageReceived event in the Metered JavaScript Video SDK: emitted for each broadcast or private chat message, with the sender, type and file details.
Emitted when another participant is typing
chooseAudioInputDevice(deviceId) in the Metered JavaScript Video SDK: select the user's microphone before joining, or switch microphones during a meeting.
Select/Change the user's speaker for audio output
chooseVideoInputDevice(deviceId) in the Metered JavaScript Video SDK: select the user's camera before joining, or switch cameras during a meeting.
When the composition is enabled, the composed media stream is received by this event.
This document describes all the events emitted by the Javascript SDK's meeting object.
getChatAccessToken() in the Metered JavaScript Video SDK returns the bearer token that authenticates the chat file upload and download REST endpoints.
getChatHistory() in the Metered JavaScript Video SDK requests earlier chat messages page by page. The messages arrive on the chatHistory event.
getChatRoomId() in the Metered JavaScript Video SDK returns the chat room ID of the current meeting, or an empty string when the room has chat disabled.
Get the video stream of the selected video input device or the default input device
Return the list of online participants currently in the meeting room
Metered ships a native text and file chat that lives inside the meeting. Messages travel over
join(options) in the Metered JavaScript Video SDK: join a meeting room with its room URL, user name and access token, and choose which streams to receive.
leaveMeeting() in the Metered JavaScript Video SDK exits the meeting, emitting stateChanged and meetingLeft to the user and participantLeft to the others.
Lists all the connected microphones the user has
Lists all the speakers / audio output devices user has
listVideoInputDevices() in the Metered JavaScript Video SDK lists the cameras connected to the user's device, with the deviceId for chooseVideoInputDevice.
Emitted when startAudio() startVideo() startScreenSharing() shareCustomVideoTrack() or shareCustomAudio() method is called
When stopAudio(), stopVideo(), shareCustomVideoTrack() or shareCustomAudio() tracks end, this event is emitted.
Emitted when an existing local track is replaced with a new track
This event is emitted when the meeting is terminated
leaveMeeting() method is called this event is emitted to the participant
If you have not already read the Advanced SDK Guide Advanced SDK Guide, please read it first.
muteLocalAudio() in the Metered JavaScript Video SDK mutes the participant's microphone without stopping the audio stream or emitting remoteTrackStopped.
This event is emitted multiple during the meeting
Emitted when a new participant joins the meeting room
When a participant exits the meeting this event is emitted
pauseLocalVideo() in the Metered JavaScript Video SDK mutes the participant's camera or screen share; other participants see a black screen instead.
This document answers general questions about pricing and billing including audio only pricing
In this guide, we will explain how you can create a private meeting room and authenticate users via access tokens.
Emitted when any participant in the meeting room shares their microphone, camera, or screen
Emitted when any participant in the meeting room STOP sharing their microphone, camera, or screen
resumeLocalVideo() in the Metered JavaScript Video SDK unmutes the participant's camera or screen share. The remoteTrackStarted event is not emitted.
sendChatFileMessage() in the Metered JavaScript Video SDK sends a file to everyone in the meeting: upload it first, then send a message pointing to it.
sendChatFileMessageTo() in the Metered JavaScript Video SDK sends an uploaded file to a single participant as a private chat message.
sendChatMessage(text) in the Metered JavaScript Video SDK sends a text message to every participant, who receive it on the chatMessageReceived event.
sendChatMessageTo() in the Metered JavaScript Video SDK sends a private text message to one participant, identified by their participant session ID.
sendTypingIndicator() in the Metered JavaScript Video SDK broadcasts that the participant is typing. Other participants receive the chatTyping event.
Share a custom audio stream in the meeting
Share a custom video track in the meeting
startAudio() in the Metered JavaScript Video SDK shares the participant's microphone. To pick a specific microphone, call chooseAudioInputDevice first.
startScreenShare() in the Metered JavaScript Video SDK shares the user's screen, a window or a browser tab in the meeting, replacing any camera feed.
startVideo() in the Metered JavaScript Video SDK shares the participant's camera. To pick a specific camera, call chooseVideoInputDevice first.
This event is emitted when the meeting state changes
stopAudio() in the Metered JavaScript Video SDK stops sharing the participant's microphone, emitting remoteTrackStopped to others and localTrackStopped.
Stop participant's video or screen share
unmuteLocalAudio() in the Metered JavaScript Video SDK unmutes the participant's microphone. The remoteTrackStarted event is not emitted to the others.