os/mm/mmlibs/mmfw/inc/mmf/common/mmferrors.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 /**
    17  @file
    18  @publishedPartner
    19  @released
    20 */
    21 
    22 #ifndef MMFERRORS_H
    23 #define MMFERRORS_H
    24 
    25 #include <e32base.h>
    26 
    27 /**
    28 Base of the Multimedia Subsystem error code allocation.
    29 */
    30 const TInt KErrMMBase = -12000;
    31 
    32 
    33 // Error codes for the CVideoPlayerUtility API
    34 /**
    35 Not enough network bandwidth.
    36 */
    37 const TInt KErrMMNotEnoughBandwidth = KErrMMBase;
    38 
    39 /**
    40 Error locating network socket services.
    41 */
    42 const TInt KErrMMSocketServiceNotFound = KErrMMBase - 1;	
    43 
    44 /**
    45 An error occurred while reading data from the network.
    46 */
    47 const TInt KErrMMNetworkRead = KErrMMBase - 2;
    48 
    49 /**
    50 An error occurred while writing data to the network.
    51 */
    52 const TInt KErrMMNetworkWrite = KErrMMBase - 3;	
    53 
    54 /**
    55 Invalid socket error or An error occurred while creating a network socket.
    56 */
    57 const TInt KErrMMServerSocket = KErrMMBase - 4;
    58 
    59 /**
    60 Streaming Server not supported.
    61 */
    62 const TInt KErrMMServerNotSupported = KErrMMBase - 5;
    63 
    64 /**
    65 Server alert.
    66 */
    67 const TInt KErrMMServerAlert = KErrMMBase - 6;
    68 
    69 /**
    70 Player cannot receive UDP data packets.
    71 */
    72 const TInt KErrMMUDPReceive = KErrMMBase - 7;
    73 
    74 /**
    75 Network transport not recognized.
    76 */
    77 const TInt KErrMMInvalidProtocol = KErrMMBase - 8;
    78 
    79 /**
    80 Invalid URL.
    81 */
    82 const TInt KErrMMInvalidURL = KErrMMBase - 9;
    83 
    84 /**
    85 An error occured attempting to join or access multicast session.
    86 */
    87 const TInt KErrMMMulticast = KErrMMBase - 10;
    88 
    89 /**
    90 Proxy status error, Proxy invalid response error or Invalid hostname for proxy.
    91 */
    92 const TInt KErrMMProxyServer = KErrMMBase - 11;
    93 
    94 /**
    95 Client cannot support proxy server.
    96 */
    97 const TInt KErrMMProxyServerNotSupported = KErrMMBase - 12;
    98 
    99 /**
   100 Unable to locate proxy server or Proxy connection could not be established.
   101 */
   102 const TInt KErrMMProxyServerConnect = KErrMMBase - 13;
   103 
   104 /**
   105 Cannot open audio device, or lost control of audiodevice.
   106 */
   107 const TInt KErrMMAudioDevice = KErrMMBase - 14;
   108 
   109 /**
   110 Problem blitting video to display.
   111 */
   112 const TInt KErrMMVideoDevice = KErrMMBase - 15;
   113 
   114 /**
   115 Invalid decoder, decoder not properly initialized, or appropriate decoder could not be found.
   116 */
   117 const TInt KErrMMDecoder = KErrMMBase - 16;
   118 
   119 /**
   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.
   122 */
   123 const TInt KErrMMPartialPlayback = KErrMMBase - 17;
   124 
   125 /**
   126 Digital Rights have expired.
   127 */
   128 const TInt KErrMMDRMNotAuthorized = KErrMMBase - 18;
   129 
   130 //Error codes for Quality of Service
   131 
   132 /**
   133 Low Bandwidth.
   134 */
   135 const TInt KErrMMQosLowBandwidth = KErrMMBase - 19;
   136 
   137 /**
   138 Traffic Class not supported.
   139 */
   140 const TInt KErrMMQosUnsupportedTrafficClass = KErrMMBase - 20;
   141 
   142 /**
   143 Poor or unsufficient Traffic Class. 
   144 */
   145 const TInt KErrMMQosPoorTrafficClass = KErrMMBase - 21;
   146 
   147 /**
   148 Parameters not supported.
   149 */
   150 const TInt KErrMMQosUnsupportedParameters = KErrMMBase - 22;
   151 
   152 /**
   153 Poor or unsufficient Parameters.
   154 */
   155 const TInt KErrMMQosPoorParameters = KErrMMBase - 23;
   156 
   157 /**
   158 Not supported.
   159 */
   160 const TInt KErrMMQosNotSupported = KErrMMBase - 24;
   161 
   162 #endif