#[non_exhaustive]pub enum Error {
}Expand description
Errors produced by the WebRTC <-> MoQ gateway.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidSdp(String)
An SDP offer or answer failed to parse or was missing something required.
UnsupportedCodec(String)
The negotiated payload used a codec this gateway can’t bridge to MoQ.
SessionNotFound
No live session matched the resource id (e.g. a DELETE for an unknown id).
SessionClosed
The peer closed the session; the media session ended without a failure.
IceTimeout
ICE connectivity was not established before the establishment deadline.
CatalogTimeout
A broadcast did not produce a catalog before the negotiation deadline.
CatalogClosed
The catalog track closed before publishing its first snapshot.
NoRenditions
The catalog has no rendition this gateway can send over WebRTC.
NoSdpChanges
The WebRTC engine produced no SDP changes for an offer.
Io(Error)
I/O error on the media socket (bind, send, or receive).
Moq(Error)
Error from the underlying moq-net transport.
Mux(Error)
Error from the moq-mux import/export layer bridging RTP and MoQ.
Http(Arc<Error>)
HTTP transport failed while dialing a WHIP or WHEP endpoint.
HttpStatus(u16)
A WHIP or WHEP endpoint rejected the HTTP request.
Rtc(String)
Error from the WebRTC engine (SDP negotiation, DTLS, media state).
RtcInput(String)
Error feeding a received UDP datagram into the WebRTC engine.
BridgeFailed
An internal video bridge could not be initialized.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()