G711Packet

class G711Packet(track: Int) : BasePacket

RFC 3551, section 4.5.14. The packetization is the same for G711A (PCMA) and G711U (PCMU) but the payload type is not, so this only handle G711A because the payload type 8 is statically mapped to PCMA. G711U would need the payload type 0 instead.

Constructors

Link copied to clipboard
constructor(track: Int)

Functions

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