TURN LOUDSPEAKER OFF! Pjsip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks ,
srivastan

  I had done all the changes suggested by you and when i install the sis
file with chance ie,
   #define SND_USE_APS    1 . it is not opening the application but if i
use  #define SND_USE_APS    o
 application . It shows system error -1 . i had cleaned the project also


regards
vivek


On Wed, May 6, 2009 at 11:23 AM, Srivatsan Deenadayalan <
srivatsan at ongobiz.com> wrote:

>  You need to download SDK plugin first using the link already given. Then
> extract  MMFDevSoundAPI.ZIP found to SDK root directory. This will solve
> your problem.
>
>
> vivek shrivastava wrote:
>
>   Hello
> srivastan,
> done the things in the prescribed way but i am getting two error
>
> SoundDevice.h file not found and
>
> Settings.iSettings.iChannels
>>
>>   = EMMFMono;
>>     iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz;
>
>
>    it is saying EMMFMono undecleared . in the constructL() .where can i
> find the SoundDevice.h file
>
>
>  regards
> vivek
>
> On Tue, May 5, 2009 at 10:10 PM, Srivatsan Deenadayalan <
> srivatsan at ongobiz.com> wrote:
>
>>  Yes with use of APS you can route audio to loud speaker & micro phone and
>> vice versa. I suggest to clean the project in command line and build it for
>> GCCE mode only. APS libraries will work only for GCCE modes which you can
>> refer in Nokia and PjSIP websites.
>>
>> *Command Line:*
>>
>> Open command window and locate build.symbian folder of PjSIP, the type
>> following..
>>
>> bldmake bldfiles
>> abld clean
>> abld reallyclean
>>
>> Then build the application with carbide IDE...(phone release GCCE mode).
>>
>> vivek shrivastava wrote:
>>
>>
>>
>> On Tue, May 5, 2009 at 9:32 PM, vivek shrivastava <vivek.mics at gmail.com>wrote:
>>
>>> Hello Srivatsan ,
>>>
>>>     First thanks for the Immense knowledgeable support you had given .
>>> really it come from Deep knowledge
>>>     of the domain .
>>>
>>>     i had changed all the mmp files and Build.inf by the #define
>>> SND_USE_APS    1
>>>    but while compiling the code i am getting error on
>>
>>  in   void CPjAudioEngine::ConstructL() function
>>
>>
>>> at
>>>
>>> iSettings.iSettings.iChannels   = EMMFMono;
>>>     iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz;
>>
>>
>>    it is saying EMMFMono undecleared .
>>     basically i need to do normal and loudspeeker option .
>>
>>     can this be achived by this change it seld or i need to do some other
>> thing also
>>
>>   Thanks again
>>
>>     regards
>>     Vivek
>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Tue, May 5, 2009 at 8:47 PM, Srivatsan Deenadayalan <
>>> srivatsan at ongobiz.com> wrote:
>>>
>>>> Hi,
>>>>
>>>>     PjSIP 1.0, In normal mode (with out enabling APS) if you run the
>>>> application all sound packets will be routed to the loudspeaker. Media
>>>> Client Audio API cannot access Micro phone of device. If you need to use
>>>> your own sound implementation to access microphone you need to have Vendor
>>>> ID. To over come all these problems Nokia has released APS(Audio Proxy
>>>> Server) which is a wrapper class to access all sound hardwares of Nokia
>>>> Devices.
>>>>
>>>> PjSIP 1.0 have used that for routing sound packets to Micro Phone. Its
>>>> very simple to enable it in PjSIP.
>>>>
>>>> In bld.inf file change #define SND_USE_APS  0  to #define SND_USE_APS  1
>>>> and similarly in .mmp file also
>>>>
>>>> Example:
>>>> #define SND_USE_NULL    0
>>>> #define SND_USE_APS    1
>>>>
>>>> Make sure to add SDK plugin for APS ( http://www.forum.nokia.com/info/sw.nokia.com/id/4ff42a22-7099-4cc9-91bf-5e66166bd28d/S60_3rd_SDK_FP1_API_Plug-In_Pack.html
>>>> ).
>>>>
>>>>
>>>> vivek shrivastava wrote:
>>>>
>>>>  Hello experts,
>>>>
>>>>  I am using Pjsip 1.0 and i need to do calling in normal mode as by
>>>> default it is in Loudspeekermode
>>>>
>>>> Regards
>>>> vivek
>>>>
>>>> On Tue, May 5, 2009 at 4:37 PM, spider <waleedot2003 at gmail.com> wrote:
>>>>
>>>>>  On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava <
>>>>> vivek.mics at gmail.com> wrote:
>>>>> > Hello experts ,
>>>>> >
>>>>> > for the Pjsip application for the Symbian  when ever we make a call
>>>>> audio is
>>>>> > always on  LOUDSPEAKER on .
>>>>> > or in loudspeeker mode .
>>>>> > How can we TURN LOUDSPEAKER OFF like as normal telephony .is there
>>>>> any class
>>>>> > or Api is given there
>>>>> > If yes can you please tell me how to turn off loudspeeker
>>>>> >
>>>>> >
>>>>> > regards
>>>>> > Vivek
>>>>> >
>>>>> >
>>>>> >
>>>>>  > _______________________________________________
>>>>> > Visit our blog: http://blog.pjsip.org
>>>>> >
>>>>> > pjsip mailing list
>>>>> > pjsip at lists.pjsip.org
>>>>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>>> >
>>>>> >
>>>>>
>>>>>  which version of pjsip that you using ? its supported on pjsip1.1
>>>>> could you checked it out ??
>>>>>
>>>>> _______________________________________________
>>>>> Visit our blog: http://blog.pjsip.org
>>>>>
>>>>> pjsip mailing list
>>>>> pjsip at lists.pjsip.org
>>>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>>>
>>>>
>>>>  ------------------------------
>>>>
>>>> _______________________________________________
>>>> Visit our blog: http://blog.pjsip.org
>>>>
>>>> pjsip mailing listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>>
>>>>
>>>> --
>>>> Thanks,
>>>> Srivatsan.D,
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Visit our blog: http://blog.pjsip.org
>>>>
>>>> pjsip mailing list
>>>> pjsip at lists.pjsip.org
>>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>>
>>>>
>>>
>> ------------------------------
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>> --
>> Thanks,
>> Srivatsan.D,
>>
>>
>>
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
> ------------------------------
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
> --
> Thanks,
> Srivatsan.D,
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090506/6fef4019/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux