Loading...
Searching...
No Matches
imquic_moq_stream Struct Reference

MoQ stream. More...

#include <moq.h>

Collaboration diagram for imquic_moq_stream:

Data Fields

uint64_t stream_id
 QUIC stream ID.
imquic_moq_message_type request_type
gboolean request_sender
imquic_media_stream_request_state request_state
imquic_moq_namespacenamespace_prefix
 In case this is for SUBSCRIBE_NAMESPACE, the namespace prefix.
imquic_moq_namespacelast_tuple
uint8_t namespace_prefix_size
 In case this is for SUBSCRIBE_NAMESPACE, how many tuples are in the namespace prefix.
imquic_moq_data_message_type type
 Delivery mode for this stream, in case it's used for objects.
uint64_t request_id
 ID of the request/subscription, and of the update if one was involved.
uint64_t update_request_id
uint64_t track_alias
 Track alias.
uint64_t group_id
 Group ID.
uint64_t subgroup_id
 Subgroup ID.
uint64_t object_id
 Object ID.
imquic_moq_object_status object_status
 Object status.
gboolean ascending
 If this is a FETCH stream, whether it's in ascending or descending order.
uint8_t priority
 Publisher priority.
gboolean first_of_subgroup
 Whether the first object in the stream contains the first object in the subgroup (added in v18)
imquic_bufferbuffer
 Buffer to process incoming messages/objects.
gboolean got_objects
 Whether we got at least an object on this stream.
uint64_t last_group_id
 Last Group ID handled.
uint64_t last_subgroup_id
 Last Subgroup ID handled.
uint64_t last_object_id
 Last Object ID handled.
uint8_t last_priority
 Last priority handled.
gboolean closed
 Whether we closed this stream.
volatile gint destroyed
 Whether this instance has been destroyed (reference counting)
imquic_refcount ref
 Reference counter.

Detailed Description

MoQ stream.

Note
This is usually used for objects (e.g., via SUBGROUP_HEADER or FETCH), but starting in v16, requests can use streams too

Field Documentation

◆ ascending

gboolean imquic_moq_stream::ascending

If this is a FETCH stream, whether it's in ascending or descending order.

◆ buffer

imquic_buffer* imquic_moq_stream::buffer

Buffer to process incoming messages/objects.

◆ closed

gboolean imquic_moq_stream::closed

Whether we closed this stream.

◆ destroyed

volatile gint imquic_moq_stream::destroyed

Whether this instance has been destroyed (reference counting)

◆ first_of_subgroup

gboolean imquic_moq_stream::first_of_subgroup

Whether the first object in the stream contains the first object in the subgroup (added in v18)

◆ got_objects

gboolean imquic_moq_stream::got_objects

Whether we got at least an object on this stream.

◆ group_id

uint64_t imquic_moq_stream::group_id

Group ID.

◆ last_group_id

uint64_t imquic_moq_stream::last_group_id

Last Group ID handled.

◆ last_object_id

uint64_t imquic_moq_stream::last_object_id

Last Object ID handled.

◆ last_priority

uint8_t imquic_moq_stream::last_priority

Last priority handled.

◆ last_subgroup_id

uint64_t imquic_moq_stream::last_subgroup_id

Last Subgroup ID handled.

◆ last_tuple

imquic_moq_namespace * imquic_moq_stream::last_tuple

◆ namespace_prefix

imquic_moq_namespace* imquic_moq_stream::namespace_prefix

In case this is for SUBSCRIBE_NAMESPACE, the namespace prefix.

◆ namespace_prefix_size

uint8_t imquic_moq_stream::namespace_prefix_size

In case this is for SUBSCRIBE_NAMESPACE, how many tuples are in the namespace prefix.

◆ object_id

uint64_t imquic_moq_stream::object_id

Object ID.

◆ object_status

imquic_moq_object_status imquic_moq_stream::object_status

Object status.

◆ priority

uint8_t imquic_moq_stream::priority

Publisher priority.

◆ ref

imquic_refcount imquic_moq_stream::ref

Reference counter.

◆ request_id

uint64_t imquic_moq_stream::request_id

ID of the request/subscription, and of the update if one was involved.

◆ request_sender

gboolean imquic_moq_stream::request_sender

In case this is a bidirectional STREAM for a request, if this endpoint originated it

◆ request_state

imquic_media_stream_request_state imquic_moq_stream::request_state

In case this is a bidirectional STREAM for a request, its current state

◆ request_type

imquic_moq_message_type imquic_moq_stream::request_type

In case this is a bidirectional STREAM for a request, the associated request type

◆ stream_id

uint64_t imquic_moq_stream::stream_id

QUIC stream ID.

◆ subgroup_id

uint64_t imquic_moq_stream::subgroup_id

Subgroup ID.

◆ track_alias

uint64_t imquic_moq_stream::track_alias

Track alias.

◆ type

imquic_moq_data_message_type imquic_moq_stream::type

Delivery mode for this stream, in case it's used for objects.

◆ update_request_id

uint64_t imquic_moq_stream::update_request_id

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