Issue Of LoudSpeaker

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

 



Hi all,

I Used AudioSessionSetProperty of iPhone To Enable The Speaker by the use of
code on click of Speaker button:


UInt32 audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker;
AudioSessionSetProperty (kAudioSessionProperty_OverrideAudioRoute,sizeof
(audioRouteOverride),&audioRouteOverride);

Actually When I enabled the speaker at the time of ongoing call the other
party heard clear echo voice ,he can hear own voice back again and i also
hear some echo voice  whatever be tell by him and When  i disabled the
speaker there is no issue of echo.

Please give me a Solution of it*
*

 Regards
 Vinay Kumar

On Fri, Nov 26, 2010 at 2:28 PM, vinay kumar <vktechguy87 at gmail.com> wrote:

> Hi all,
>
> Thanks  Alenjandro & maya to solved my issue of mute the audio
>
> I used pjsua_conf_adjust_rx_level (0,-1) & pjsua_conf_adjust_tx_level
> (0,-1) to unmute the audio & it did  work sucessfully.
>
> Regards,
> Vinay Kumar
>
>
> On Tue, Nov 23, 2010 at 7:04 PM, <pjsip-request at lists.pjsip.org> wrote:
>
>> Send pjsip mailing list submissions to
>>        pjsip at lists.pjsip.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> or, via email, send a message with subject or body 'help' to
>>        pjsip-request at lists.pjsip.org
>>
>> You can reach the person managing the list at
>>        pjsip-owner at lists.pjsip.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of pjsip digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Re: Issue Of LoudSpeaker (Maya Zalcberg)
>>   2. Re: Issue of Mute the Audio (Alejandro Orellana)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 23 Nov 2010 10:35:34 +0200
>> From: Maya Zalcberg <maya@xxxxxxxxxxx>
>> To: pjsip list <pjsip at lists.pjsip.org>
>> Subject: Re: Issue Of LoudSpeaker
>> Message-ID:
>>        <AANLkTi=dQHComb=eP5uPaNiMRKT8=WaAzTkij4=xB0ZY at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hi,
>> You don't have to use the pjsip for that.
>> just use the:
>> AudioSessionSetProperty
>> of the iPhone.
>>
>> Maya
>>
>> On Tue, Nov 23, 2010 at 9:14 AM, vinay kumar <vktechguy87 at gmail.com>
>> wrote:
>>
>> >  Hi All,
>> >
>> >
>> >   I am using Pjsip 1.7 and iOS 3.1.3 in my application,i just want to
>> Turn
>> > on & off the LoudSpeaker during ongoing call on click of button.
>> >
>> >   can please anyone tell me that how could i do this?
>> >
>> >   Thanks in Advance
>> >   Vinay
>> >
>> >
>> > _______________________________________________
>> > 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
>> >
>> >
>>
>>
>> --
>> Maya Zalcberg
>> www.zemingo.com
>> 972.52.332.8356
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101123/9ed83cb6/attachment-0001.html
>> >
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 23 Nov 2010 08:34:56 -0500
>> From: "Alejandro Orellana" <alejandro.orellana@xxxxxxxxxxxx>
>> To: "pjsip list" <pjsip at lists.pjsip.org>
>> Subject: Re: Issue of Mute the Audio
>> Message-ID: <21DAB54B-7C53-4D59-BC1B-F41467097A02 at savantav.com>
>> Content-Type: text/plain; charset="us-ascii"
>>
>>
>> using (0,1,) will definitely won't un mute ...
>>
>> Perhaps  before you mute the levels you should get the current levels and
>> save them away.
>> then when you want to un mute you use those levels to restore the audio.
>>
>> you can get the current levels:
>> pjsua_conf_get_signal_level
>>
>>
>> On Nov 23, 2010, at 2:08 AM, vinay kumar wrote:
>>
>> > Hi all,
>> >
>> > I used to call both function pjsua_conf_adjust_rx_level (0,0) &
>> pjsua_conf_adjust_tx_level (0,0) to mute the mic & speaker on click of
>> button
>> > it has sucessfully done
>> > i have also used pjsua_conf_adjust_rx_level (0,1) &
>> pjsua_conf_adjust_tx_level (0,1) to unmute but it didn't work .
>> >
>> > Now can You Please tell me how to do unmute the mic & speaker ?
>> >
>> > which function i have to use & what is the parameter?
>> >
>> > Please help me out
>> >
>> > Thanx a lot for gave me a worthful reply
>> >
>> > regards
>> > vinay
>> >
>> >
>> > On Sat, Nov 20, 2010 at 11:30 PM, <pjsip-request at lists.pjsip.org>
>> wrote:
>> > Send pjsip mailing list submissions to
>> >        pjsip at lists.pjsip.org
>> >
>> > To subscribe or unsubscribe via the World Wide Web, visit
>> >        http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> > or, via email, send a message with subject or body 'help' to
>> >        pjsip-request at lists.pjsip.org
>> >
>> > You can reach the person managing the list at
>> >        pjsip-owner at lists.pjsip.org
>> >
>> > When replying, please edit your Subject line so it is more specific
>> > than "Re: Contents of pjsip digest..."
>> >
>> >
>> > Today's Topics:
>> >
>> >   1. Issue of Mute the Audio (vinay kumar)
>> >   2. Re: Issue of Mute the Audio (Maya Zalcberg)
>> >   3. Re: Issue of Mute the Audio (Alejandro Orellana)
>> >
>> >
>> > ----------------------------------------------------------------------
>> >
>> > Message: 1
>> > Date: Sat, 20 Nov 2010 14:40:41 +0530
>> > From: vinay kumar <vktechguy87@xxxxxxxxx>
>> > To: pjsip at lists.pjsip.org
>> > Subject: Issue of Mute the Audio
>> > Message-ID:
>> >        <AANLkTiktGdSTo1RUgo=KW3G3o-EpSET5ySSP18cX_PQt at mail.gmail.com>
>> > Content-Type: text/plain; charset="iso-8859-1"
>> >
>> > Hi All,
>> >
>> >
>> > I am using Pjsip 1.7 and iOS 3.1.3 in my application,i just want to mute
>> the
>> > Audio during ongoing call on click of button.
>> >
>> > can please anyone tell me that how could i do this?
>> >
>> > Thanks in Advance
>> > Vinay
>> > -------------- next part --------------
>> > An HTML attachment was scrubbed...
>> > URL: <
>> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101120/451703eb/attachment-0001.html
>> >
>> >
>> > ------------------------------
>> >
>> > Message: 2
>> > Date: Sat, 20 Nov 2010 15:29:17 +0200
>> > From: Maya Zalcberg <maya@xxxxxxxxxxx>
>> > To: pjsip list <pjsip at lists.pjsip.org>
>> > Subject: Re: Issue of Mute the Audio
>> > Message-ID:
>> >        <AANLkTinuoh71Gj1ZP_ZfRO5rTakrJF_LvAzWp3dg9xru at mail.gmail.com>
>> > Content-Type: text/plain; charset="iso-8859-1"
>> >
>> > Hi,
>> > Just use the command:
>> > pjsua_conf_adjust_rx_level
>> >
>> > Regards,
>> > Maya
>> >
>> > On Sat, Nov 20, 2010 at 11:10 AM, vinay kumar <vktechguy87 at gmail.com>
>> wrote:
>> >
>> > > Hi All,
>> > >
>> > >
>> > > I am using Pjsip 1.7 and iOS 3.1.3 in my application,i just want to
>> mute
>> > > the Audio during ongoing call on click of button.
>> > >
>> > > can please anyone tell me that how could i do this?
>> > >
>> > > Thanks in Advance
>> > > Vinay
>> > >
>> > >
>> > > _______________________________________________
>> > > 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
>> > >
>> > >
>> >
>> >
>> > --
>> > Maya Zalcberg
>> > www.zemingo.com
>> > 972.52.332.8356
>> > -------------- next part --------------
>> > An HTML attachment was scrubbed...
>> > URL: <
>> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101120/6f8a3702/attachment-0001.html
>> >
>> >
>> > ------------------------------
>> >
>> > Message: 3
>> > Date: Sat, 20 Nov 2010 09:04:02 -0500
>> > From: "Alejandro Orellana" <Alejandro.Orellana@xxxxxxxxxxxx>
>> > To: "pjsip list" <pjsip at lists.pjsip.org>
>> > Subject: Re: Issue of Mute the Audio
>> > Message-ID: <D81F0854-9246-48D7-B073-D0C51980F1EB at savantav.com>
>> > Content-Type: text/plain; charset="us-ascii"
>> >
>> > pjsua_conf_adjust_rx_level will mute the speaker volume.
>> >
>> > If you want to mute the mic  you can use
>> > pjsua_conf_adjust_tx_level or  you can do this
>> >
>> >  pjsua_call_info callInfo;
>> >  pjsua_call_get_info(identifier, &callInfo);
>> >
>> >  pj_status_t status = pjsua_conf_disconnect(0, callInfo.conf_slot);
>> >
>> > where identifier is the call identifier given to you by pjsip.
>> >
>> > Also you can mute the mic calling the HW directly
>> >
>> > Cheers
>> > On Nov 20, 2010, at 8:29 AM, Maya Zalcberg wrote:
>> >
>> > > Hi,
>> > > Just use the command:
>> > > pjsua_conf_adjust_rx_level
>> > >
>> > > Regards,
>> > > Maya
>> > >
>> > > On Sat, Nov 20, 2010 at 11:10 AM, vinay kumar <vktechguy87 at gmail.com>
>> wrote:
>> > > Hi All,
>> > >
>> > >
>> > > I am using Pjsip 1.7 and iOS 3.1.3 in my application,i just want to
>> mute the Audio during ongoing call on click of button.
>> > >
>> > > can please anyone tell me that how could i do this?
>> > >
>> > > Thanks in Advance
>> > > Vinay
>> > >
>> > >
>> > > _______________________________________________
>> > > 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
>> > >
>> > >
>> > >
>> > >
>> > > --
>> > > Maya Zalcberg
>> > > www.zemingo.com
>> > > 972.52.332.8356
>> > > _______________________________________________
>> > > 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
>> >
>> >
>> >
>> > Statement of Confidentiality
>> > The contents of this e-mail message and any attachments are confidential
>> and are intended solely for the addressee. The information may also be
>> legally privileged. This transmission is sent in trust, and the sole purpose
>> of delivery to the intended recipient. If you have received this
>> transmission in error, any use, reproduction or dissemination of this
>> transmission is strictly prohibited. If you are not the intended recipient,
>> please immediately notify the sender by reply e-mail or at 508.683.2500 and
>> delete this message and its attachments, if any.
>> > -------------- next part --------------
>> > An HTML attachment was scrubbed...
>> > URL: <
>> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101120/475c830f/attachment-0001.html
>> >
>> >
>> > ------------------------------
>> >
>> > _______________________________________________
>> > pjsip mailing list
>> > pjsip at lists.pjsip.org
>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> >
>> >
>> > End of pjsip Digest, Vol 39, Issue 33
>> > *************************************
>> >
>> > _______________________________________________
>> > 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
>>
>> ------
>> Alejandro Orellana
>> Savant Systems, LLC
>> 770 Main Street
>> Osterville, Ma. 02655
>> (508) 683-2547 (W)
>> (508) 683-2647 (F)
>> Alejandro.Orellana at savantav.com
>>
>> Statement of Confidentiality
>> The contents of this e-mail message and any attachments are confidential
>> and are intended solely for the addressee. The information may also be
>> legally privileged. This transmission is sent in trust, and the sole purpose
>> of delivery to the intended recipient. If you have received this
>> transmission in error, any use, reproduction or dissemination of this
>> transmission is strictly prohibited. If you are not the intended recipient,
>> please immediately notify the sender by reply e-mail or at 508.683-2500 and
>> delete this message and its attachments, if any.
>>
>>
>>
>>
>>
>> Statement of Confidentiality
>> The contents of this e-mail message and any attachments are confidential
>> and are intended solely for the addressee. The information may also be
>> legally privileged. This transmission is sent in trust, and the sole purpose
>> of delivery to the intended recipient. If you have received this
>> transmission in error, any use, reproduction or dissemination of this
>> transmission is strictly prohibited. If you are not the intended recipient,
>> please immediately notify the sender by reply e-mail or at 508.683.2500 and
>> delete this message and its attachments, if any.
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101123/e686c98f/attachment.html
>> >
>>
>> ------------------------------
>>
>> _______________________________________________
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>> End of pjsip Digest, Vol 39, Issue 38
>> *************************************
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101126/54e699f6/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