Update contrib.
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
28 Base of the Multimedia Subsystem error code allocation.
30 const TInt KErrMMBase = -12000;
33 // Error codes for the CVideoPlayerUtility API
35 Not enough network bandwidth.
37 const TInt KErrMMNotEnoughBandwidth = KErrMMBase;
40 Error locating network socket services.
42 const TInt KErrMMSocketServiceNotFound = KErrMMBase - 1;
45 An error occurred while reading data from the network.
47 const TInt KErrMMNetworkRead = KErrMMBase - 2;
50 An error occurred while writing data to the network.
52 const TInt KErrMMNetworkWrite = KErrMMBase - 3;
55 Invalid socket error or An error occurred while creating a network socket.
57 const TInt KErrMMServerSocket = KErrMMBase - 4;
60 Streaming Server not supported.
62 const TInt KErrMMServerNotSupported = KErrMMBase - 5;
67 const TInt KErrMMServerAlert = KErrMMBase - 6;
70 Player cannot receive UDP data packets.
72 const TInt KErrMMUDPReceive = KErrMMBase - 7;
75 Network transport not recognized.
77 const TInt KErrMMInvalidProtocol = KErrMMBase - 8;
82 const TInt KErrMMInvalidURL = KErrMMBase - 9;
85 An error occured attempting to join or access multicast session.
87 const TInt KErrMMMulticast = KErrMMBase - 10;
90 Proxy status error, Proxy invalid response error or Invalid hostname for proxy.
92 const TInt KErrMMProxyServer = KErrMMBase - 11;
95 Client cannot support proxy server.
97 const TInt KErrMMProxyServerNotSupported = KErrMMBase - 12;
100 Unable to locate proxy server or Proxy connection could not be established.
102 const TInt KErrMMProxyServerConnect = KErrMMBase - 13;
105 Cannot open audio device, or lost control of audiodevice.
107 const TInt KErrMMAudioDevice = KErrMMBase - 14;
110 Problem blitting video to display.
112 const TInt KErrMMVideoDevice = KErrMMBase - 15;
115 Invalid decoder, decoder not properly initialized, or appropriate decoder could not be found.
117 const TInt KErrMMDecoder = KErrMMBase - 16;
120 Only able to play either the audio or the video portion of the media file. Could be due to a
121 codec that isn't supported, the video frame size being too large etc.
123 const TInt KErrMMPartialPlayback = KErrMMBase - 17;
126 Digital Rights have expired.
128 const TInt KErrMMDRMNotAuthorized = KErrMMBase - 18;
130 //Error codes for Quality of Service
135 const TInt KErrMMQosLowBandwidth = KErrMMBase - 19;
138 Traffic Class not supported.
140 const TInt KErrMMQosUnsupportedTrafficClass = KErrMMBase - 20;
143 Poor or unsufficient Traffic Class.
145 const TInt KErrMMQosPoorTrafficClass = KErrMMBase - 21;
148 Parameters not supported.
150 const TInt KErrMMQosUnsupportedParameters = KErrMMBase - 22;
153 Poor or unsufficient Parameters.
155 const TInt KErrMMQosPoorParameters = KErrMMBase - 23;
160 const TInt KErrMMQosNotSupported = KErrMMBase - 24;