Mute audio?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > Mute audio?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Mute audio?  
Lars Nymand


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-28-05 10:46 PM

Hello

I have followed this introduction:
http://www.oreilly.com/catalog/progflashcs/

and it works just fine, but how do I make 2 button there can 1.) mute the
sound from the other user and 2.) mute the sound coming from me (if I don't
want the others to hear me)

var ns = new NetStream(nc);
mc.video.attachAudio(nc);
mc.video.attachVideo(ns);
mc.video.muted = false;
ns.play(id);
mc.ns = ns;

hope to hear from you

Lars Nymand

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Re: Mute audio?  
Naicu Octavian


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-28-05 10:46 PM

To mute their sound:
ns.recieveAudio(false)
=20
To mute your sound, you just don't send it anymore:
ns.attachAudio(null)
=20
=20

=20


Lars Nymand <LarsNymand-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:
Hello

I have followed this introduction:
http://www.oreilly.com/catalog/progflashcs/

and it works just fine, but how do I make 2 button there can 1.) mute the
sound from the other user and 2.) mute the sound coming from me (if I don=
't
want the others to hear me)

var ns =3D new NetStream(nc);
mc.video.attachAudio(nc);
mc.video.attachVideo(ns);
mc.video.muted =3D false;
ns.play(id);
mc.ns =3D ns;

hope to hear from you

Lars Nymand

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=09
---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click. =20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: Mute audio?  
Lars Nymand


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-28-05 10:46 PM

I can't get it to work...

Forgoth to say that >>>var mc = _root["profilvideo"];<<<

But this don't work:
_root["profilvideo"].ns.recieveAudio(false);

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Naicu Octavian
Sent: 29. oktober 2005 00:00
To: FlashComm Mailing List
Subject: Re: [FlashComm] Mute audio?

To mute their sound:
ns.recieveAudio(false)

To mute your sound, you just don't send it anymore:
ns.attachAudio(null)






Lars Nymand <LarsNymand-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:
Hello

I have followed this introduction:
http://www.oreilly.com/catalog/progflashcs/

and it works just fine, but how do I make 2 button there can 1.) mute the
sound from the other user and 2.) mute the sound coming from me (if I don't
want the others to hear me)

var ns = new NetStream(nc);
mc.video.attachAudio(nc);
mc.video.attachVideo(ns);
mc.video.muted = false;
ns.play(id);
mc.ns = ns;

hope to hear from you

Lars Nymand

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm


---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click.

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Re: Mute audio?  
Jim Duber


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-28-05 10:46 PM

Looks like a typo. Try:

_root["profilvideo"].ns.receiveAudio(false);

As in " I before E except after C". ;^)

Best,

Jim

On Oct 28, 2005, at 3:20 PM, Lars Nymand wrote:

> I can't get it to work...
>
> Forgoth to say that >>>var mc = _root["profilvideo"];<<<
>
> But this don't work:
> _root["profilvideo"].ns.recieveAudio(false);
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gman
e.org] On Behalf Of Naicu
> Octavian
> Sent: 29. oktober 2005 00:00
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Mute audio?
>
> To mute their sound:
> ns.recieveAudio(false)
>
> To mute your sound, you just don't send it anymore:
> ns.attachAudio(null)
>
>
>
>
>
>
> Lars Nymand <LarsNymand-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:
> Hello
>
> I have followed this introduction:
> http://www.oreilly.com/catalog/progflashcs/
>
> and it works just fine, but how do I make 2 button there can 1.) mute
> the
> sound from the other user and 2.) mute the sound coming from me (if I
> don't
> want the others to hear me)
>
> var ns = new NetStream(nc);
> mc.video.attachAudio(nc);
> mc.video.attachVideo(ns);
> mc.video.muted = false;
> ns.play(id);
> mc.ns = ns;
>
> hope to hear from you
>
> Lars Nymand
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
> ---------------------------------
>  Yahoo! FareChase - Search multiple travel sites in one click.
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: Mute audio?  
Lars Nymand


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-29-05 01:45 AM

Cool there it was...

How do i check if its running or not?

Ex:
If (_root["profilvideo"].ns.receiveAudio() == false) {

}

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Jim Duber
Sent: 29. oktober 2005 00:32
To: FlashComm Mailing List
Subject: Re: [FlashComm] Mute audio?

Looks like a typo. Try:

_root["profilvideo"].ns.receiveAudio(false);

As in " I before E except after C". ;^)

Best,

Jim

On Oct 28, 2005, at 3:20 PM, Lars Nymand wrote:

> I can't get it to work...
>
> Forgoth to say that >>>var mc = _root["profilvideo"];<<<
>
> But this don't work:
> _root["profilvideo"].ns.recieveAudio(false);
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gman
e.org] On Behalf Of Naicu
> Octavian
> Sent: 29. oktober 2005 00:00
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Mute audio?
>
> To mute their sound:
> ns.recieveAudio(false)
>
> To mute your sound, you just don't send it anymore:
> ns.attachAudio(null)
>
>
>
>
>
>
> Lars Nymand <LarsNymand-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:
> Hello
>
> I have followed this introduction:
> http://www.oreilly.com/catalog/progflashcs/
>
> and it works just fine, but how do I make 2 button there can 1.) mute
> the sound from the other user and 2.) mute the sound coming from me
> (if I don't want the others to hear me)
>
> var ns = new NetStream(nc);
> mc.video.attachAudio(nc);
> mc.video.attachVideo(ns);
> mc.video.muted = false;
> ns.play(id);
> mc.ns = ns;
>
> hope to hear from you
>
> Lars Nymand
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
> ---------------------------------
>  Yahoo! FareChase - Search multiple travel sites in one click.
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Re: Mute audio?  
Jim Duber


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-29-05 01:45 AM

Don't have the docs handy, but your example looks like a good start.

If you can't get that working, you could always set a flag along with
the state of the audio at the same time and then check that. Something
like:

//mute the audio and set the flag
_root["profilvideo"].ns.receiveAudio(false);
audioMuted = true;

//and later, check it...
if (audioMuted) {
//do whatever
}

HTH,

Jim


On Oct 28, 2005, at 3:55 PM, Lars Nymand wrote:

> Cool there it was...
>
> How do i check if its running or not?
>
> Ex:
> If (_root["profilvideo"].ns.receiveAudio() == false) {
>
> }
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gman
e.org] On Behalf Of Jim Duber
> Sent: 29. oktober 2005 00:32
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Mute audio?
>
> Looks like a typo. Try:
>
> _root["profilvideo"].ns.receiveAudio(false);
>
> As in " I before E except after C". ;^)
>
> Best,
>
> Jim
>
> On Oct 28, 2005, at 3:20 PM, Lars Nymand wrote:
> 
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:11 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register