Modifier and Type | Method and Description |
---|---|
boolean |
addAudioTrack(LocalAudioTrack localAudioTrack)
Adds an audio track to the local participant.
|
boolean |
addVideoTrack(LocalVideoTrack localVideoTrack)
Adds a video track to the local participant.
|
List<LocalAudioTrack> |
getAudioTracks()
Returns the
LocalAudioTrack s of a local participant. |
String |
getIdentity()
Returns the identity of the local participant.
|
String |
getSid()
Returns the SID of the local participant.
|
List<LocalVideoTrack> |
getVideoTracks()
Returns the
LocalVideoTrack s of a local participant. |
void |
release()
Deprecated.
|
boolean |
removeAudioTrack(LocalAudioTrack localAudioTrack)
Removes the audio track from the local participant.
|
boolean |
removeVideoTrack(LocalVideoTrack localVideoTrack)
Removes the video track from the local participant.
|
public String getSid()
public String getIdentity()
public List<LocalAudioTrack> getAudioTracks()
LocalAudioTrack
s of a local participant.public List<LocalVideoTrack> getVideoTracks()
LocalVideoTrack
s of a local participant.public boolean addAudioTrack(LocalAudioTrack localAudioTrack)
Room
then the audio track will be shared with all other participants.public boolean addVideoTrack(LocalVideoTrack localVideoTrack)
Room
then the video track will be shared with all other participants.public boolean removeAudioTrack(LocalAudioTrack localAudioTrack)
Room
then the audio track will no longer be shared with other participants.public boolean removeVideoTrack(LocalVideoTrack localVideoTrack)
Room
then the video track will no longer be shared with other participants.@Deprecated public void release()
Room.disconnect()
is called.1.3.14