export declare class AudioPacketAn audio packet containing encoded Opus payload data and key RTP Header metadata.
Constructors
Construct a new AudioPacket.
readonlypayload : Buffer
Encoded Opus payload data.
readonlysequence : number
RTP sequence number of this packet (16-bit, wraps at 65535).
readonlyssrc : number
RTP synchronization source identifier for this packet (32-bit). A change in SSRC indicates a new RTP stream, so any associated decoder should be reset.
readonlytimestamp : number
RTP timestamp of this packet (32-bit, wraps at 2^32 - 1, 48kHz clock).