RawVideoFrameBuffer Class
- java.
lang. Object - AutoCloseable
- RawVideoFrame
- com.
azure. android. communication. calling. RawVideoFrameBuffer
- com.
public class RawVideoFrameBuffer extends RawVideoFrame
Hold's video frame data as a buffer
Constructor Summary
Constructor | Description |
---|---|
RawVideoFrameBuffer() |
Default constructor |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<java.nio.ByteBuffer> |
getBuffers()
Representation of the video frame as a buffer saved on memory |
Raw |
setBuffers(List<java.nio.ByteBuffer> byteBufferList)
Representation of the video frame as a buffer saved on memory. Use ByteBuffer.allocateDirect API when creating the ByteBuffer |
Raw |
setStreamFormat(VideoStreamFormat value)
Information about the 4CC used on this video frame |
Raw |
setTimestampInTicks(long value)
time when the video frame was created |
Inherited Members
Constructor Details
RawVideoFrameBuffer
public RawVideoFrameBuffer()
Default constructor
Method Details
getBuffers
public List
Representation of the video frame as a buffer saved on memory
setBuffers
public RawVideoFrameBuffer setBuffers(List
Representation of the video frame as a buffer saved on memory. Use ByteBuffer.allocateDirect API when creating the ByteBuffer
Parameters:
setStreamFormat
public RawVideoFrameBuffer setStreamFormat(VideoStreamFormat value)
Information about the 4CC used on this video frame
Parameters:
setTimestampInTicks
public RawVideoFrameBuffer setTimestampInTicks(long value)
time when the video frame was created
Parameters: