Issue of Mute the Audio

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

 



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-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