4 | | You can read about APS [http://wiki.forum.nokia.com/index.php/Audio_Proxy_Server here]. |
5 | | The benefits of enabling APS in PJSIP are: |
6 | | - '''Low latency'''. As mentioned somewhere that PCM frame size in some audio layer is about 4KB (4KB/2/8000Hz * 1000ms = 250ms), this seems to be the source of high latency audio in Symbian, while using APS it is possible to record/play ''encoded'' audio frames with latency only about 30ms! |
7 | | - '''Ability to switch audio-routing (to earpiece or loudspeaker)'''. Using standard API (CMdaAudioOutputStream) the audio is routed to loudspeaker which may not be prefered in a private conversation. While routing audio to earpiece can also avoid echo. |
| 4 | |
| 5 | From [http://wiki.forum.nokia.com/index.php/Audio_Proxy_Server Nokia wiki on APS]: |
| 6 | "Audio Proxy Server (APS) is a wrapper to the Nokia S60 sound device. Its main purpose is to bypass the Vendor ID (VID) related restrictions on S60 3rd Edition and S60 3rd Edition, FP1 platforms, when streaming audio data in 3rd party applications. The component is most suitable for VoIP developers who need to set the appropriate audio priority and preference values in order to utilize full duplex audio. |
| 7 | |
| 8 | APS has some benefits over Audio Streaming API: |
| 9 | - Much lower latency. The Audio Streaming API has few hundreds milliseconds of latency at best, while using APS it is possible to bring down the latency to only about 30ms! |
| 10 | - Ability to switch audio-routing (to earpiece or loudspeaker). Routing to earpiece can also avoid echo. |
12 | | - for [http://www.forum.nokia.com/info/sw.nokia.com/id/53439e01-f605-4491-96f4-62d003bd4c0c/S60_3rd_SDK_MR_API_Plug-In_Pack1.zip.html MR] |
13 | | - for [http://www.forum.nokia.com/info/sw.nokia.com/id/4ff42a22-7099-4cc9-91bf-5e66166bd28d/S60_3rd_SDK_FP1_API_Plug-In_Pack.html FP1] |
14 | | - not sure for FP2, is it included in the FP2 SDK? |
15 | | 2. You may also need [http://www.forum.nokia.com/info/sw.nokia.com/id/48a93bd5-028a-4b3e-a0b1-148ff203b2b3/Extensions_plugin_S60_3rd_ed.exe.html Extensions plug-in for S60 3rd Edition SDK for Symbian OS, for C++, MR] to get '''sounddevice.h'''. |
16 | | 3. '''Developer Certificate using Open Signed Offline/with Publisher ID'''. APS requires '''MultimediaDD''' capability and this capability is among the restricted capabilities, the signing options for applications with restricted capabilities are Open Signed Offline or Certified Signed. Please see [http://www.symbiansigned.com Symbian Signed] for more detail. |
| 15 | - [http://www.forum.nokia.com/info/sw.nokia.com/id/53439e01-f605-4491-96f4-62d003bd4c0c/S60_3rd_SDK_MR_API_Plug-In_Pack1.zip.html APS for MR] |
| 16 | - [http://www.forum.nokia.com/info/sw.nokia.com/id/4ff42a22-7099-4cc9-91bf-5e66166bd28d/S60_3rd_SDK_FP1_API_Plug-In_Pack.html APS for FP1] |
| 17 | - we're not sure how APS should work for FP2 |
| 18 | 2. You may also need [http://www.forum.nokia.com/info/sw.nokia.com/id/48a93bd5-028a-4b3e-a0b1-148ff203b2b3/Extensions_plugin_S60_3rd_ed.exe.html Extensions plug-in for S60 3rd Edition SDK for Symbian OS for C++ MR] to get '''sounddevice.h'''. |
| 19 | 3. You need a '''Symbian Developer Certificate''' of type Open Signed Offline and with valid Publisher ID to install the application that uses APS on the device. APS requires '''MultimediaDD''' capability and this capability is among the restricted capabilities so the application needs to be signed with a valid developer certificate to use the capability. The signing options for applications that need these restricted capabilities are Open Signed Offline or Certified Signed. Please see [http://www.symbiansigned.com Symbian Signed website] for more detail. |