-
- All Implemented Interfaces:
-
androidx.lifecycle.LifecycleObserver,com.glia.androidsdk.internal.medra.Stream
public class ScreenStream extends OutgoingStream implements LifecycleObserver
A stream that depending on the StreamingMode might be paused/resumed when moving to/from background.
-
-
Constructor Summary
Constructors Constructor Description ScreenStream(VideoSource videoSource, MediaStream nativeStream, Completable canceled, MediaProvider provider, EglBase.Context renderContext, ConnectionChannel signalingChannel)
-
Method Summary
Modifier and Type Method Description voidstop()Stops streams and all related resources. -
Methods inherited from class com.glia.androidsdk.internal.medra.GenericStream
emitStreamEvent, getNativeStream, getRenderContext, notifyOfOnHold, observe, pause, resume, setOnHoldHandler -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ScreenStream
ScreenStream(VideoSource videoSource, MediaStream nativeStream, Completable canceled, MediaProvider provider, EglBase.Context renderContext, ConnectionChannel signalingChannel)
-
-
Method Detail
-
stop
void stop()
Stops streams and all related resources. Used internally.
-
-
-
-