RawIncomingVideoStream Class
- java.
lang. Object - CallVideoStream
- IncomingVideoStream
- com.
azure. android. communication. calling. RawIncomingVideoStream
- com.
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:
addOnStateChangedListener
public void addOnStateChangedListener(VideoStreamStateChangedListener listener)
Adds the specified listener to receive OnStateChanged events. Listener used to know the video stream state
Parameters:
removeOnRawVideoFrameReceivedListener
public void removeOnRawVideoFrameReceivedListener(RawVideoFrameReceivedListener listener)
Removes the specified listener to receive OnRawVideoFrameReceived events. Listener used to get video frames
Parameters:
removeOnStateChangedListener
public void removeOnStateChangedListener(VideoStreamStateChangedListener listener)
Removes the specified listener to receive OnStateChanged events. Listener used to know the video stream state
Parameters:
start
public void start()
Start receiving frames
stop
public void stop()
Stop receiving frames