Enum opentok::OtcError [−][src]
pub enum OtcError {
Show 13 variants
InvalidParam(&'static str),
Fatal,
ConnectionDropped,
TimedOut,
UnknownPublisherInstance,
UnknownSubscriberInstance,
VideoCaptureFailed,
CameraFailed,
VideoRenderFailed,
UnableToAccessMediaEngine,
NullError,
AlreadyInitialized(&'static str),
Initialization(&'static str, &'static str),
// some variants omitted
}
Expand description
OpenTok error status codes.
Variants
InvalidParam(&'static str)
An argument used in a function call is not valid
Tuple Fields of InvalidParam
0: &'static str
Generic error
The connection to the OpenTok messaging server was dropped. Check the network connection“
Timeout while performing a connect action
An unknown Publisher instance was used as a function argument
An unknown Subscriber instance was used as a function argument
There was an error with video capturer
There was an error while acquiring video from the camera
There was an error while rendering video
There was an error when trying to get the list of supported video codecs
Unexpected null pointer
AlreadyInitialized(&'static str)
Double initilization error.
Tuple Fields of AlreadyInitialized
0: &'static str
Initialization error.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OtcError
impl UnwindSafe for OtcError
Blanket Implementations
Mutably borrows from an owned value. Read more