Share via


RawVideoFrame Class

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

public class RawVideoFrame

Information about the video frame

Method Summary

Modifier and Type Method and Description
void close()

Dispose heavy resources

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

VideoStreamFormat getStreamFormat()

Information about the 4CC used on this video frame

long getTimestampInTicks()

time when the video frame was created

RawVideoFrameType getType()

Informs how video frames will be available for encoding or decoding.

RawVideoFrame setStreamFormat(VideoStreamFormat value)

Information about the 4CC used on this video frame

RawVideoFrame setTimestampInTicks(long value)

time when the video frame was created

Method Details

close

public void close()

Dispose heavy resources

finalize

protected void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

getStreamFormat

public VideoStreamFormat getStreamFormat()

Information about the 4CC used on this video frame

getTimestampInTicks

public long getTimestampInTicks()

time when the video frame was created

getType

public RawVideoFrameType getType()

Informs how video frames will be available for encoding or decoding.

setStreamFormat

public RawVideoFrame setStreamFormat(VideoStreamFormat value)

Information about the 4CC used on this video frame

Parameters:

value - The new value.

setTimestampInTicks

public RawVideoFrame setTimestampInTicks(long value)

time when the video frame was created

Parameters:

value - The new value.

Applies to