View Source ExWebRTC.RTP.Opus.Payloader (ex_webrtc v0.3.0)
Encapsulates Opus audio packet into an RTP packet.
Based on RFC 7587: RTP Payload Format for the Opus Speech and Audio Codec.
Summary
Functions
Packs Opus packet into an RTP packet.
Functions
@spec payload(binary()) :: ExRTP.Packet.t()
Packs Opus packet into an RTP packet.
Fields from RTP header like ssrc, timestamp etc. are set to 0.