Class: RtpHeader
#
Constructors#
constructor• new RtpHeader(props?
)
#
ParametersName | Type |
---|---|
props | Partial <RtpHeader> |
#
Defined inpackages/rtp/src/rtp/rtp.ts:48
#
Properties#
csrc• csrc: number
[] = []
#
Defined inpackages/rtp/src/rtp/rtp.ts:44
#
extension• extension: boolean
= false
#
Defined inpackages/rtp/src/rtp/rtp.ts:37
#
extensionLength• Optional
extensionLength: number
deserialize only
#
Defined inpackages/rtp/src/rtp/rtp.ts:47
#
extensionProfile• extensionProfile: ExtensionProfile
#
Defined inpackages/rtp/src/rtp/rtp.ts:45
#
extensions• extensions: Extension[] = []
#
Defined inpackages/rtp/src/rtp/rtp.ts:48
#
marker• marker: boolean
= false
#
Defined inpackages/rtp/src/rtp/rtp.ts:38
#
padding• padding: boolean
= false
#
Defined inpackages/rtp/src/rtp/rtp.ts:35
#
paddingSize• paddingSize: number
= 0
#
Defined inpackages/rtp/src/rtp/rtp.ts:36
#
payloadOffset• payloadOffset: number
= 0
#
Defined inpackages/rtp/src/rtp/rtp.ts:39
#
payloadType• payloadType: number
= 0
#
Defined inpackages/rtp/src/rtp/rtp.ts:40
#
sequenceNumber• sequenceNumber: number
= 0
#
Defined inpackages/rtp/src/rtp/rtp.ts:41
#
ssrc• ssrc: number
= 0
#
Defined inpackages/rtp/src/rtp/rtp.ts:43
#
timestamp• timestamp: number
= 0
#
Defined inpackages/rtp/src/rtp/rtp.ts:42
#
version• version: number
= 2
#
Defined inpackages/rtp/src/rtp/rtp.ts:34
#
Accessors#
serializeSize• get
serializeSize(): number
#
Returnsnumber
#
Defined inpackages/rtp/src/rtp/rtp.ts:162
#
Methods#
serialize▸ serialize(size
): Buffer
#
ParametersName | Type |
---|---|
size | number |
#
ReturnsBuffer
#
Defined inpackages/rtp/src/rtp/rtp.ts:189
#
deSerialize▸ Static
deSerialize(rawPacket
): RtpHeader
#
ParametersName | Type |
---|---|
rawPacket | Buffer |