media/webrtc/signaling/src/media-conduit/MediaConduitErrors.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rwxr-xr-x

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
michael@0 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5
michael@0 6 #ifndef MEDIA_SESSION_ERRORS_H_
michael@0 7 #define MEDIA_SESSION_ERRORS_H_
michael@0 8
michael@0 9 namespace mozilla
michael@0 10 {
michael@0 11 enum MediaConduitErrorCode
michael@0 12 {
michael@0 13 kMediaConduitNoError = 0, // 0 for Success,greater than 0 imples error
michael@0 14 kMediaConduitSessionNotInited = 10100, // Session not initialized.10100 serves as
michael@0 15 // base for the conduit errors
michael@0 16 kMediaConduitMalformedArgument, // Malformed input to Conduit API
michael@0 17 kMediaConduitCaptureError, // WebRTC capture APIs failed
michael@0 18 kMediaConduitInvalidSendCodec, // Wrong Send codec
michael@0 19 kMediaConduitInvalidReceiveCodec, // Wrong Recv Codec
michael@0 20 kMediaConduitCodecInUse, // Already applied Codec
michael@0 21 kMediaConduitInvalidRenderer, // Null or Wrong Renderer object
michael@0 22 kMediaConduitRendererFail, // Add Render called multiple times
michael@0 23 kMediaConduitSendingAlready, // Engine already trasmitting
michael@0 24 kMediaConduitReceivingAlready, // Engine already receiving
michael@0 25 kMediaConduitTransportRegistrationFail,// Null or wrong transport interface
michael@0 26 kMediaConduitInvalidTransport, // Null or wrong transport interface
michael@0 27 kMediaConduitChannelError, // Configuration Error
michael@0 28 kMediaConduitSocketError, // Media Engine transport socket error
michael@0 29 kMediaConduitRTPRTCPModuleError, // Couldn't start RTP/RTCP processing
michael@0 30 kMediaConduitRTPProcessingFailed, // Processing incoming RTP frame failed
michael@0 31 kMediaConduitUnknownError, // More information can be found in logs
michael@0 32 kMediaConduitExternalRecordingError, // Couldn't start external recording
michael@0 33 kMediaConduitRecordingError, // Runtime recording error
michael@0 34 kMediaConduitExternalPlayoutError, // Couldn't start external playout
michael@0 35 kMediaConduitPlayoutError, // Runtime playout error
michael@0 36 kMediaConduitMTUError, // Can't set MTU
michael@0 37 kMediaConduitRTCPStatusError, // Can't set RTCP mode
michael@0 38 kMediaConduitKeyFrameRequestError, // Can't set KeyFrameRequest mode
michael@0 39 kMediaConduitNACKStatusError // Can't set NACK mode
michael@0 40 };
michael@0 41
michael@0 42 }
michael@0 43
michael@0 44 #endif
michael@0 45

mercurial