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

MoQ context. More...

#include <moq.h>

Collaboration diagram for imquic_moq_context:

Data Fields

imquic_connectionconn
 Associated QUIC connection.
 
GList * supported_versions
 Peer versions.
 
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 request_id.
 
uint64_t expected_request_id
 Current Request IDs we expect and we can send.
 
uint64_t next_request_id
 
uint64_t max_request_id
 Maximum Request IDs we can send and the one we accept.
 
uint64_t local_max_request_id
 
uint64_t max_auth_token_cache_size
 Maximum Request IDs we can send and the one we accept.
 
uint64_t local_max_auth_token_cache_size
 
imquic_moq_bufferbuffer
 Buffer to process incoming messages.
 
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

◆ buffer

imquic_moq_buffer* imquic_moq_context::buffer

Buffer to process incoming messages.

◆ 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_request_id

uint64_t imquic_moq_context::expected_request_id

Current Request 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_auth_token_cache_size

uint64_t imquic_moq_context::local_max_auth_token_cache_size

◆ local_max_request_id

uint64_t imquic_moq_context::local_max_request_id

◆ max_auth_token_cache_size

uint64_t imquic_moq_context::max_auth_token_cache_size

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

◆ max_request_id

uint64_t imquic_moq_context::max_request_id

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

◆ mutex

imquic_mutex imquic_moq_context::mutex

Mutex.

◆ next_request_id

uint64_t imquic_moq_context::next_request_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 request_id.

◆ supported_versions

GList* imquic_moq_context::supported_versions

Peer versions.

◆ 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: