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

Class: RtcpHeader

Constructors#

constructor#

new RtcpHeader(props?)

Parameters#

NameType
propsPartial<RtcpHeader>

Defined in#

packages/rtp/src/rtcp/header.ts:19

Properties#

count#

count: number = 0

Defined in#

packages/rtp/src/rtcp/header.ts:17


length#

length: number = 0

Defined in#

packages/rtp/src/rtcp/header.ts:19


padding#

padding: boolean = false

Defined in#

packages/rtp/src/rtcp/header.ts:16


type#

type: number = 0

Defined in#

packages/rtp/src/rtcp/header.ts:18


version#

version: number = 2

Defined in#

packages/rtp/src/rtcp/header.ts:15

Methods#

serialize#

serialize(): Buffer

Returns#

Buffer

Defined in#

packages/rtp/src/rtcp/header.ts:25


deSerialize#

Static deSerialize(buf): RtcpHeader

Parameters#

NameType
bufBuffer

Returns#

RtcpHeader

Defined in#

packages/rtp/src/rtcp/header.ts:34