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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __MMFERRORS_H__ |
|
17 #define __MMFERRORS_H__ |
|
18 |
|
19 #include <e32base.h> |
|
20 |
|
21 /** |
|
22 Base of the Multimedia Subsystem error code allocation. |
|
23 */ |
|
24 const TInt KErrMMBase = -12000; |
|
25 |
|
26 |
|
27 // Error codes for the CVideoPlayerUtility API |
|
28 /** |
|
29 Not enough network bandwidth. |
|
30 */ |
|
31 const TInt KErrMMNotEnoughBandwidth = KErrMMBase; |
|
32 |
|
33 /** |
|
34 Error locating network socket services. |
|
35 */ |
|
36 const TInt KErrMMSocketServiceNotFound = KErrMMBase - 1; |
|
37 |
|
38 /** |
|
39 An error occurred while reading data from the network. |
|
40 */ |
|
41 const TInt KErrMMNetworkRead = KErrMMBase - 2; |
|
42 |
|
43 /** |
|
44 An error occurred while writing data to the network. |
|
45 */ |
|
46 const TInt KErrMMNetworkWrite = KErrMMBase - 3; |
|
47 |
|
48 /** |
|
49 Invalid socket error or An error occurred while creating a network socket. |
|
50 */ |
|
51 const TInt KErrMMServerSocket = KErrMMBase - 4; |
|
52 |
|
53 /** |
|
54 Streaming Server not supported. |
|
55 */ |
|
56 const TInt KErrMMServerNotSupported = KErrMMBase - 5; |
|
57 |
|
58 /** |
|
59 Server alert. |
|
60 */ |
|
61 const TInt KErrMMServerAlert = KErrMMBase - 6; |
|
62 |
|
63 /** |
|
64 Player cannot receive UDP data packets. |
|
65 */ |
|
66 const TInt KErrMMUDPReceive = KErrMMBase - 7; |
|
67 |
|
68 /** |
|
69 Network transport not recognized. |
|
70 */ |
|
71 const TInt KErrMMInvalidProtocol = KErrMMBase - 8; |
|
72 |
|
73 /** |
|
74 Invalid URL. |
|
75 */ |
|
76 const TInt KErrMMInvalidURL = KErrMMBase - 9; |
|
77 |
|
78 /** |
|
79 An error occured attempting to join or access multicast session. |
|
80 */ |
|
81 const TInt KErrMMMulticast = KErrMMBase - 10; |
|
82 |
|
83 /** |
|
84 Proxy status error, Proxy invalid response error or Invalid hostname for proxy. |
|
85 */ |
|
86 const TInt KErrMMProxyServer = KErrMMBase - 11; |
|
87 |
|
88 /** |
|
89 Client cannot support proxy server. |
|
90 */ |
|
91 const TInt KErrMMProxyServerNotSupported = KErrMMBase - 12; |
|
92 |
|
93 /** |
|
94 Unable to locate proxy server or Proxy connection could not be established. |
|
95 */ |
|
96 const TInt KErrMMProxyServerConnect = KErrMMBase - 13; |
|
97 |
|
98 /** |
|
99 Cannot open audio device, or lost control of audiodevice. |
|
100 */ |
|
101 const TInt KErrMMAudioDevice = KErrMMBase - 14; |
|
102 |
|
103 /** |
|
104 Problem blitting video to display. |
|
105 */ |
|
106 const TInt KErrMMVideoDevice = KErrMMBase - 15; |
|
107 |
|
108 /** |
|
109 Invalid decoder, decoder not properly initialized, or appropriate decoder could not be found. |
|
110 */ |
|
111 const TInt KErrMMDecoder = KErrMMBase - 16; |
|
112 |
|
113 /** |
|
114 Only able to play either the audio or the video portion of the media file. Could be due to a |
|
115 codec that isn't supported, the video frame size being too large etc. |
|
116 */ |
|
117 const TInt KErrMMPartialPlayback = KErrMMBase - 17; |
|
118 |
|
119 /** |
|
120 Digital Rights have expired. |
|
121 */ |
|
122 const TInt KErrMMDRMNotAuthorized = KErrMMBase - 18; |
|
123 |
|
124 //Error codes for Quality of Service |
|
125 |
|
126 /** |
|
127 Low Bandwidth. |
|
128 */ |
|
129 const TInt KErrMMQosLowBandwidth = KErrMMBase - 19; |
|
130 |
|
131 /** |
|
132 Traffic Class not supported. |
|
133 */ |
|
134 const TInt KErrMMQosUnsupportedTrafficClass = KErrMMBase - 20; |
|
135 |
|
136 /** |
|
137 Poor or unsufficient Traffic Class. |
|
138 */ |
|
139 const TInt KErrMMQosPoorTrafficClass = KErrMMBase - 21; |
|
140 |
|
141 /** |
|
142 Parameters not supported. |
|
143 */ |
|
144 const TInt KErrMMQosUnsupportedParameters = KErrMMBase - 22; |
|
145 |
|
146 /** |
|
147 Poor or unsufficient Parameters. |
|
148 */ |
|
149 const TInt KErrMMQosPoorParameters = KErrMMBase - 23; |
|
150 |
|
151 /** |
|
152 Not supported. |
|
153 */ |
|
154 const TInt KErrMMQosNotSupported = KErrMMBase - 24; |
|
155 |
|
156 #endif |
|