宣言された場所 OTError.h

OTSubscriberErrorCode

によって使用されるエラーコード値の列挙 [OTSubscriberKitDelegate subscriber:didFailWithError:].

定義

typedef NS_ENUM(int32_t, OTSubscriberErrorCode ) {    OTSubscriberSuccess = 0,    OTConnectionTimedOut = 1542,    OTSubscriberSessionDisconnected = 1010,    OTSubscriberWebRTCError = 1600,    OTSubscriberServerCannotFindStream = 1604,    OTSubscriberStreamLimitExceeded = 1605,    OTSubscriberInternalError = 2000,    OTSubsriberPeerConnectionNotConnected = 1606,    OTSubscriberDecryptionInternalError = 6002,    EncryptionSecretMismatch = 6003,    DecryptionUnsupportedCodec = 6006, };

定数

OTSubscriberSuccess : 無視してください。内部で使用されます。

Declared In `OTError.h`.

OTConnectionTimedOut : ストリームへの接続を試みた際、サブスクライバーのタイムアウトが発生しました。 再度サブスクライブしてみてください。

Declared In `OTError.h`.

OTSubscriberSessionDisconnected : クライアントがセッションから切断されたため、サブスクライバーまたはキャプションの処理に失敗しました。 :

Declared In `OTError.h`.

OTSubscriberWebRTCError : WebRTCのエラーにより、加入者の接続に失敗しました。詳細については、 エラーの説明をご確認ください。

Declared In `OTError.h`.

OTSubscriberServerCannotFindStream : ストリームが存在しないため、サブスクライバーの作成に失敗しました。これは、 サブスクライバーが作成されたのと同時に、ストリームが セッションから削除された場合に発生することがあります(例: [OTSession の公開解除:エラー:]).

Declared In `OTError.h`.

OTSubscriberStreamLimitExceeded : クライアントは、同時ストリーム数の制限を超過しているセッション内で、 ストリームの購読を試みました。

Declared In `OTError.h`.

OTSubscriberInternalError : OTSubscriber が内部エラーにより失敗しました。

Declared In `OTError.h`.

OTSubsriberPeerConnectionNotConnected : ピア接続はまだ作成されていません、または接続されていません。

Declared In `OTError.h`.

OTSubscriberDecryptionInternalError : パケットの復号中に内部エラーが発生しました

Declared In `OTError.h`.

EncryptionSecretMismatch : パケットの復号中に発生したシークレットの不一致

Declared In `OTError.h`.

DecryptionUnsupportedCodec : 復号化に対応していないメディアコーデックです

Declared In `OTError.h`.

登録地

OTError.h