Package com.mux.sdk.webrtc.spaces
Class LocalScreenCaptureTrack
- java.lang.Object
-
- com.mux.sdk.webrtc.spaces.Track<LocalMediaStreamTrackHolder>
-
- com.mux.sdk.webrtc.spaces.LocalTrack
-
- com.mux.sdk.webrtc.spaces.LocalScreenCaptureTrack
-
public class LocalScreenCaptureTrack extends LocalTrack
A LocalTrack specific to screen sharing
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LocalScreenCaptureTrack.ScreenCaptureListener
-
Nested classes/interfaces inherited from class com.mux.sdk.webrtc.spaces.Track
Track.TrackType
-
-
Field Summary
-
Fields inherited from class com.mux.sdk.webrtc.spaces.LocalTrack
space
-
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 void
addScreenCaptureListener(LocalScreenCaptureTrack.ScreenCaptureListener listener)
void
removeScreenCaptureListener(LocalScreenCaptureTrack.ScreenCaptureListener listener)
void
startScreenCapture(BaseMuxRealTime muxRealTime, Space space, android.app.Activity activity, android.content.Intent data, android.app.Notification notification)
void
stopScreenCapture()
-
Methods inherited from class com.mux.sdk.webrtc.spaces.LocalTrack
getConnectionId, getParticipantId, isSubscribed, mute, unmute
-
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
-
startScreenCapture
public void startScreenCapture(BaseMuxRealTime muxRealTime, Space space, android.app.Activity activity, android.content.Intent data, android.app.Notification notification)
-
stopScreenCapture
public void stopScreenCapture()
-
addScreenCaptureListener
public void addScreenCaptureListener(LocalScreenCaptureTrack.ScreenCaptureListener listener)
-
removeScreenCaptureListener
public void removeScreenCaptureListener(LocalScreenCaptureTrack.ScreenCaptureListener listener)
-
-