|
Home > Archive > Macromedia Flash Server > November 2005 > streaming local flv files to webcam application
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 |
streaming local flv files to webcam application
|
|
| heisen 2005-11-11, 5:46 pm |
| =EF=BB=BF=0Ahi,=0A=0Aiam trying to stream flv files locally and attach=
the stream to a webcam program,=0Abut its not working , i could see the=
file playing locally but i couldnt see the stream in the server.=0A=0A=
=0Avar my_video:Video;=0Avar my_nc:NetConnection =3D new NetConnection()=
;=0Amy_nc.connect(null);=0Avar my_ns:NetStream =3D new NetStream(my_nc);=
=0Amy_video.attachVideo(my_ns);=0Amy_ns.play("casta.flv");=0A=0A=0Avar=
my_nc2:NetConnection =3D new NetConnection();=0Amy_nc2.connect("rtmp://=
localhost/myApp/camroom_01");=0Aout_ns =3D new NetStream(my_nc2);=0Aout_=
ns.attachVideo(my_ns);=0Aout_ns.publish("casta");=0A=0A=0Aam i doing som=
ething stupid ?=0A=0Athanks =0Aheisen
________________________________________
__
Get your own goowy now @ http://www.goowy.com
=-----------------------------------------------------------
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
| |
| Stefan Richter 2005-11-11, 5:46 pm |
| Nice idea but I think you can only attach camera feeds, not local flv
playback to an outgoing ns
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org [mailto:flashcomm-
> bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of heisen
> Sent: 11 November 2005 18:45
> To: flash
> Subject: [FlashComm] streaming local flv files to webcam application
>
> ?
> hi,
>
> iam trying to stream flv files locally and attach the stream to a webcam
> program,
> but its not working , i could see the file playing locally but i couldnt
> see the stream in the server.
>
>
> var my_video:Video;
> var my_nc:NetConnection = new NetConnection();
> my_nc.connect(null);
> var my_ns:NetStream = new NetStream(my_nc);
> my_video.attachVideo(my_ns);
> my_ns.play("casta.flv");
>
>
> var my_nc2:NetConnection = new NetConnection();
> my_nc2.connect("rtmp://localhost/myApp/camroom_01");
> out_ns = new NetStream(my_nc2);
> out_ns.attachVideo(my_ns);
> out_ns.publish("casta");
>
>
> am i doing something stupid ?
>
> thanks
> heisen
> ________________________________________
__
> Get your own goowy now @ http://www.goowy.com
>
> =---------------------------------------------------------
> 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
|
|
|
|
|