Macromedia Flash Server - Really easy question...I hope

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > May 2005 > Really easy question...I hope





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Really easy question...I hope
Michael D. Randolph

2005-05-26, 5:49 pm

var streamName:String =3D "testStream" + Math.round(Math.random() * =
(1000
- 0));

ncConn.connect("rtmp://myIP/senderTest/instance");

ncConn.onStatus =3D function(info) {

trace (info.level);

trace (info.code);

}

var nsStream:NetStream =3D new NetStream(ncConn);

nsStream.onStatus =3D function(info) {

trace (info.level);

trace (info.code);

}

nsStream.attachAudio(mic);

nsStream.attachVideo(cam);

nsStream.publish("myStream", "live");

=20

=20

=20

For some reason this code isn't working. In the communication app
inspector, it says the NetStream is getting created, but In the Streams
tab of the App Inspector, the stream never appears. Also, I cannot
subscribe to the stream either...its like it doesn't exist. Any ideas?
I've never seen this before. =20

=20

Michael Randolph


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

John Berzy

2005-05-27, 2:45 am

is cam and mic defined?


cam = Camera.get();
mic = Microphone.get();
>From: "Michael D. Randolph" <mrandolph-BLI8p3VsWNHtqXgxI/4nyg@public.gmane.org>
>Reply-To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
>To: "FlashComm Mailing List" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
>Subject: [FlashComm] Really easy question...I hope
>Date: Thu, 26 May 2005 12:38:04 -0400
>
>var streamName:String = "testStream" + Math.round(Math.random() * (1000
>- 0));
>
>ncConn.connect("rtmp://myIP/senderTest/instance");
>
>ncConn.onStatus = function(info) {
>
> trace (info.level);
>
> trace (info.code);
>
>}
>
>var nsStream:NetStream = new NetStream(ncConn);
>
>nsStream.onStatus = function(info) {
>
> trace (info.level);
>
> trace (info.code);
>
>}
>
>nsStream.attachAudio(mic);
>
>nsStream.attachVideo(cam);
>
>nsStream.publish("myStream", "live");
>
>
>
>
>
>
>
>For some reason this code isn't working. In the communication app
>inspector, it says the NetStream is getting created, but In the Streams
>tab of the App Inspector, the stream never appears. Also, I cannot
>subscribe to the stream either...its like it doesn't exist. Any ideas?
>I've never seen this before.
>
>
>
>Michael Randolph
>
>
>=-----------------------------------------------------------
>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

Michael D. Randolph

2005-05-27, 2:45 am

yes, it is, although I specify an index number for the camera and the microphone.


-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org on behalf of John Berzy
Sent: Thu 5/26/2005 10:44 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: RE: [FlashComm] Really easy question...I hope

is cam and mic defined?


cam = Camera.get();
mic = Microphone.get();
>From: "Michael D. Randolph" <mrandolph-BLI8p3VsWNHtqXgxI/4nyg@public.gmane.org>
>Reply-To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
>To: "FlashComm Mailing List" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
>Subject: [FlashComm] Really easy question...I hope
>Date: Thu, 26 May 2005 12:38:04 -0400
>
>var streamName:String = "testStream" + Math.round(Math.random() * (1000
>- 0));
>
>ncConn.connect("rtmp://myIP/senderTest/instance");
>
>ncConn.onStatus = function(info) {
>
> trace (info.level);
>
> trace (info.code);
>
>}
>
>var nsStream:NetStream = new NetStream(ncConn);
>
>nsStream.onStatus = function(info) {
>
> trace (info.level);
>
> trace (info.code);
>
>}
>
>nsStream.attachAudio(mic);
>
>nsStream.attachVideo(cam);
>
>nsStream.publish("myStream", "live");
>
>
>
>
>
>
>
>For some reason this code isn't working. In the communication app
>inspector, it says the NetStream is getting created, but In the Streams
>tab of the App Inspector, the stream never appears. Also, I cannot
>subscribe to the stream either...its like it doesn't exist. Any ideas?
>I've never seen this before.
>
>
>
>Michael Randolph
>
>
>=-----------------------------------------------------------
>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




Vishnu Vardhan

2005-05-27, 7:45 am

is it linux server..?

On 5/27/05, Michael D. Randolph <mrandolph-BLI8p3VsWNHtqXgxI/4nyg@public.gmane.org> wrote:
> yes, it is, although I specify an index number for the camera and the mic=

rophone.
>=20
>=20
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org on behalf of John Berzy
> Sent: Thu 5/26/2005 10:44 PM
> To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> Subject: RE: [FlashComm] Really easy question...I hope
>=20
> is cam and mic defined?
>=20
>=20
> cam =3D Camera.get();
> mic =3D Microphone.get();
0[vbcol=seagreen]
>=20
>=20
>=20
> =3D-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =3D-----------------------------------------------------------
>=20
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>=20
>=20
>=20
>=20
>=20
>=20
> =3D-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =3D-----------------------------------------------------------
>=20
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>=20
>=20
>


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

Lisa

2005-05-27, 5:45 pm

I don't see a

mic = Microphone.get();

or

cam = Camera.get();

statement...?

// Lisa

On May 27, 2005, at 4:43 AM, Vishnu Vardhan wrote:

> is it linux server..?
>
> On 5/27/05, Michael D. Randolph <mrandolph-BLI8p3VsWNHtqXgxI/4nyg@public.gmane.org> 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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com