RoQ public callbacks. More...
#include <moq.h>
Data Fields | |
void(* | new_connection )(imquic_connection *conn, void *user_data) |
Callback function to be notified about new moQ connections. | |
void(* | moq_ready )(imquic_connection *conn) |
Callback function to be notified when a MoQ connection is ready (setup performed on both ends) | |
void(* | incoming_announce )(imquic_connection *conn, imquic_moq_namespace *tns) |
Callback function to be notified about incoming ANNOUNCE messages. | |
void(* | incoming_announce_cancel )(imquic_connection *conn, imquic_moq_namespace *tns) |
Callback function to be notified about incoming ANNOUNCE_CANCEL messages. | |
void(* | announce_accepted )(imquic_connection *conn, imquic_moq_namespace *tns) |
Callback function to be notified about incoming ANNOUNCE_ACCEPTED messages. | |
void(* | announce_error )(imquic_connection *conn, imquic_moq_namespace *tns, int error_code, const char *reason) |
Callback function to be notified about incoming ANNOUNCE_ERROR messages. | |
void(* | incoming_unannounce )(imquic_connection *conn, imquic_moq_namespace *tns) |
Callback function to be notified about incoming UNANNOUNCE messages. | |
void(* | incoming_subscribe )(imquic_connection *conn, uint64_t subscribe_id, uint64_t track_alias, imquic_moq_namespace *tns, imquic_moq_name *tn, imquic_moq_auth_info *auth) |
Callback function to be notified about incoming SUBSCRIBE messages. | |
void(* | subscribe_accepted )(imquic_connection *conn, uint64_t subscribe_id, uint64_t expires, gboolean descending) |
Callback function to be notified about incoming SUBSCRIBE_ACCEPTED messages. | |
void(* | subscribe_error )(imquic_connection *conn, uint64_t subscribe_id, int error_code, const char *reason, uint64_t track_alias) |
Callback function to be notified about incoming SUBSCRIBE_ERROR messages. | |
void(* | subscribe_done )(imquic_connection *conn, uint64_t subscribe_id, int status_code, const char *reason) |
Callback function to be notified about incoming SUBSCRIBE_DONE messages. | |
void(* | incoming_unsubscribe )(imquic_connection *conn, uint64_t subscribe_id) |
Callback function to be notified about incoming UNBSUBSCRIBE messages. | |
void(* | incoming_subscribe_announces )(imquic_connection *conn, imquic_moq_namespace *tns, imquic_moq_auth_info *auth) |
Callback function to be notified about incoming SUBSCRIBE_ANNOUNCES messages. | |
void(* | subscribe_announces_accepted )(imquic_connection *conn, imquic_moq_namespace *tns) |
Callback function to be notified about incoming SUBSCRIBE_ANNOUNCES_ACCEPTED messages. | |
void(* | subscribe_announces_error )(imquic_connection *conn, imquic_moq_namespace *tns, int error_code, const char *reason) |
Callback function to be notified about incoming SUBSCRIBE_ANNOUNCES_ERROR messages. | |
void(* | incoming_unsubscribe_announces )(imquic_connection *conn, imquic_moq_namespace *tns) |
Callback function to be notified about incoming UNSUBSCRIBE_ANNOUNCES messages. | |
void(* | incoming_fetch )(imquic_connection *conn, uint64_t subscribe_id, imquic_moq_namespace *tns, imquic_moq_name *tn, gboolean descending, imquic_moq_fetch_range *range, imquic_moq_auth_info *auth) |
Callback function to be notified about incoming FETCH messages. | |
void(* | incoming_fetch_cancel )(imquic_connection *conn, uint64_t subscribe_id) |
Callback function to be notified about incoming FETCH_CANCEL messages. | |
void(* | fetch_accepted )(imquic_connection *conn, uint64_t subscribe_id, gboolean descending, imquic_moq_position *largest) |
Callback function to be notified about incoming FETCH_ACCEPTED messages. | |
void(* | fetch_error )(imquic_connection *conn, uint64_t subscribe_id, int error_code, const char *reason) |
Callback function to be notified about incoming FETCH_ERROR messages. | |
void(* | incoming_object )(imquic_connection *conn, imquic_moq_object *object) |
Callback function to be notified about incoming MoQ objects. | |
void(* | incoming_goaway )(imquic_connection *conn, const char *uri) |
Callback function to be notified about incoming GOAWAY messages. | |
void(* | connection_gone )(imquic_connection *conn) |
Callback function to be notified about RoQ connections being closed. | |
RoQ public callbacks.
void(* imquic_moq_callbacks::announce_accepted) (imquic_connection *conn, imquic_moq_namespace *tns) |
Callback function to be notified about incoming ANNOUNCE_ACCEPTED
messages.
void(* imquic_moq_callbacks::announce_error) (imquic_connection *conn, imquic_moq_namespace *tns, int error_code, const char *reason) |
Callback function to be notified about incoming ANNOUNCE_ERROR
messages.
void(* imquic_moq_callbacks::connection_gone) (imquic_connection *conn) |
Callback function to be notified about RoQ connections being closed.
void(* imquic_moq_callbacks::fetch_accepted) (imquic_connection *conn, uint64_t subscribe_id, gboolean descending, imquic_moq_position *largest) |
Callback function to be notified about incoming FETCH_ACCEPTED
messages.
void(* imquic_moq_callbacks::fetch_error) (imquic_connection *conn, uint64_t subscribe_id, int error_code, const char *reason) |
Callback function to be notified about incoming FETCH_ERROR
messages.
void(* imquic_moq_callbacks::incoming_announce) (imquic_connection *conn, imquic_moq_namespace *tns) |
Callback function to be notified about incoming ANNOUNCE
messages.
void(* imquic_moq_callbacks::incoming_announce_cancel) (imquic_connection *conn, imquic_moq_namespace *tns) |
Callback function to be notified about incoming ANNOUNCE_CANCEL
messages.
void(* imquic_moq_callbacks::incoming_fetch) (imquic_connection *conn, uint64_t subscribe_id, imquic_moq_namespace *tns, imquic_moq_name *tn, gboolean descending, imquic_moq_fetch_range *range, imquic_moq_auth_info *auth) |
Callback function to be notified about incoming FETCH
messages.
void(* imquic_moq_callbacks::incoming_fetch_cancel) (imquic_connection *conn, uint64_t subscribe_id) |
Callback function to be notified about incoming FETCH_CANCEL
messages.
void(* imquic_moq_callbacks::incoming_goaway) (imquic_connection *conn, const char *uri) |
Callback function to be notified about incoming GOAWAY
messages.
void(* imquic_moq_callbacks::incoming_object) (imquic_connection *conn, imquic_moq_object *object) |
Callback function to be notified about incoming MoQ objects.
void(* imquic_moq_callbacks::incoming_subscribe) (imquic_connection *conn, uint64_t subscribe_id, uint64_t track_alias, imquic_moq_namespace *tns, imquic_moq_name *tn, imquic_moq_auth_info *auth) |
Callback function to be notified about incoming SUBSCRIBE
messages.
void(* imquic_moq_callbacks::incoming_subscribe_announces) (imquic_connection *conn, imquic_moq_namespace *tns, imquic_moq_auth_info *auth) |
Callback function to be notified about incoming SUBSCRIBE_ANNOUNCES
messages.
void(* imquic_moq_callbacks::incoming_unannounce) (imquic_connection *conn, imquic_moq_namespace *tns) |
Callback function to be notified about incoming UNANNOUNCE
messages.
void(* imquic_moq_callbacks::incoming_unsubscribe) (imquic_connection *conn, uint64_t subscribe_id) |
Callback function to be notified about incoming UNBSUBSCRIBE
messages.
void(* imquic_moq_callbacks::incoming_unsubscribe_announces) (imquic_connection *conn, imquic_moq_namespace *tns) |
Callback function to be notified about incoming UNSUBSCRIBE_ANNOUNCES
messages.
void(* imquic_moq_callbacks::moq_ready) (imquic_connection *conn) |
Callback function to be notified when a MoQ connection is ready (setup performed on both ends)
void(* imquic_moq_callbacks::new_connection) (imquic_connection *conn, void *user_data) |
Callback function to be notified about new moQ connections.
void(* imquic_moq_callbacks::subscribe_accepted) (imquic_connection *conn, uint64_t subscribe_id, uint64_t expires, gboolean descending) |
Callback function to be notified about incoming SUBSCRIBE_ACCEPTED
messages.
void(* imquic_moq_callbacks::subscribe_announces_accepted) (imquic_connection *conn, imquic_moq_namespace *tns) |
Callback function to be notified about incoming SUBSCRIBE_ANNOUNCES_ACCEPTED
messages.
void(* imquic_moq_callbacks::subscribe_announces_error) (imquic_connection *conn, imquic_moq_namespace *tns, int error_code, const char *reason) |
Callback function to be notified about incoming SUBSCRIBE_ANNOUNCES_ERROR
messages.
void(* imquic_moq_callbacks::subscribe_done) (imquic_connection *conn, uint64_t subscribe_id, int status_code, const char *reason) |
Callback function to be notified about incoming SUBSCRIBE_DONE
messages.
void(* imquic_moq_callbacks::subscribe_error) (imquic_connection *conn, uint64_t subscribe_id, int error_code, const char *reason, uint64_t track_alias) |
Callback function to be notified about incoming SUBSCRIBE_ERROR
messages.