mmsharing/mmshavailability/inc/musavacapability.h
branchRCL_3
changeset 22 73a1feb507fb
parent 0 f0cf47e981f9
child 23 bc78a40cd63c
equal deleted inserted replaced
21:33a5d2bbf6fc 22:73a1feb507fb
    23 #include <e32base.h>    // CBase
    23 #include <e32base.h>    // CBase
    24 #include <sdpcodecstringconstants.h>
    24 #include <sdpcodecstringconstants.h>
    25 #include <sdpcodecstringpool.h>
    25 #include <sdpcodecstringpool.h>
    26 #include <badesca.h>
    26 #include <badesca.h>
    27 #include "musunittesting.h"
    27 #include "musunittesting.h"
    28 
    28 #include "mussettingskeys.h"
    29 
    29 
    30 class CMusAvaCapabilityExchange;
    30 class CMusAvaCapabilityExchange;
    31 class CSIPServerTransaction;
    31 class CSIPServerTransaction;
    32 class CSIPHeaderBase;
    32 class CSIPHeaderBase;
    33 class CSdpDocument;
    33 class CSdpDocument;
    45 _LIT8( KCapabilitySDPAttributeType, "videolive");
    45 _LIT8( KCapabilitySDPAttributeType, "videolive");
    46 _LIT8( KCapabilitySDPAttributeCodecH263, "H263-2000" );
    46 _LIT8( KCapabilitySDPAttributeCodecH263, "H263-2000" );
    47 _LIT8( KCapabilitySwisFormatList, "98 96" );
    47 _LIT8( KCapabilitySwisFormatList, "98 96" );
    48 _LIT8( KCapabilitySwisFormatListH263Only, "96" );
    48 _LIT8( KCapabilitySwisFormatListH263Only, "96" );
    49 _LIT8( KCapabilitySDPAttributeCodecH264, "H264" );
    49 _LIT8( KCapabilitySDPAttributeCodecH264, "H264" );
       
    50 _LIT8( KCapabilitySDPAttributeFastMode, "fastmode" ); //a=keywds:fastmode, see RFC 4566
    50 
    51 
    51 const TUint64 KCapabilitySDPAttributeClockrate = 90000;
    52 const TUint64 KCapabilitySDPAttributeClockrate = 90000;
    52 const TUint64 KCapabilitySDPAttributePayloadType = 96;
    53 const TUint64 KCapabilitySDPAttributePayloadType = 96;
    53 const TUint64 KCapabilitySDPAttributePayloadTypeH264 = 98;
    54 const TUint64 KCapabilitySDPAttributePayloadTypeH264 = 98;
    54 
    55 
   167      * @return the attribute
   168      * @return the attribute
   168      */
   169      */
   169     static const CSdpAttributeField* Attribute( const RStringF& aMedia,
   170     static const CSdpAttributeField* Attribute( const RStringF& aMedia,
   170                                         const RStringF& aAttribute,
   171                                         const RStringF& aAttribute,
   171                                         CSdpDocument& aSDP );
   172                                         CSdpDocument& aSDP );
       
   173     
       
   174     /**
       
   175      * Finds fast mode value from the SDP document
       
   176      */
       
   177     static MusSettingsKeys::TFastMode ResolveFastModeL( CSdpDocument& aSdp );
       
   178     
       
   179     /**
       
   180      * Add fast mode related attribute to SDP, if fast mode is supported
       
   181      */
       
   182     static void AddFastModeL( CSdpDocument& aSdp );
       
   183     
       
   184     
   172 public://new functions
   185 public://new functions
   173 
   186 
   174     /**
   187     /**
   175     * Adds contact header to response of query
   188     * Adds contact header to response of query
   176     *
   189     *