Expand description
The words server and client share for formats.
The server knows streams by ffprobe’s names (hevc, hdmv_pgs_subtitle)
and a GStreamer client knows its decoders by caps (video/x-h265);
compared as strings they never match. Each side maps its own names to
these enums instead. A format either side does not know is Unknown,
which no client supports, so a plan says so rather than guessing.
Structs§
- Client
Capabilities - What a client can play. Belongs to the endpoint, not to a session: two profiles on one device have the same decoders. A client builds it from what it actually has (the Linux client from the GStreamer registry), not from a fixed list.
- Display
Capabilities - What the screen shows now, as a playback starts:
VideoLimits::hdrandVideoLimits::bit_depthfor that playback only, over what the client said at Hello. A TV’s display mode changes while the app runs (Match Dynamic Range, another TV or receiver, HDR turned off), and capabilities from Hello would send HDR to an SDR mode or tone map for an HDR one. - Video
Limits - The most video a client can show. Each limit that is
Noneis no limit.
Enums§
- Audio
Codec - An audio codec.
Dtscovers DTS-HD MA too: the core is DTS. - Container
- A container.
Matroskacovers WebM, which is a subset of it. - Delivery
- How a client takes media in.
- HdrFormat
- A high dynamic range format.
- Subtitle
Format - A subtitle format.
- Video
Codec - A video codec.