Skip to main content

Module rtp

Module rtp 

Source
Expand description

Bare RTP over UDP — what sim/video-source.sh and most GStreamer/FFmpeg pipelines emit. In-house depacketizer for H.264 (RFC 6184: single NAL, STAP-A, FU-A) and H.265 (RFC 7798: single NAL, AP, FU); access units delimited by the RTP marker bit or a timestamp change. Emits Annex B. No decoding.

The RTP framing — header, sequence, timestamp, marker — is identical for both. Only the payload header differs, so the codec split is confined to push_payload and the keyframe test in push_nal.

Structs§

Depacketizer

Constants§

RTP_CLOCK_HZ 🔒
H.264 RTP sampling clock (RFC 6184 §8.2.1).
START_CODE 🔒

Functions§

run