Video Android 4.3.0: Dominant Speaker #426
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
4.3.0
API Changes
ConnectOptions.dominantSpeakerEnabled
property totrue
when connecting to a Group Room. To determine the current dominant speaker, query theRoom.getDominantSpeaker()
method. When there is no dominant speaker, theConnectOptions.dominantSpeakerEnabled
property was set tofalse
or when using a Peer-to-Peer room, theRoom.getDominantSpeaker()
method will always returnnull
. When there is a dominant speaker, theRoom.getDominantSpeaker()
method will return the appropriateRemoteParticipant
. ImplementingRoom.Listener.onDominantSpeakerChanged()
method on yourRoom.Listener
will allow you to receive callbacks when the dominant speaker in a Group Room changes. TheonDominantSpeakerChanged
argument will contain theRemoteParticipant
of the dominant speaker, ornull
if there is no longer a dominant speaker.Known issues
codecs:
LocalAudioTrack
orLocalVideoTrack
might not be seen by Participants. As a result, tracks published after aRoom.State.RECONNECTED
event might not be subscribed to by aRemoteParticipant
.