Module: Exceptions

The exception that is emitted when there is a failure detected with the peer connection to the server. Meaning One or more of the ICE transports on the connection is in the failed state. This error is strict and indicates that peer connection will not return to normal state. This exception can also be listened for by attaching a handler for the peer_connection_failed_exception type through the Conference Service.

#include <exception.h>

Inherits from dolbyio::comms::media_engine_exception, dolbyio::comms::conference_exception, dolbyio::comms::exception, exception

Public Functions

peer_connection_failed_exception(const std::string & reason)
The constructor that takes a reason for failure.

Additional inherited members

Public Functions inherited from dolbyio::comms::media_engine_exception

media_engine_exception(const std::string & reason)
media_engine_exception constructor

Public Functions inherited from dolbyio::comms::conference_exception

conference_exception(const std::string & description)
The constructor that takes the exception description.

Public Functions inherited from dolbyio::comms::exception

~exception() =default
const char *what() const override
Overrides to std::exception that returns a description of the exception.
exception(const std::string & description)
The constructor that takes the description of the exception.

Protected Attributes inherited from dolbyio::comms::exception

class dolbyio::comms::peer_connection_failed_exception;

Public Functions Documentation

function peer_connection_failed_exception

inline peer_connection_failed_exception(
    const std::string & reason

The constructor that takes a reason for failure.


  • reason Describes in detail why failure occurred.

Did this page help you?