public interface Participant
Room
.Modifier and Type | Interface and Description |
---|---|
static class |
Participant.State
The state of the signaling connection for a Participant.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<AudioTrackPublication> |
getAudioTracks()
Returns
AudioTrackPublication s of participant. |
java.util.List<DataTrackPublication> |
getDataTracks()
Returns
DataTrackPublication s of participant. |
java.lang.String |
getIdentity()
Returns participant identity.
|
NetworkQualityLevel |
getNetworkQualityLevel()
Returns the participant's Network Quality Level.
|
java.lang.String |
getSid()
Returns unique identifier of a participant.
|
Participant.State |
getState()
Returns participant state.
|
java.util.List<VideoTrackPublication> |
getVideoTracks()
Returns
VideoTrackPublication s of participant. |
@NonNull java.lang.String getSid()
@NonNull java.lang.String getIdentity()
@NonNull Participant.State getState()
@NonNull NetworkQualityLevel getNetworkQualityLevel()
This property represents the quality of a Participant's connection in a Room. This value
may not be immediately available, and, in some cases, it's impossible to calculate it. In
these instances, getNetworkQualityLevel()
will return NetworkQualityLevel.NETWORK_QUALITY_LEVEL_UNKNOWN
. Calling this API in a Peer-to-Peer Room
will always return NetworkQualityLevel.NETWORK_QUALITY_LEVEL_UNKNOWN
. This is part of
the Network Quality API and must be enabled by enabling the enableNetworkQuality
option in ConnectOptions
.
@NonNull java.util.List<AudioTrackPublication> getAudioTracks()
AudioTrackPublication
s of participant.@NonNull java.util.List<VideoTrackPublication> getVideoTracks()
VideoTrackPublication
s of participant.@NonNull java.util.List<DataTrackPublication> getDataTracks()
DataTrackPublication
s of participant.6.0.0