LibQuicR
quicr::PublishTrackHandler::StreamInfo Struct Reference

State retained for one open subgroup stream. More...

#include <publish_track_handler.h>

Public Attributes

std::shared_ptr< Stream > stream
 
messages::StreamHeaderProperties properties
 Subgroup framing in use. More...
 
uint64_t last_group_id { 0 }
 Last group encoded on the stream. More...
 
uint64_t last_subgroup_id { 0 }
 Last subgroup encoded on the stream. More...
 
std::optional< uint64_t > last_object_id { std::nullopt }
 Last object used for delta encoding. More...
 

Detailed Description

State retained for one open subgroup stream.

Member Data Documentation

◆ last_group_id

uint64_t quicr::PublishTrackHandler::StreamInfo::last_group_id { 0 }

Last group encoded on the stream.

◆ last_object_id

std::optional<uint64_t> quicr::PublishTrackHandler::StreamInfo::last_object_id { std::nullopt }

Last object used for delta encoding.

◆ last_subgroup_id

uint64_t quicr::PublishTrackHandler::StreamInfo::last_subgroup_id { 0 }

Last subgroup encoded on the stream.

◆ properties

messages::StreamHeaderProperties quicr::PublishTrackHandler::StreamInfo::properties

Subgroup framing in use.

◆ stream

std::shared_ptr<Stream> quicr::PublishTrackHandler::StreamInfo::stream

Stream the subgroup is written to.

Held from stream creation until the subgroup ends, so publishing an object costs no lookup. The transport may close the stream underneath this handle, which it detects and rejects on send.


The documentation for this struct was generated from the following file: