List Info

Thread: CR: Connection with server lost displays "General Error" on Symbian




CR: Connection with server lost displays "General Error" on Symbian
user name
2008-02-19 15:21:24

        "Nokia submits this code under the terms of a commercial contribution agreement with RealNetworks, and I am authorized to contribute this code under said agreement."

         
        Modified by:  ext-anuj.dhamijanokia.com
         
        Reviewed by:
         
        Date: 02/19/2008
         
        Project: SymbianMmf_rel
         
        Synopsis: Disconnect from sever results in displaying "General Error"; on Helix Media Player.

        Overview:
        When connection with server is lost while playing video in Real Player, Error Code (80041936) HXR_SE_INTERNAL_ERROR is received at Controller which is currently not mapped to any symbian error codes and so KErrGeneral is returned to UI.

        Fix:
        HXR_SE_INTERNAL_ERROR implies that connection to Server is lost due to some problem with server. Return suitable error code to reflect Disconnection with server. Map HXR_SE_INTERNAL_ERROR to KErrDisconnected in MmfStatusMap in Hxmmfbasectrl.cpp

        Files modified & changes:
        clientappssymbianMmfcommonHxmmfbasectrl.h

        Image Size and Heap Use impact: None

        Module Release testing (STIF, Audio) : Passed

        Test case(s) Added ; : No

        Memory leak check performed : Passed, No leaks found
         
        Platforms and Profiles Build Verified: helix-client-s60-32-mmf-mdf-arm

        Platforms and Profiles Functionality verified: armv5
         
        Branch: Head & 210CayS


        Index: hxmmfbasectrl.cpp
        ===================================================================
        RCS file: /cvsroot/clientapps/symbianMmf/common/hxmmfbasectrl.cpp,v
        retrieving revision 1.1.2.35
        diff -u -w -r1.1.2.35 hxmmfbasectrl.cpp
        --- hxmmfbasectrl.cpp   7 Dec 2007 20:22:24 -0000 ;      1.1.2.35
        +++ hxmmfbasectrl.cpp   19 Feb 2008 20:19:15 -0000
        -201,7 +201,8
             { HXR_PE_SERVICE_UNAVAILABLE, ;      KErrMMInvalidProtocol  ;  },  //503
             { HXR_PE_GATEWAY_TIMEOUT,         ;  KErrMMInvalidProtocol  ;  },  //504
             { HXR_PE_RTSP_VERSION_NOT_SUPPORTED,         ;   KErrMMInvalidProtocol },  //505
        -    { HXR_PE_OPTION_NOT_SUPPORTED,      KErrMMInvalidProtocol  ;  }  //510
        +    { HXR_PE_OPTION_NOT_SUPPORTED,      KErrMMInvalidProtocol  ;  },  //510
        +    { HXR_SE_INTERNAL_ERROR  ,         ; KErrDisconnected ;        } //Server Internal Error -- RTSP Alert 52
         };

         static const int NumMmfStatus = sizeof(MmfStatusMap)/sizeof(HXMMFStatus);

         
        ------------
        thnx & regds
        AD             



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )