次の方法で共有


RawVideoFrameBuffer Class

  • java.lang.Object
    • AutoCloseable
      • RawVideoFrame
        • com.azure.android.communication.calling.RawVideoFrameBuffer

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

RawVideoFrameBuffer 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

RawVideoFrameBuffer setStreamFormat(VideoStreamFormat value)

Information about the 4CC used on this video frame

RawVideoFrameBuffer setTimestampInTicks(long value)

time when the video frame was created

Inherited Members

Constructor Details

RawVideoFrameBuffer

public RawVideoFrameBuffer()

Default constructor

Method Details

getBuffers

public List getBuffers()

Representation of the video frame as a buffer saved on memory

setBuffers

public RawVideoFrameBuffer setBuffers(List byteBufferList)

Representation of the video frame as a buffer saved on memory. Use ByteBuffer.allocateDirect API when creating the ByteBuffer

Parameters:

byteBufferList

setStreamFormat

public RawVideoFrameBuffer setStreamFormat(VideoStreamFormat value)

Information about the 4CC used on this video frame

Parameters:

value - The new value.

setTimestampInTicks

public RawVideoFrameBuffer setTimestampInTicks(long value)

time when the video frame was created

Parameters:

value - The new value.

Applies to