Class RawIncomingVideoStream
- Object
-
- CallVideoStream
-
- IncomingVideoStream
-
- RawIncomingVideoStream
-
public final class RawIncomingVideoStream extends IncomingVideoStream
Representation of a remote CallVideoStream using raw data (bytes)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOnRawVideoFrameReceivedListener(RawVideoFrameReceivedListener listener)Adds the specified listener to receive OnRawVideoFrameReceived events.voidaddOnStateChangedListener(VideoStreamStateChangedListener listener)Adds the specified listener to receive OnStateChanged events.voidremoveOnRawVideoFrameReceivedListener(RawVideoFrameReceivedListener listener)Removes the specified listener to receive OnRawVideoFrameReceived events.voidremoveOnStateChangedListener(VideoStreamStateChangedListener listener)Removes the specified listener to receive OnStateChanged events.voidstart()Start receiving framesvoidstop()Stop receiving frames-
Methods inherited from class IncomingVideoStream
getParticipantSourceId
-
Methods inherited from class CallVideoStream
finalize, getDirection, getId, getMediaStreamType, getSourceType, getState, getType
-
-
-
-
Method Detail
-
addOnRawVideoFrameReceivedListener
public void addOnRawVideoFrameReceivedListener(RawVideoFrameReceivedListener listener)
Adds the specified listener to receive OnRawVideoFrameReceived events. Listener used to get video frames
-
removeOnRawVideoFrameReceivedListener
public void removeOnRawVideoFrameReceivedListener(RawVideoFrameReceivedListener listener)
Removes the specified listener to receive OnRawVideoFrameReceived events. Listener used to get video frames
-
addOnStateChangedListener
public void addOnStateChangedListener(VideoStreamStateChangedListener listener)
Adds the specified listener to receive OnStateChanged events. Listener used to know the video stream state
-
removeOnStateChangedListener
public void removeOnStateChangedListener(VideoStreamStateChangedListener listener)
Removes the specified listener to receive OnStateChanged events. Listener used to know the video stream state
-
start
public void start()
Start receiving frames
-
stop
public void stop()
Stop receiving frames
-
-