Partilhar via


RawIncomingVideoStream Class

public class RawIncomingVideoStream extends IncomingVideoStream

Representation of a remote CallVideoStream using raw data (bytes)

Method Summary

Modifier and Type Method and Description
void addOnRawVideoFrameReceivedListener(RawVideoFrameReceivedListener listener)

Adds the specified listener to receive OnRawVideoFrameReceived events. Listener used to get video frames

void addOnStateChangedListener(VideoStreamStateChangedListener listener)

Adds the specified listener to receive OnStateChanged events. Listener used to know the video stream state

void removeOnRawVideoFrameReceivedListener(RawVideoFrameReceivedListener listener)

Removes the specified listener to receive OnRawVideoFrameReceived events. Listener used to get video frames

void removeOnStateChangedListener(VideoStreamStateChangedListener listener)

Removes the specified listener to receive OnStateChanged events. Listener used to know the video stream state

void start()

Start receiving frames

void stop()

Stop receiving frames

Inherited Members

Method Details

addOnRawVideoFrameReceivedListener

public void addOnRawVideoFrameReceivedListener(RawVideoFrameReceivedListener listener)

Adds the specified listener to receive OnRawVideoFrameReceived events. Listener used to get video frames

Parameters:

listener

addOnStateChangedListener

public void addOnStateChangedListener(VideoStreamStateChangedListener listener)

Adds the specified listener to receive OnStateChanged events. Listener used to know the video stream state

Parameters:

listener

removeOnRawVideoFrameReceivedListener

public void removeOnRawVideoFrameReceivedListener(RawVideoFrameReceivedListener listener)

Removes the specified listener to receive OnRawVideoFrameReceived events. Listener used to get video frames

Parameters:

listener

removeOnStateChangedListener

public void removeOnStateChangedListener(VideoStreamStateChangedListener listener)

Removes the specified listener to receive OnStateChanged events. Listener used to know the video stream state

Parameters:

listener

start

public void start()

Start receiving frames

stop

public void stop()

Stop receiving frames

Applies to