ifm3dpy.rtsp.NalUnit

class ifm3dpy.rtsp.NalUnit

Bases: None

A single, fully reassembled H.264 NAL unit.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

_pybind11_conduit_v1_

Attributes

data

Raw NAL payload (NAL-header byte first, without an Annex-B start code).

first_sequence_number

RTP sequence number of the first source packet.

is_idr

True when this NAL unit is an IDR slice.

last_sequence_number

RTP sequence number of the last source packet.

nal_ref_idc

nal_ref_idc field from the NAL header (0-3).

nal_unit_type

nal_unit_type field from the NAL header (1-31).

pts_us

Presentation timestamp, in microseconds.

class Type(value)

Bases: IntEnum

H.264 NAL unit type values (ITU-T H.264 Table 7-1).

property data

Raw NAL payload (NAL-header byte first, without an Annex-B start code).

property first_sequence_number

RTP sequence number of the first source packet.

property is_idr

True when this NAL unit is an IDR slice.

property last_sequence_number

RTP sequence number of the last source packet.

property nal_ref_idc

nal_ref_idc field from the NAL header (0-3).

property nal_unit_type

nal_unit_type field from the NAL header (1-31).

property pts_us

Presentation timestamp, in microseconds.