Class: RtcpHeader
#
Constructors#
constructor• new RtcpHeader(props?
)
#
ParametersName | Type |
---|---|
props | Partial <RtcpHeader> |
#
Defined inpackages/rtp/src/rtcp/header.ts:19
#
Properties#
count• count: number
= 0
#
Defined inpackages/rtp/src/rtcp/header.ts:17
#
length• length: number
= 0
#
Defined inpackages/rtp/src/rtcp/header.ts:19
#
padding• padding: boolean
= false
#
Defined inpackages/rtp/src/rtcp/header.ts:16
#
type• type: number
= 0
#
Defined inpackages/rtp/src/rtcp/header.ts:18
#
version• version: number
= 2
#
Defined inpackages/rtp/src/rtcp/header.ts:15
#
Methods#
serialize▸ serialize(): Buffer
#
ReturnsBuffer
#
Defined inpackages/rtp/src/rtcp/header.ts:25
#
deSerialize▸ Static
deSerialize(buf
): RtcpHeader
#
ParametersName | Type |
---|---|
buf | Buffer |