|
LibQuicR
|
LibQuicR provides client and server APIs for publishing and subscribing to Media over QUIC tracks. quicr::SessionManager owns transports and their quicr::Session objects. Configure a client with quicr::ClientConfig or a server with quicr::ServerConfig, then provide the corresponding session callback implementation.
| Class | Description |
|---|---|
| quicr::SessionManager | Creates transports, owns sessions, and registers track and namespace handlers. |
| quicr::Session | Represents one MoQ protocol session and exposes its current status and operations. |
| quicr::Session::ClientCallbacks | Receives setup and protocol callbacks for a client session. |
| quicr::Session::ServerCallbacks | Receives setup and protocol callbacks for an accepted server session. |
Create a handler for one quicr::FullTrackName and register it with quicr::SessionManager::AddHandler. Override the handler callbacks needed by the application.
| Class | Description |
|---|---|
| quicr::SubscribeTrackHandler | Receives objects and subscription status for a subscribed track. |
| quicr::PublishTrackHandler | Publishes objects and reports publication status for a track. |
See the API Guide for more details and the Examples for complete applications.