Android SDK API Reference

Public Attributes | List of all members
io.skyway.Peer.PeerError.PeerErrorEnum Enum Reference

Error type enumerator. More...

Public Attributes

 NO_ERROR
 No error.
 
 BROWSER_INCOMPATIBLE
 Browser incompatible. More...
 
 DISCONNECTED
 Disconnected from signaling server.
 
 INVALID_ID
 Invalid peer ID.
 
 INVALID_KEY
 Invalid key.
 
 NETWORK
 Network problems.
 
 PEER_UNAVAILABLE
 Peer service unavailable.
 
 SSL_UNAVAILABLE
 SSL unavailable.
 
 SERVER_ERROR
 Server error.
 
 SOCKET_ERROR
 socket error. More...
 
 SOCKET_CLOSED
 socket is already closed.
 
 UNAVAILABLE_ID
 Unavailable ID.
 
 WEBRTC
 Native WebRTC errors.
 
 ROOM_ERROR
 Room error. More...
 
 AUTHENTICATION
 Failed to authenticate. More...
 
 SIGNALING_LIMITED
 Signaling-Server is not available because the monthly Signaling-Server usage limit for Community Edition has been exceeded.
 
 SFU_LIMITED
 SFU is not available because the monthly SFU usage limit for Community Edition has been exceeded.
 
 TURN_LIMITED
 TURN is not available because the monthly TURN usage limit for Community Edition has been exceeded.
 
 UNKNOWN
 unknown error
 

Detailed Description

Error type enumerator.

Member Data Documentation

◆ AUTHENTICATION

io.skyway.Peer.PeerError.PeerErrorEnum.AUTHENTICATION

Failed to authenticate.

Expected errors are as follows.

・"timestamp" can\'t be in the future.
・Credential has expired.
・"authToken" has already expired.
・"ttl" is too large. Max value is ${maxTTL}.
・"ttl" is too small. Min value is ${minTTL}.
・"authToken" is invalid.

◆ BROWSER_INCOMPATIBLE

io.skyway.Peer.PeerError.PeerErrorEnum.BROWSER_INCOMPATIBLE

Browser incompatible.

Deprecated:

◆ ROOM_ERROR

io.skyway.Peer.PeerError.PeerErrorEnum.ROOM_ERROR

Room error.

Expected errors are as follows.
・Room name must be defined.
・"${roomName}" is already used as different room type. Please try another room name.
・SFU room functionality is disabled for this apikey.
・An error occurred joining the room. Please wait a while and try again.
・An error occurred getting log messages. Please wait a while and try again.
・An error occurred getting users in the room. Please wait a while and try again.
・An error occurred requesting offer. Please wait a while and try again.
・An error occurred handling answer. Please wait a while and try again.
・A SFU room is only joined up to 1000 times.

◆ SOCKET_ERROR

io.skyway.Peer.PeerError.PeerErrorEnum.SOCKET_ERROR

socket error.

Expected errors are as follows.

・Could not connect to server.
・There was a problem with the request for the dispatcher. Check your peer options and network connections.
・The request for the dispatcher was aborted.
・The request for the dispatcher timed out. Check your firewall, network speed, SkyWay failure information
・Connection failed. Unexpected response: ${http.status}
・The dispatcher server returned an invalid JSON response. have no signaling server domain in JSON.
・The dispatcher server returned an invalid JSON response.