Class: RtpPacket
#
Constructors#
constructor• new RtpPacket(header
, payload
)
#
ParametersName | Type |
---|---|
header | RtpHeader |
payload | Buffer |
#
Defined inpackages/rtp/src/rtp/rtp.ts:266
#
Properties#
header• header: RtpHeader
#
payload• payload: Buffer
#
Accessors#
serializeSize• get
serializeSize(): number
#
Returnsnumber
#
Defined inpackages/rtp/src/rtp/rtp.ts:269
#
Methods#
serialize▸ serialize(): Buffer
#
ReturnsBuffer
#
Defined inpackages/rtp/src/rtp/rtp.ts:273
#
deSerialize▸ Static
deSerialize(buf
): RtpPacket
#
ParametersName | Type |
---|---|
buf | Buffer |