FMIceLinkErrorCode Constants Reference

Declared in FMIceLinkErrorCode.h

FMIceLinkErrorCode

Error codes are six digit values, where the first three digits indicate component, while the remaining three digits particular problem with the component.

Definition

typedef NS_ENUM(NSInteger, FMIceLinkErrorCode ) {
   FMIceLinkErrorCodeSocketSendError = 100000,
   FMIceLinkErrorCodeSocketReceiveError = 100001,
   FMIceLinkErrorCodeSocketClosed = 100002,
   FMIceLinkErrorCodeSocketSendBufferFull = 100003,
   FMIceLinkErrorCodeStunTryAlternate = 114000,
   FMIceLinkErrorCodeStunBadRequest = 114001,
   FMIceLinkErrorCodeStunUnauthorized = 114002,
   FMIceLinkErrorCodeStunTurnForbidden = 114003,
   FMIceLinkErrorCodeStunTurnMobilityForbidden = 114004,
   FMIceLinkErrorCodeStunUnknownAttribute = 114005,
   FMIceLinkErrorCodeStunStaleCredentials = 114006,
   FMIceLinkErrorCodeStunIntegrityCheckFailure = 114007,
   FMIceLinkErrorCodeStunMissingUsername = 114008,
   FMIceLinkErrorCodeStunTurnAllocationMismatch = 114009,
   FMIceLinkErrorCodeStunStaleNonce = 114010,
   FMIceLinkErrorCodeStunAddressFamilyNotSupported = 114011,
   FMIceLinkErrorCodeStunTurnWrongCredentials = 114012,
   FMIceLinkErrorCodeStunTurnUnsupportedTransportProtocol = 114013,
   FMIceLinkErrorCodeStunTurnPeerAddressFamilyMismatch = 114014,
   FMIceLinkErrorCodeStunTurnConnectionAlreadyExists = 114015,
   FMIceLinkErrorCodeStunTurnConnectionTimeoutOrFailure = 114016,
   FMIceLinkErrorCodeStunTurnAllocationQuotaReached = 114017,
   FMIceLinkErrorCodeStunIceRoleConflict = 114018,
   FMIceLinkErrorCodeStunServerError = 114019,
   FMIceLinkErrorCodeStunTurnInsufficientCapacity = 114020,
   FMIceLinkErrorCodeStunInvalidResponseType = 114021,
   FMIceLinkErrorCodeStunInvalidErrorCode = 114022,
   FMIceLinkErrorCodeStunInvalidTransactionId = 114023,
   FMIceLinkErrorCodeStunUnknownStunErrorCode = 114024,
   FMIceLinkErrorCodeStunInvalidMessageIntegrity = 114025,
   FMIceLinkErrorCodeSocketIPError = 115001,
   FMIceLinkErrorCodeIceLocalRelayedDatagramCandidateError = 101000,
   FMIceLinkErrorCodeIceLocalServerReflexiveCandidateError = 101001,
   FMIceLinkErrorCodeIceStartError = 102000,
   FMIceLinkErrorCodeIceUnsuitableSocketAssignment = 102001,
   FMIceLinkErrorCodeIceAllPortsInUse = 102002,
   FMIceLinkErrorCodeIceLocalAddressUnavailable = 102003,
   FMIceLinkErrorCodeIceGenericGathererError = 102004,
   FMIceLinkErrorCodeIceRefreshTimeout = 103000,
   FMIceLinkErrorCodeIceRefreshError = 103001,
   FMIceLinkErrorCodeIceCreatePermissionTimeout = 104000,
   FMIceLinkErrorCodeIceCreatePermissionError = 104001,
   FMIceLinkErrorCodeIceSendError = 105000,
   FMIceLinkErrorCodeIcePeerReflexiveError = 105001,
   FMIceLinkErrorCodeIncompatibleIceSetup = 105002,
   FMIceLinkErrorCodeDtlsInternalError = 106000,
   FMIceLinkErrorCodeDtlsKeyExchangeFailed = 106001,
   FMIceLinkErrorCodeDtlsNotReady = 106002,
   FMIceLinkErrorCodeSctpNoPayloadData = 107000,
   FMIceLinkErrorCodeSctpUnsupportedStream = 107001,
   FMIceLinkErrorCodeSctpInvalidState = 107002,
   FMIceLinkErrorCodeSctpInternalError = 107003,
   FMIceLinkErrorCodeMediaTransportFailed = 108000,
   FMIceLinkErrorCodeReliableDataChannelOpenError = 109000,
   FMIceLinkErrorCodeReliableDataChannelSendError = 109001,
   FMIceLinkErrorCodeConnectionInvalidArchitecture = 110000,
   FMIceLinkErrorCodeConnectionInternalError = 110001,
   FMIceLinkErrorCodeConnectionTransportStartError = 110002,
   FMIceLinkErrorCodeConnectionTransportClosed = 110003,
   FMIceLinkErrorCodeConnectionDeadStream = 110004,
   FMIceLinkErrorCodeConnectionNotEstablished = 110005,
   FMIceLinkErrorCodeStreamDisabled = 111000,
   FMIceLinkErrorCodeStreamEncryptionMismatch = 111001,
   FMIceLinkErrorCodeStreamDirectionMismatch = 111002,
   FMIceLinkErrorCodeDataStreamDirectionCannotBeChanged = 111003,
   FMIceLinkErrorCodeInvalidStreamDirectionChange = 111004,
   FMIceLinkErrorCodeLocalDescriptionError = 112000,
   FMIceLinkErrorCodeRemoteDescriptionError = 112001,
   FMIceLinkErrorCodeIceLocalRelayedStreamCandidateError = 113000,
   FMIceLinkErrorCodeIceInvalidServerAssignmentError = 113001,
};

