Package com.mux.sdk.webrtc.spaces
Class RemoteParticipant
- java.lang.Object
-
- com.mux.sdk.webrtc.spaces.Participant
-
- com.mux.sdk.webrtc.spaces.RemoteParticipant
-
public class RemoteParticipant extends Participant
A RemoteParticipant is a remote peer connected to the space.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RemoteParticipant.Errors
-
Field Summary
-
Fields inherited from class com.mux.sdk.webrtc.spaces.Participant
connectionId, id, space
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
subscribe()
Subscribe to this remote participant.void
unsubscribe()
Unsubscribe from this remote participant-
Methods inherited from class com.mux.sdk.webrtc.spaces.Participant
equals, getConnectionId, getId, getRole, hashCode, isActiveSpeaker, isTrackSourceMuted, roleSupportsPublishing, toString
-
-
-
-
Method Detail
-
subscribe
public void subscribe()
Subscribe to this remote participant.If subscriptions are not being automatically managed you must subscribe to a remote participant before recieving media.
-
unsubscribe
public void unsubscribe()
Unsubscribe from this remote participantIf subscriptions are not being automatically managed you may unsubscribe from a remote participant to stop recieving media.
-
-