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.TrackType
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringconnectionIdjava.lang.StringparticipantId-
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.StringgetConnectionId()java.lang.StringgetParticipantId()booleanisSubscribed()-
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:
getConnectionIdin classTrack<RemoteMediaStreamTrackHolder>
-
getParticipantId
public java.lang.String getParticipantId()
- Specified by:
getParticipantIdin classTrack<RemoteMediaStreamTrackHolder>
-
isSubscribed
public boolean isSubscribed()
- Specified by:
isSubscribedin classTrack<RemoteMediaStreamTrackHolder>
-
-