Conference
A conference instance.
This class allows performing actions over this specific conference like joining the conference, hanging up or managing its participants. It also allows adding a listener to receive events related to this particular instance (@see ConferenceListener).
In order to share the media successfully, it is necessary to declare the pertinent permissions on the manifest:
"android.permission.CAMERA" for sharing video.
"android.permission.RECORD_AUDIO" for sharing audio.
Properties
Current conference type.
Current conference mediatypes.
Current conference participants.
Current conference state.
True if the user is sharing audio and it is enabled.
True if the user is sharing video and it is enabled.
True if the conference is being recorded.
True if the remote audio is enabled.
Access to the reactive API of the conference.
Functions
Accepts an attended transfer in progress.
Accept an incoming transfer.
Adds a listener to receive different events related to this conference.
Adds a listener to receive different media events related to this conference.
Cancels an attended transfer in progress.
Cancels the invitation made for the user to the specified participant.
Displays the local video in the specified videoRenderer if the user is sharing it. It should be called after receiving the event notifying that the local video has been added to the conference or when, once the video is being rendered, the videoRenderer needs to be changed. IMPORTANT: The videoRenderer used should be released (videoRenderer.release()) once the view is destroyed.
Displays the remote video of the participant specified by participantName in the indicated videoRenderer if they are sharing it. It should be called after receiving the event notifying that the video for that participant has been added to the conference or when, once the video is being rendered, the videoRenderer needs to be changed. IMPORTANT: The videoRenderer used should be released (videoRenderer.release()) once the view is destroyed.
Enables/disables the local audio.
Enables/disables the local video.
Enables/disables the remote audio of the current Conference.
Enables/disables the remote video of the participant specified by participantName.
Expels the specified participant from this conference.
Fetches all the invitations made for the user to this conference.
Hold the current conference.
Invites a new participant to this conference.
Allows the user to preview remote media before joining/declining the conference. IMPORTANT: This method does not join the user to the conference. The join action has to be explicit.
Removes the specified listener.
Removes the specified listener.
Swaps the videos of the specified participants. It should be called once both videos are being displayed if the surfaces on which they are being rendered are to be exchanged.
Swaps the physical device used to capture the video. It should be used when the local user is already sharing video.
Transfer the current conference to the specified Callee.
Unhold the current conference.
Updates the media types shared by the user, overridden the current ones.