Package com.amazonaws.ivs.broadcast
Class ImageStageStream
java.lang.Object
com.amazonaws.ivs.broadcast.StageStream
com.amazonaws.ivs.broadcast.RemoteStageStream
com.amazonaws.ivs.broadcast.ImageStageStream
This is a child class of
StageStream
and provide video specific APIs and implementations-
Nested Class Summary
Nested classes/interfaces inherited from class com.amazonaws.ivs.broadcast.RemoteStageStream
RemoteStageStream.Layer, RemoteStageStream.LayerConstraints, RemoteStageStream.LayerSelectedReason, RemoteStageStream.Listener
Nested classes/interfaces inherited from class com.amazonaws.ivs.broadcast.StageStream
StageStream.Type
-
Method Summary
Modifier and TypeMethodDescriptionGet custom Surface based previewGet image viewGet image viewMethods inherited from class com.amazonaws.ivs.broadcast.RemoteStageStream
getFirstLayerWithConstraintsOr, getHighestQualityLayer, getLayers, getLayersWithConstraints, getLowestQualityLayer, getSelectedLayer, isAdapting, setListener
Methods inherited from class com.amazonaws.ivs.broadcast.StageStream
getDevice, getMuted, getPreview, getStreamType, requestQualityStats, requestRTCStats, setListener
-
Method Details
-
getPreviewTextureView
Get image view- Specified by:
getPreviewTextureView
in classStageStream
- Returns:
- A new preview for this image stream
-
getPreviewSurfaceView
Get image view- Specified by:
getPreviewSurfaceView
in classStageStream
- Returns:
- A new preview for this image stream
-
getPreviewSurfaceTarget
Get custom Surface based preview- Specified by:
getPreviewSurfaceTarget
in classStageStream
- Returns:
- A new preview for this image stream, don't forget to
call
ImagePreviewSurfaceTarget.release()
when done.
-