Constants

FMIceLinkErrorCodeSocketSendError
Indicates that the socket encountered an error while sending.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeSocketReceiveError
Indicates that the socket encountered an error while receiving.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeSocketClosed
Indicates that the socket is closed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeSocketSendBufferFull
Indicates that the socket's send buffer is full.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunTryAlternate
300 Try Alternate. RFC5389. Indicates that a server using this extension redirects a client to another server by replying to a request message with an error response message with an error code of 300 (Try Alternate). The server MUST include an ALTERNATE-SERVER attribute in the error response. The error response message MAY be authenticated; however, there are uses cases for ALTERNATE-SERVER where authentication of the response is not possible or practical.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunBadRequest
400 Bad Request. RFC5389. Idicates that the original request was malformed. The client SHOULD NOT retry the request without modification from the previous attempt. The server may not be able to generate a valid MESSAGE-INTEGRITY for this error, so the client MUST NOT expect a valid MESSAGE-INTEGRITY attribute on this response.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunUnauthorized
401 Unauthorized. RFC5389. Indicates that the request did not contain the correct credentials to proceed. The client should retry the request with proper credentials.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunTurnForbidden
403 Forbidden. RFC 5766. Indicates that the request is valid, but the server is refusing to perform it, likely due to administrative restrictions. The client considers the current transaction as having failed. The client MAY notify the user or operator and SHOULD NOT retry the same request with this server until it believes the problem has been fixed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunTurnMobilityForbidden
405 Mobility Forbidden. RFC 8016. Indicates that the request is valid, but the server is refusing to perform it, likely due to administrative restrictions. The client considers the current transaction as having failed. The client can notify the user or operator. The client SHOULD NOT retry sending the Allocate request containing the MOBILITY-TICKET with this server until it believes the problem has been fixed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunUnknownAttribute
420 Unknown Attribute. RFC5389. Indicates that the server received a STUN packet containing a comprehension-required attribute that it did not understand. The server MUST put this unknown attribute in the UNKNOWN-ATTRIBUTE attribute of its error response.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunStaleCredentials
430 Stale credentials; the shared secret sent in the request is expired; the client should obtain a new shared secret.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunIntegrityCheckFailure
431 Integrity Check Failure.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunMissingUsername
432 Missing Username; the username attribute is not present in the request.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunTurnAllocationMismatch
437 Allocation Mismatch. RFC 5766. This indicates that the client has picked a 5-tuple that the server sees as already in use. One way this could happen is if an intervening NAT assigned a mapped transport address that was used by another client that recently crashed. The client considers the current transaction as having failed. The client SHOULD pick another client transport address and retry the Allocate request (using a different transaction id). The client SHOULD try three different client transport addresses before giving up on this server.Once the client gives up on the server, it SHOULD NOT try to create another allocation on the server for 2 minutes.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunStaleNonce
438 Stale Nonce. RFC5389. Indicates that the NONCE used by the client was no longer valid. The client should retry, using the NONCE provided in the response.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunAddressFamilyNotSupported
440 Address Family Not Supported. RFC 6156. Indicates that the server does not support the address family requested by the client.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunTurnWrongCredentials
441 Wrong Credentials. RFC 5766. Indicates that wrong credential were used by the client. The client should not receive this error in response to an Allocate request. The client MAY notify the user or operator and SHOULD NOT retry the same request with this server until it believes the problem has been fixed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunTurnUnsupportedTransportProtocol
442 Unsupported Transport Protocol. The client should not receive this error in response to a request for a UDP allocation. The client MAY notify the user or operator and SHOULD NOT reattempt the request with this server until it believes the problem has been fixed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunTurnPeerAddressFamilyMismatch
443 Peer Address Family Mismatch. A peer address was of a different address family than that of the relayed transport address of the allocation.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunTurnConnectionAlreadyExists
446 Connection Already exists. This indicates that either 1) the server is currently processing a Connect request for this allocation with the same XOR-PEER-ADDRESS; OR 2) the server has already successfully processed a Connect request for this allocation with the same XOR-PEER-ADDRESS, and the resulting client and peer data connections are either pending or active

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunTurnConnectionTimeoutOrFailure
447 Connection Timeout or Failure. This indicates that the TURN server was unable to connect to the peer. The client MAY retry with the same XOR-PEER-ADDRESS attribute, but MUST wait at least 10 seconds.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunTurnAllocationQuotaReached
486 Allocation Quota Reached. The server is currently unable to create any more allocations with this username. The client considers the current transaction as having failed. The client SHOULD wait at least 1 minute before trying to create any more allocations on the server.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunIceRoleConflict
487 Role Conflict. The Binding request contained either the ICE-CONTROLLING or ICE-CONTROLLED attribute, indicating a role that conflicted with the server. The server ran a tie-breaker based on the tie-breaker value in the request and determined that the client needs to switch roles.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunServerError
500 Server Error. RFC5389. Indicates that the server has suffered a temporary error. The client should try again.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunTurnInsufficientCapacity
508 Insufficient Capacity. The server has no more relayed transport addresses available, or has none with the requested properties, or the one that was reserved is no longer available. The client considers the current operation as having failed. If the client is using either the EVEN-PORT or the RESERVATION-TOKEN attribute, then the client MAY choose to remove or modify this attribute and try again immediately. Otherwise, the client SHOULD wait at least 1 minute before trying to create any more allocations on this server.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunInvalidResponseType
Indicates Invalid Response Type, where message type obtained in reponse to a request is of unexpected type.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunInvalidErrorCode
Indicates that a failed response does not contain an error code or when the error code is inconsistent with the contents of the response.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunInvalidTransactionId
Indicates Invalid Stun Transaction Id

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunUnknownStunErrorCode
Indicates Unknown Stun Error Code

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStunInvalidMessageIntegrity
Indicates Invalid Stun Message Integrity

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeSocketIPError
Indicates that the stream socket ip is invalid, remote server ip is invalid or there is a mimatch in the the ip of the socket and the remote server ip version

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceLocalRelayedDatagramCandidateError
Indicates the local relayed candidate could not be processed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceLocalServerReflexiveCandidateError
Indicates the local server reflexive could not be processed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceStartError
Indicates that the ICE gatherer could not be started.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceUnsuitableSocketAssignment
Indicates that RTCP datagram sockets were assigned incorrectly after the gatherer was started.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceAllPortsInUse
Indicates that all ports are in use.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceLocalAddressUnavailable
Indicates that no local addresses were found.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceGenericGathererError
Indicates that an Ice Gatherer error occurred.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceRefreshTimeout
Indicates that the relayed candidate refresh request timed out.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceRefreshError
Indicates that the relayed candidate refresh request failed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceCreatePermissionTimeout
Indicates that the candidate pair create-permission request timed out.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceCreatePermissionError
Indicates that the candidate pair create-permission request failed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceSendError
Indicates that the ICE transport encountered an error while sending.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIcePeerReflexiveError
Indicates that the ICE transport encountered a problem creating a peer reflexive candidate.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIncompatibleIceSetup
Indicates that the IcePolicy requirements are not supported by the remote client.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeDtlsInternalError
Indicates that an internal DTLS error occurred.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeDtlsKeyExchangeFailed
Indicates that the DTLS key exchange failed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeDtlsNotReady
Indicates that a DTLS message was received before the DTLS endpoint was ready.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeSctpNoPayloadData
Indicates that an SCTP message had no payload data.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeSctpUnsupportedStream
Indicates that an attempt was made to send data on an unsupported stream.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeSctpInvalidState
Indicates that an operation was attempted while in a state that doesn't allow it.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeSctpInternalError
Indicates that an internal SCTP error occurred.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeMediaTransportFailed
Indicates the media transport failed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeReliableDataChannelOpenError
Indicates that the reliable data channel encountered an error while opening.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeReliableDataChannelSendError
Indicates that the reliable data channel encountered an error while sending.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeConnectionInvalidArchitecture
Indicates that the connection architecture is invalid.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeConnectionInternalError
Indicates that an internal connection error occurred.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeConnectionTransportStartError
Indicates that the connection's inner transport could not be started.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeConnectionTransportClosed
Indicates that the connection's inner transport is closed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeConnectionDeadStream
Indicates that a connection has failed connectivity checks for an extended period.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeConnectionNotEstablished
Indicates that a connection has not been established within allocated timeframe.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStreamDisabled
Indicates that the stream was disabled.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStreamEncryptionMismatch
Indicates that the local and remote stream encryption modes are not compatible.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeStreamDirectionMismatch
Indicates that the local and remote stream directions are not compatible.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeDataStreamDirectionCannotBeChanged
Indicates that an attempt was made to modify Data Stream direction; however, this is not allowed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeInvalidStreamDirectionChange
Indicates that a Media Stream direction change attempt was made; however, new direction setting is not supported by the existing stream capabilities (inputs or outpus are missing).

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeLocalDescriptionError
Indicates that an error was encountered while processing the local description.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeRemoteDescriptionError
Indicates that an error was encountered while processing the remote description.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceLocalRelayedStreamCandidateError
Indicates the local relayed candidate could not be processed.

Declared In FMIceLinkErrorCode.h.

FMIceLinkErrorCodeIceInvalidServerAssignmentError
Indicates the supplied Turn relay server is invalid or not resolved

Declared In FMIceLinkErrorCode.h.

Declared In

FMIceLinkErrorCode.h