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 void
addOnRawVideoFrameReceivedListener(RawVideoFrameReceivedListener listener)
Adds the specified listener to receive OnRawVideoFrameReceived events.void
addOnStateChangedListener(VideoStreamStateChangedListener listener)
Adds the specified listener to receive OnStateChanged events.void
removeOnRawVideoFrameReceivedListener(RawVideoFrameReceivedListener listener)
Removes the specified listener to receive OnRawVideoFrameReceived events.void
removeOnStateChangedListener(VideoStreamStateChangedListener listener)
Removes the specified listener to receive OnStateChanged events.void
start()
Start receiving framesvoid
stop()
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
-
-