Package com.amazonaws.ivs.broadcast
Class StageStream
- java.lang.Object
-
- com.amazonaws.ivs.broadcast.StageStream
-
- Direct Known Subclasses:
AudioStageStream
,ImageStageStream
,LocalStageStream
@RequiresApi(api=28) public abstract class StageStream extends java.lang.Object
A media stream that contains a singleDevice
and a single type of media data (audio or video).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StageStream.Listener
StageStream delegate interface to receive callbacks when RTCStats is ready after callingrequestRTCStats()
or StageStream is mutedstatic class
StageStream.Type
Media type of StageStream
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Device
getDevice()
boolean
getMuted()
abstract ImagePreviewView
getPreview()
StageStream.Type
getStreamType()
void
requestRTCStats()
request RTC statistics about this StageStream, if is is not being published or subscribed, it is a no-opvoid
setListener(StageStream.Listener listener)
-
-
-
Method Detail
-
setListener
public void setListener(StageStream.Listener listener)
-
getStreamType
public StageStream.Type getStreamType()
-
getDevice
public Device getDevice()
-
requestRTCStats
public void requestRTCStats()
request RTC statistics about this StageStream, if is is not being published or subscribed, it is a no-op
-
getMuted
public boolean getMuted()
-
getPreview
public abstract ImagePreviewView getPreview()
-
-