Skip to main content

Class: GenericNack

Constructors#

constructor#

new GenericNack(props?)

Parameters#

NameType
propsPartial<GenericNack>

Defined in#

packages/rtp/src/rtcp/rtpfb/nack.ts:12

Properties#

count#

Readonly count: number

Defined in#

packages/rtp/src/rtcp/rtpfb/nack.ts:8


header#

header: RtcpHeader

Defined in#

packages/rtp/src/rtcp/rtpfb/nack.ts:9


lost#

lost: number[] = []

Defined in#

packages/rtp/src/rtcp/rtpfb/nack.ts:12


mediaSourceSsrc#

mediaSourceSsrc: number

Defined in#

packages/rtp/src/rtcp/rtpfb/nack.ts:11


senderSsrc#

senderSsrc: number

Defined in#

packages/rtp/src/rtcp/rtpfb/nack.ts:10


count#

Static count: number = 1

Defined in#

packages/rtp/src/rtcp/rtpfb/nack.ts:7

Methods#

serialize#

serialize(): Buffer

Returns#

Buffer

Defined in#

packages/rtp/src/rtcp/rtpfb/nack.ts:49


deSerialize#

Static deSerialize(data, header): GenericNack

Parameters#

NameType
dataBuffer
headerRtcpHeader

Returns#

GenericNack

Defined in#

packages/rtp/src/rtcp/rtpfb/nack.ts:25