Package com.amazonaws.ivs.broadcast
Class ImageStageStream
- java.lang.Object
-
- com.amazonaws.ivs.broadcast.StageStream
-
- com.amazonaws.ivs.broadcast.ImageStageStream
-
@RequiresApi(api=28) public class ImageStageStream extends StageStream
This is a child class ofStageStream
and provide video specific APIs and implementations
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.amazonaws.ivs.broadcast.StageStream
StageStream.Listener, StageStream.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImagePreviewSurfaceTarget
getPreviewSurfaceTarget()
Get custom Surface based previewImagePreviewSurfaceView
getPreviewSurfaceView()
Get image viewImagePreviewView
getPreviewTextureView()
Get image view-
Methods inherited from class com.amazonaws.ivs.broadcast.StageStream
getDevice, getMuted, getPreview, getStreamType, requestQualityStats, requestRTCStats, setListener
-
-
-
-
Method Detail
-
getPreviewTextureView
public ImagePreviewView getPreviewTextureView()
Get image view- Specified by:
getPreviewTextureView
in classStageStream
- Returns:
- A new preview for this image stream
-
getPreviewSurfaceView
public ImagePreviewSurfaceView getPreviewSurfaceView()
Get image view- Specified by:
getPreviewSurfaceView
in classStageStream
- Returns:
- A new preview for this image stream
-
getPreviewSurfaceTarget
public ImagePreviewSurfaceTarget 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.
-
-