yes, it is, although I specify an index number for the camera and the
microphone.
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx on
behalf of John Berzy
Sent: Thu 5/26/2005 10:44 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx>
>Reply-To: FlashComm Mailing List
><flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx>
>To: "FlashComm Mailing List"
><flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx>
>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
=-----------------------------------------------------------
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
|