Loading...
Searching...
No Matches
Data Fields
imquic_moq_context Struct Reference

MoQ context. More...

#include <moq.h>

Collaboration diagram for imquic_moq_context:
Collaboration graph
[legend]

Data Fields

imquic_connectionconn
 Associated QUIC connection.
 
imquic_moq_version version
 Negotiated version.
 
gboolean version_set
 Whether a version has been set.
 
imquic_moq_role_type type
 Role of this endpoint.
 
gboolean role_set
 Whether a role has been set.
 
gboolean is_server
 Whether this is a QUIC server or client.
 
gboolean has_control_stream
 Whether a MoQ control stream has been established.
 
uint64_t control_stream_id
 ID of the control stream.
 
uint64_t control_stream_offset
 Current offset of the control stream on the way out.
 
GHashTable * streams
 QUIC streams handled by the stack.
 
GHashTable * subscriptions
 Subscriptions this connection will send objects to, indexed by track_alias.
 
GHashTable * subscriptions_by_id
 Subscriptions this connection will send objects to, indexed by subscribe_id.
 
uint64_t expected_subscribe_id
 Current Subscribe IDs we expect and we can send.
 
uint64_t next_subscribe_id
 
uint64_t max_subscribe_id
 Maximum Subscribe IDs we can send and the one we accept.
 
uint64_t local_max_subscribe_id
 
imquic_mutex mutex
 Mutex.
 
volatile gint connected
 Whether we have established a connection.
 
volatile gint destroyed
 Whether this instance has been destroyed (reference counting)
 
imquic_refcount ref
 Reference counter.
 

Detailed Description

MoQ context.

Field Documentation

◆ conn

imquic_connection* imquic_moq_context::conn

Associated QUIC connection.

◆ connected

volatile gint imquic_moq_context::connected

Whether we have established a connection.

◆ control_stream_id

uint64_t imquic_moq_context::control_stream_id

ID of the control stream.

◆ control_stream_offset

uint64_t imquic_moq_context::control_stream_offset

Current offset of the control stream on the way out.

◆ destroyed

volatile gint imquic_moq_context::destroyed

Whether this instance has been destroyed (reference counting)

◆ expected_subscribe_id

uint64_t imquic_moq_context::expected_subscribe_id

Current Subscribe IDs we expect and we can send.

◆ has_control_stream

gboolean imquic_moq_context::has_control_stream

Whether a MoQ control stream has been established.

◆ is_server

gboolean imquic_moq_context::is_server

Whether this is a QUIC server or client.

◆ local_max_subscribe_id

uint64_t imquic_moq_context::local_max_subscribe_id

◆ max_subscribe_id

uint64_t imquic_moq_context::max_subscribe_id

Maximum Subscribe IDs we can send and the one we accept.

◆ mutex

imquic_mutex imquic_moq_context::mutex

Mutex.

◆ next_subscribe_id

uint64_t imquic_moq_context::next_subscribe_id

◆ ref

imquic_refcount imquic_moq_context::ref

Reference counter.

◆ role_set

gboolean imquic_moq_context::role_set

Whether a role has been set.

◆ streams

GHashTable* imquic_moq_context::streams

QUIC streams handled by the stack.

◆ subscriptions

GHashTable* imquic_moq_context::subscriptions

Subscriptions this connection will send objects to, indexed by track_alias.

◆ subscriptions_by_id

GHashTable* imquic_moq_context::subscriptions_by_id

Subscriptions this connection will send objects to, indexed by subscribe_id.

◆ type

imquic_moq_role_type imquic_moq_context::type

Role of this endpoint.

◆ version

imquic_moq_version imquic_moq_context::version

Negotiated version.

◆ version_set

gboolean imquic_moq_context::version_set

Whether a version has been set.


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