# MediaFrame

data class MediaFrame(val data: ByteBuffer, val info: MediaFrame.Info, val type: MediaFrame.Type)

## Constructors

MediaFrame
Link copied to clipboard
constructor(data: ByteBuffer, info: MediaFrame.Info, type: MediaFrame.Type)

## Types

Info
Link copied to clipboard
data class Info(val offset: Int, val size: Int, val timestamp: Long, val isKeyFrame: Boolean, val flags: Int = 0)
Type
Link copied to clipboard
enum Type : Enum<MediaFrame.Type>

## Properties

data
Link copied to clipboard
val data: ByteBuffer
info
Link copied to clipboard
val info: MediaFrame.Info
type
Link copied to clipboard
val type: MediaFrame.Type