Skip to main content

Class: RunLengthChunk

Constructors#

constructor#

new RunLengthChunk(props?)

Parameters#

NameType
propsPartial<RunLengthChunk>

Defined in#

packages/rtp/src/rtcp/rtpfb/twcc.ts:256

Properties#

packetStatus#

packetStatus: PacketStatus

Defined in#

packages/rtp/src/rtcp/rtpfb/twcc.ts:254


runLength#

runLength: number

13bit

Defined in#

packages/rtp/src/rtcp/rtpfb/twcc.ts:256


type#

type: TypeTCCRunLengthChunk

Defined in#

packages/rtp/src/rtcp/rtpfb/twcc.ts:253

Methods#

results#

results(currentSequenceNumber): PacketResult[]

Parameters#

NameType
currentSequenceNumbernumber

Returns#

PacketResult[]

Defined in#

packages/rtp/src/rtcp/rtpfb/twcc.ts:282


serialize#

serialize(): Buffer

Returns#

Buffer

Defined in#

packages/rtp/src/rtcp/rtpfb/twcc.ts:270


deSerialize#

Static deSerialize(data): RunLengthChunk

Parameters#

NameType
dataBuffer

Returns#

RunLengthChunk

Defined in#

packages/rtp/src/rtcp/rtpfb/twcc.ts:263