Changes between Version 7 and Version 8 of APS


Ignore:
Timestamp:
Feb 12, 2009 3:26:15 PM (15 years ago)
Author:
nanang
Comment:

Added some updates in building steps & developing apps.

Legend:

Unmodified
Added
Removed
Modified
  • APS

    v7 v8  
    2626== Building Steps == 
    2727Here are a few steps to build PJSIP with APS support: 
     28 1. Specify that sound device implementation is using APS, i.e in config_site.h: 
     29 {{{ 
     30#if defined(PJ_SYMBIAN) || PJ_SYMBIAN==1 
     31#   define PJMEDIA_SOUND_IMPLEMENTATION PJMEDIA_SOUND_SYMB_APS_SOUND 
     32#endif 
     33 }}} 
    2834 1. Edit {{{bld.inf}}} and application's .mmp files (e.g: {{{symbian_ua.mmp}}}, {{{symbian_ua_gui.mmp}}}, {{{symsndtest.mmp}}}), and activate {{{SND_USE_APS}}} macro: 
    29 {{{ 
     35 {{{ 
    3036#define SND_USE_NULL    0 
    3137#define SND_USE_APS     1 
    32 }}} 
    33  2. Refresh the makefiles: 
     38#define SND_USE_VAS     0 
     39 }}} 
     40    '''Update''': for trunk version, {{{bld.inf}}} doesn't need to be edited. 
     41 1. Refresh the makefiles: 
    3442    - If you are using Carbide, please refresh the project first (right click '''bld.inf''' from the '''Symbian Project Navigator''' pane, and select '''Refresh'''). '''symbian_audio_aps.mmp''' should be there after the refresh done. 
    3543    - If you are building from command line, use '''bldmake clean''' then '''bldmake bldfiles'''. 
    36  3. Clean and rebuild the whole project. Please note that WINSCW target doesn't seem to support APS. 
    37  4. Make the installer (.sis file) for the application. 
     44 '''Update''': for trunk version, {{{symbian_audio_aps.mmp}}} is no longer used, all symbian audio implementations are bundled in {{{symbian_audio.mmp}}}. 
     45 4. Clean and rebuild the whole project. Please note that WINSCW target doesn't seem to support APS. 
     46 5. Make the installer (.sis file) for the application. 
    3847 
    3948 
    4049== Installation == 
    4150 1. Install APS Server '''apsserver2.sisx''' to device, the installer comes with the APS SDK package i.e in folder '''!InstallToDevice/AudioProxyServer243'''. You will need to do this only once for each device. 
    42  2. Sign the application installer with APS support with '''Developer Certificate using Open Signed Offline/with Publisher ID'''. 
    43  3. Install the application to the device. 
     51 1. Sign the application installer with APS support with '''Developer Certificate using Open Signed Offline/with Publisher ID'''. 
     52 1. Install the application to the device. 
    4453 
    4554 
    4655== Developing Application with APS Support == 
     56 1. Specify application UID in a global variable named '''APP_UID''' whose base type '''TPtrC''', e.g: 
     57 {{{ 
     58TPtrC APP_UID = _L("2000521C"); 
     59 }}} 
     60 1. Link the application to APS library, i.e: 
     61 {{{ 
     62LIBRARY         APSSession2.lib 
     63 }}} 
     64 1. Add MultimediaDD capability to your application, i.e. in application MMP: 
     65 {{{ 
     66CAPABILITY      MultimediaDD ... 
     67 }}} 
     68 
    4769There are some notes for developing application with APS support: 
    4870 - There seems binary compatibility issue among Symbian OS versions, you will have to use appropriate '''SDK API Plug-in''' and '''apsserver2.sisx''' for each OS version. 
     
    5274}}} 
    5375   ('''Update:''' this currently is being resolved by ticket #680) 
    54  - Specify application UID in a global variable named '''APP_UID''' whose base type '''TPtrC''', e.g: 
    55 {{{ 
    56 TPtrC APP_UID = _L("2000521C"); 
    57 }}} 
    58  
    5976 
    6077== Limitations ==