Package com.amazonaws.ivs.broadcast
Class AudioStageStream
- java.lang.Object
-
- com.amazonaws.ivs.broadcast.StageStream
-
- com.amazonaws.ivs.broadcast.AudioStageStream
-
@RequiresApi(api=28) public class AudioStageStream extends StageStream
This is a child class ofStageStream
and provide audio 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 image view, but it is a no-op for AudioStageStream since audio does not have viewsImagePreviewSurfaceView
getPreviewSurfaceView()
Get image view, but it is a no-op for AudioStageStream since audio does not have viewsImagePreviewView
getPreviewTextureView()
Get image view, but it is a no-op for AudioStageStream since audio does not have viewsvoid
setStatsCallback(AudioDevice.StatsCallback callback)
-
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, but it is a no-op for AudioStageStream since audio does not have views- Specified by:
getPreviewTextureView
in classStageStream
- Returns:
- A new preview for this image stream
-
getPreviewSurfaceTarget
public ImagePreviewSurfaceTarget getPreviewSurfaceTarget()
Get image view, but it is a no-op for AudioStageStream since audio does not have views- Specified by:
getPreviewSurfaceTarget
in classStageStream
- Returns:
- A new preview for this image stream, don't forget to
call
ImagePreviewSurfaceTarget.release()
when done.
-
getPreviewSurfaceView
public ImagePreviewSurfaceView getPreviewSurfaceView()
Get image view, but it is a no-op for AudioStageStream since audio does not have views- Specified by:
getPreviewSurfaceView
in classStageStream
- Returns:
- A new preview for this image stream
-
setStatsCallback
public void setStatsCallback(AudioDevice.StatsCallback callback)
-
-