メインコンテンツまでスキップ

Class: RtpPacket

Constructors#

constructor#

new RtpPacket(header, payload)

Parameters#

NameType
headerRtpHeader
payloadBuffer

Defined in#

packages/rtp/src/rtp/rtp.ts:266

Properties#

header#

header: RtpHeader


payload#

payload: Buffer

Accessors#

serializeSize#

get serializeSize(): number

Returns#

number

Defined in#

packages/rtp/src/rtp/rtp.ts:269

Methods#

serialize#

serialize(): Buffer

Returns#

Buffer

Defined in#

packages/rtp/src/rtp/rtp.ts:273


deSerialize#

Static deSerialize(buf): RtpPacket

Parameters#

NameType
bufBuffer

Returns#

RtpPacket

Defined in#

packages/rtp/src/rtp/rtp.ts:288