Package com.mux.sdk.webrtc.spaces
Class RemoteTrack
- java.lang.Object
-
- com.mux.sdk.webrtc.spaces.Track<RemoteMediaStreamTrackHolder>
-
- com.mux.sdk.webrtc.spaces.RemoteTrack
-
public final class RemoteTrack extends Track<RemoteMediaStreamTrackHolder>
A Track belonging to a remote participant.
You can't mute or unmute these. In versions coming soon you will be able to choose which of them you subscribe to. Right now you are automatically subscribed to all of them.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.mux.sdk.webrtc.spaces.Track
Track.MirrorMode, Track.TrackType
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
connectionId
java.lang.String
participantId
-
Fields inherited from class com.mux.sdk.webrtc.spaces.Track
active, id, mid, name, sinks, source, SOURCE_CAMERA, SOURCE_MICROPHONE, SOURCE_SCREENSHARE, spaceId, trackType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConnectionId()
java.lang.String
getParticipantId()
boolean
isSubscribed()
-
Methods inherited from class com.mux.sdk.webrtc.spaces.Track
addSink, equals, getHeight, getMaxBitrate, getMediaStreamTrackHolder, getMirrorMode, getType, getWidth, hashCode, isActiveSpeaker, isMuted, removeSink, setHeight, setMediaStreamTrackHolder, setMirrorMode, setWidth, toSignals, toString, updateSinkMirrorState
-
-
-
-
Method Detail
-
getConnectionId
public java.lang.String getConnectionId()
- Specified by:
getConnectionId
in classTrack<RemoteMediaStreamTrackHolder>
-
getParticipantId
public java.lang.String getParticipantId()
- Specified by:
getParticipantId
in classTrack<RemoteMediaStreamTrackHolder>
-
isSubscribed
public boolean isSubscribed()
- Specified by:
isSubscribed
in classTrack<RemoteMediaStreamTrackHolder>
-
-