pub enum RtcPeerConnectionError {
AddIceCandidateFailed(Error),
CreateAnswerFailed(Error),
PeerCreationError(Error),
CreateOfferFailed(Error),
RtcStatsError(RtcStatsError),
GetStatsException(Error),
SetLocalDescriptionFailed(Error),
SetRemoteDescriptionFailed(Error),
UpdateSendEncodingsError(UpdateSendEncodingError),
}Expand description
Errors that may occur during signaling between this and remote RTCPeerConnection and event handlers setting errors.
Variants§
AddIceCandidateFailed(Error)
Occurs when cannot adds new remote candidate to the RTCPeerConnection’s remote description.
CreateAnswerFailed(Error)
Occurs when cannot obtains SDP answer from
the underlying platform::RtcPeerConnection.
PeerCreationError(Error)
Occurs when a new platform::RtcPeerConnection cannot be created.
CreateOfferFailed(Error)
Occurs when cannot obtains SDP offer from
the underlying platform::RtcPeerConnection.
RtcStatsError(RtcStatsError)
Occurs while getting and parsing platform::RtcStats of
platform::RtcPeerConnection.
GetStatsException(Error)
PeerConnection.getStats promise thrown exception.
SetLocalDescriptionFailed(Error)
Occurs if the local description associated with the
platform::RtcPeerConnection cannot be changed.
SetRemoteDescriptionFailed(Error)
Occurs if the description of the remote end of the
platform::RtcPeerConnection cannot be changed.
UpdateSendEncodingsError(UpdateSendEncodingError)
Trait Implementations§
Source§impl Caused for RtcPeerConnectionError
impl Caused for RtcPeerConnectionError
Source§impl Clone for RtcPeerConnectionError
impl Clone for RtcPeerConnectionError
Source§fn clone(&self) -> RtcPeerConnectionError
fn clone(&self) -> RtcPeerConnectionError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more