sl@0: // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @publishedPartner sl@0: @released sl@0: */ sl@0: sl@0: #ifndef MMFERRORS_H sl@0: #define MMFERRORS_H sl@0: sl@0: #include sl@0: sl@0: /** sl@0: Base of the Multimedia Subsystem error code allocation. sl@0: */ sl@0: const TInt KErrMMBase = -12000; sl@0: sl@0: sl@0: // Error codes for the CVideoPlayerUtility API sl@0: /** sl@0: Not enough network bandwidth. sl@0: */ sl@0: const TInt KErrMMNotEnoughBandwidth = KErrMMBase; sl@0: sl@0: /** sl@0: Error locating network socket services. sl@0: */ sl@0: const TInt KErrMMSocketServiceNotFound = KErrMMBase - 1; sl@0: sl@0: /** sl@0: An error occurred while reading data from the network. sl@0: */ sl@0: const TInt KErrMMNetworkRead = KErrMMBase - 2; sl@0: sl@0: /** sl@0: An error occurred while writing data to the network. sl@0: */ sl@0: const TInt KErrMMNetworkWrite = KErrMMBase - 3; sl@0: sl@0: /** sl@0: Invalid socket error or An error occurred while creating a network socket. sl@0: */ sl@0: const TInt KErrMMServerSocket = KErrMMBase - 4; sl@0: sl@0: /** sl@0: Streaming Server not supported. sl@0: */ sl@0: const TInt KErrMMServerNotSupported = KErrMMBase - 5; sl@0: sl@0: /** sl@0: Server alert. sl@0: */ sl@0: const TInt KErrMMServerAlert = KErrMMBase - 6; sl@0: sl@0: /** sl@0: Player cannot receive UDP data packets. sl@0: */ sl@0: const TInt KErrMMUDPReceive = KErrMMBase - 7; sl@0: sl@0: /** sl@0: Network transport not recognized. sl@0: */ sl@0: const TInt KErrMMInvalidProtocol = KErrMMBase - 8; sl@0: sl@0: /** sl@0: Invalid URL. sl@0: */ sl@0: const TInt KErrMMInvalidURL = KErrMMBase - 9; sl@0: sl@0: /** sl@0: An error occured attempting to join or access multicast session. sl@0: */ sl@0: const TInt KErrMMMulticast = KErrMMBase - 10; sl@0: sl@0: /** sl@0: Proxy status error, Proxy invalid response error or Invalid hostname for proxy. sl@0: */ sl@0: const TInt KErrMMProxyServer = KErrMMBase - 11; sl@0: sl@0: /** sl@0: Client cannot support proxy server. sl@0: */ sl@0: const TInt KErrMMProxyServerNotSupported = KErrMMBase - 12; sl@0: sl@0: /** sl@0: Unable to locate proxy server or Proxy connection could not be established. sl@0: */ sl@0: const TInt KErrMMProxyServerConnect = KErrMMBase - 13; sl@0: sl@0: /** sl@0: Cannot open audio device, or lost control of audiodevice. sl@0: */ sl@0: const TInt KErrMMAudioDevice = KErrMMBase - 14; sl@0: sl@0: /** sl@0: Problem blitting video to display. sl@0: */ sl@0: const TInt KErrMMVideoDevice = KErrMMBase - 15; sl@0: sl@0: /** sl@0: Invalid decoder, decoder not properly initialized, or appropriate decoder could not be found. sl@0: */ sl@0: const TInt KErrMMDecoder = KErrMMBase - 16; sl@0: sl@0: /** sl@0: Only able to play either the audio or the video portion of the media file. Could be due to a sl@0: codec that isn't supported, the video frame size being too large etc. sl@0: */ sl@0: const TInt KErrMMPartialPlayback = KErrMMBase - 17; sl@0: sl@0: /** sl@0: Digital Rights have expired. sl@0: */ sl@0: const TInt KErrMMDRMNotAuthorized = KErrMMBase - 18; sl@0: sl@0: //Error codes for Quality of Service sl@0: sl@0: /** sl@0: Low Bandwidth. sl@0: */ sl@0: const TInt KErrMMQosLowBandwidth = KErrMMBase - 19; sl@0: sl@0: /** sl@0: Traffic Class not supported. sl@0: */ sl@0: const TInt KErrMMQosUnsupportedTrafficClass = KErrMMBase - 20; sl@0: sl@0: /** sl@0: Poor or unsufficient Traffic Class. sl@0: */ sl@0: const TInt KErrMMQosPoorTrafficClass = KErrMMBase - 21; sl@0: sl@0: /** sl@0: Parameters not supported. sl@0: */ sl@0: const TInt KErrMMQosUnsupportedParameters = KErrMMBase - 22; sl@0: sl@0: /** sl@0: Poor or unsufficient Parameters. sl@0: */ sl@0: const TInt KErrMMQosPoorParameters = KErrMMBase - 23; sl@0: sl@0: /** sl@0: Not supported. sl@0: */ sl@0: const TInt KErrMMQosNotSupported = KErrMMBase - 24; sl@0: sl@0: #endif