In development. Don't use yet this class will change!
More...
|
| ErrorInfo (string error) |
| Creates a new error info object with the given string. Will be replaced later by error codes + custom debug message.
|
|
override string | ToString () |
| Returns complete error information for debugging. Not ment to be shown to the end user.
|
|
|
static readonly string | SERVER_INIT_FAILED_ADDRESS_IN_USE = "Failed to reserve address. Address is already in use" |
| Address is used already.
|
|
static readonly string | CONNECTION_FAILED_ADDRESS_UNKNOWN = "Failed to connect to the given address. Address is not in use." |
| Address not in use.
|
|
static readonly string | SERVER_INIT_FAILED_REQURED_CONNECTION_OFFLINE = "Failed to reserve address. Required network connection is offline." |
| Websocket failed / signaling failed.
|
|
static readonly string | CONNECTION_FAILED_REQURED_CONNECTION_OFFLINE = "Failed to connect. Required network connection is offline." |
| Websocket failed / signaling failed.
|
|
static readonly string | DISCONNECTED_REQURED_CONNECTION_OFFLINE = "Disconnected. Required network connection is offline." |
| Websocket failed / signaling failed.
|
|
static readonly string | SERVER_CLOSED_REQURED_CONNECTION_OFFLINE = "Server closed unexpectedly. No new connections can be accepted. Required network connection is offline." |
| Server was online but the connection got shut down due to external reasons e.g. timeout, disconnect.
|
|
static readonly string | CONNECTION_FAILED_TO_CONNECT_DIRECTLY = "Failed to connect. Failed to establish a direct connection to the other side. A firewall might block the connection." |
| This is almost always firewall related but could also happen if the server just went offline in the moment we tried to connect Could in theory also be caused due to incompatible WebRTC versions.
|
|
static readonly string | INCOMING_CONNECTION_FAILED_TO_CONNECT_DIRECTLY = "An incoming connection attempt failed. " |
| Incoming direct connection failed. Firewall or the user simply stopped the connection before it happened. Could in theory also be caused due to incompatible WebRTC versions.
|
|
static readonly string | CONNECTION_FAILED_DUE_TO_SHUTDOWN = "Failed to connect due to shutdown." |
| Connection failed because Dispose or Shutdown.
|
|
static readonly string | CONNECTION_FAILED_DUE_TO_PEER_CLOSED = "Failed to connect because the peer closed." |
| Indicates the WebRTC peer closed or was destroyed while connecting. This is usually the result of a fatal error within the underlaying implementation e.g. SDP was invalid and couldn't be processed or any other unexpected event. Check the native log to learn more.
|
|
static readonly string | DISCONNECTED_DUE_TO_TIMEOUT = "Disconnected due to timeout" |
| Not yet used. To recognzie the difference between a normal disconnect and a timeout / interruption. This might not be possible to support yet.
|
|
static readonly string | CONFIGURATION_FAILED = "Media configuration failed. Failed to access requested media." |
| Place holder for a subset of errors that aren't returned from WebRTC yet. Possible errors:
|
|
|
string | ErrorMessage [get] |
| Returns a detailed error message for debugging purposes. Not ment to be shown to the end user.
|
|
In development. Don't use yet this class will change!
Later these errors get a proper ErrorInfo object with error codes.
◆ ErrorInfo()
Byn.Awrtc.ErrorInfo.ErrorInfo |
( |
string | error | ) |
|
Creates a new error info object with the given string. Will be replaced later by error codes + custom debug message.
- Parameters
-
◆ ToString()
override string Byn.Awrtc.ErrorInfo.ToString |
( |
| ) |
|
Returns complete error information for debugging. Not ment to be shown to the end user.
- Returns
◆ CONFIGURATION_FAILED
readonly string Byn.Awrtc.ErrorInfo.CONFIGURATION_FAILED = "Media configuration failed. Failed to access requested media." |
|
static |
Place holder for a subset of errors that aren't returned from WebRTC yet. Possible errors:
- video device name requested doesn't exists
- min / max width values are too rigid that all devices were ecluded
- no video device at all (this still continues without error)
The documentation for this class was generated from the following file:
- /Users/christoph/dev/wrtc/main/awrtc/awrtc_cs_common/Byn.Awrtc/ErrorInfo.cs