# BasePacket

abstract class BasePacket(clock: Long, payloadType: Int)

Created by pedro on 27/11/18.

#### Inheritors

AacPacket
Av1Packet
G711Packet
H264Packet
H265Packet
OpusPacket

## Constructors

BasePacket
Link copied to clipboard
constructor(clock: Long, payloadType: Int)

## Functions

createAndSendPacket
Link copied to clipboard
abstract suspend fun createAndSendPacket(mediaFrame: MediaFrame, callback: suspend (List<RtpFrame>) -> Unit)
reset
Link copied to clipboard
open fun reset()
setSSRC
Link copied to clipboard
fun setSSRC(ssrc: Long)