HMSErrorCode

ENUM

@objc public enum HMSErrorCode: Int

Cases

websocketGenericError

case websocketGenericError = 1000

websocketConnectionLost

case websocketConnectionLost = 1003

initServerError

case initServerError = 2000

initHTTPConnectionLost

case initHTTPConnectionLost = 2001

initHTTPErrorBadRequest

case initHTTPErrorBadRequest = 2400

initHTTPErrorInvalidEndpointURL

case initHTTPErrorInvalidEndpointURL = 2002

initHTTPErrorEndpointUnreachable

case initHTTPErrorEndpointUnreachable = 2003

tracksErrorGeneric

case tracksErrorGeneric = 3000

tracksErrorCantAccessCaptureDevice

case tracksErrorCantAccessCaptureDevice = 3001

tracksErrorDeviceNotAvailable

case tracksErrorDeviceNotAvailable = 3002

tracksErrorDeviceInUse

case tracksErrorDeviceInUse = 3003

tracksErrorPeerConnectionFactoryDisposed

case tracksErrorPeerConnectionFactoryDisposed = 3004

tracksErrorNothingToReturn

case tracksErrorNothingToReturn = 3005

tracksErrorInvalidVideoSettings

case tracksErrorInvalidVideoSettings = 3006

tracksErrorCodecChangeNotPermitted

case tracksErrorCodecChangeNotPermitted = 3007

tracksErrorAudioVideoSubsystemFailure

case tracksErrorAudioVideoSubsystemFailure = 3008

tracksErrorAudioShouldBeSilenced

case tracksErrorAudioShouldBeSilenced = 3009

webrtcErrorCreateOfferFailed

case webrtcErrorCreateOfferFailed = 4001

webrtcErrorCreateAnswerFailed

case webrtcErrorCreateAnswerFailed = 4002

webrtcErrorSetLocalDescriptionFailed

case webrtcErrorSetLocalDescriptionFailed = 4003

webrtcErrorSetRemoteDescriptionFailed

case webrtcErrorSetRemoteDescriptionFailed = 4004

webrtcErrorICEFailure

case webrtcErrorICEFailure = 4005

joinErrorServer

case joinErrorServer = 5000

joinErrorAlreadyJoined

case joinErrorAlreadyJoined = 5001

genericErrorNotConnected

case genericErrorNotConnected = 6000

genericErrorSignalling

case genericErrorSignalling = 6001

genericErrorUnknown

case genericErrorUnknown = 6002

genericErrorNotReady

case genericErrorNotReady = 6003

genericErrorJsonParsingFailed

case genericErrorJsonParsingFailed = 6004

genericErrorTrackMetadataMissing

case genericErrorTrackMetadataMissing = 6005

genericErrorRTCTrackMissing

case genericErrorRTCTrackMissing = 6006

genericErrorPeerMetadataMissing

case genericErrorPeerMetadataMissing = 6007

eerMetadataMissing = 6007