Perform In-Meeting Action


BlueJeans Web Embed SDK provides you a way to perform in-meeting actions, read states via function calls, actions like mute or un-mute of audio/video, how to know if a participant has joined a meeting or waiting on the hair check screen and more.

Participant Audio Mute/Unmute

Web Embed SDK provides you the ability to mute or unmute the audio of self participant. This means, if you call setAudioMuted with true, the audio state will be set muted in the meeting.

BJNEmbedSDK.setAudioMuted(false) //to unmute your audio 
BJNEmbedSDK.setAudioMuted(true)//to mute your audio

Set Remote Audio Mute/Unmute

Web Embed SDK provides you the ability to mute the incoming audio from other participants in your BlueJeans endpoint. This means, if you callsetRemoteAudioMuted with true, the other participants will still be able to speak in the meeting, but you would not be able to hear their audio.  

BJNEmbedSDK.setRemoteAudioMuted (false) //to unmute your audio 
BJNEmbedSDK.setRemoteAudioMuted (true)//to mute your audio

Participant Video Mute/Unmute

Web Embed SDK provides you the ability to mute or unmute video of the self participant. setVideoMuted() method is used to set the video state as muted/unmuted in the meeting.

BJNEmbedSDK.setVideoMuted(false) //to unmute your video 
BJNEmbedSDK.setVideoMuted(true)//to mute your video

Screen Sharing

Screen share provides the facility to share the content within the meeting, thereby you can enhance the collaborative experience of the meetings. Web Embed SDK currently supports screen share in the form of full device's screen share which can be accessed via screenShare  method.

  • startScreenShare() method is used to initiate screen share service. To initiate the screen share, use the following command.
    BJNEmbedSDK.startScreenShare();
  • stopScreenShare() method is used to stop the screen share service. To stop the screen share in the meeting, use the following command.
    BJNEmbedSDK.stopScreenShare();

Note:

Initiating the screen share from a mobile browser is not supported, because canShareScreen API is false on all mobile browsers.

Leave Meeting

leave() method is used to end the meeting.  After you successfully leave the meeting, the connectionState will be updated with Disconnected

BJNEmbedSDK.leave();

End Meeting for All (Moderator Only)

leaveAndEndForAll  is supported for only moderators. Web Embed SDK supports to end the meeting for all participants at any point of time. leaveAndEndForAll method is used to end the meeting session. So everyone in the meeting will be kicked out.  After you successfully leave the meeting, the connectionState will be updated with Disconnected.  

BJNEmbedSDK.leaveAndEndForAll();