| heisen 2005-11-12, 2:45 am |
| =EF=BB=BFHi Bill,=0A=0AThanks Bill. this is my situation now:=0A=0AIam=
trying to connect to a webcam application, which is running in the remo=
te server, the original client&server program (swf) expects a camera fee=
d from the client, instead of giving my webcam feed iam trying to stream=
a local flv file from my machine.=0Apls consider =0Amy_nc2.connect("rtm=
p://localhost/myApp/camroom_01"); =0A=0Aas a remote host which expects=
a webcam feed. how do i stream a local flv (not in fcs server) to =0Are=
mote server.=0A=0Athanks,=0Aheisen.=0A=0A=0A=0A=0A=0A=0A=0AFrom: Bill=
Sanders[mailto:wdsanders-Wuw85uim5zDR7s880joybQ@public.gmane.org]=0ASent: Saturday, November 12,=
2005 2:19 AM -08:00=0ATo: heisen [heisenberg16-015hOC+AsXEAvxtiuMwx3w@public.gmane.org]=0ASubject:=
[FlashComm] streaming local flv files to webcam application=0A=0AHeisen=
,=0A=0A=0ATry the attached app. It shows you what you need to now. (I=
think.) In looking at your code, you've got 2 different NetConnection=
instances. Why's that? =0A=0A=0AHTH,=0ABill=0A=0A=0A=0A=0A=0AOn
Nov 11,=
2005, at 6:45 PM, heisen wrote:=0A=0A=0A=0A=0Ahi,=0A=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 coul=
dnt see the stream in the server.=0A=0A=0A=0A=0Avar my_video:Video;=0Ava=
r my_nc:NetConnection =3D new NetConnection();=0Amy_nc.connect(null);=0A=
var my_ns:NetStream =3D new NetStream(my_nc);=0Amy_video.attachVideo(my_=
ns);=0Amy_ns.play("casta.flv");=0A=0A=0A=0A=0Avar my_nc2:NetConnection=
=3D new NetConnection();=0Amy_nc2.connect("rtmp://localhost/myApp/camro=
om_01");=0Aout_ns =3D new NetStream(my_nc2);=0Aout_ns.attachVideo(my_ns)=
;=0Aout_ns.publish("casta");=0A=0A=0A=0A=0Aam i doing something stupid=
?=0A=0A=0Athanks =0Aheisen=0A____________________________
______________=
=0AGet your own goowy now @ http://www.goowy.com=0A=0A=0A=3D------------=
-----------------------------------------------=0ASupported by Fig Leaf=
Software - http://www.figleaf.com=0A=3D-------...--------------=
---------------------------=0A=0A=0ATo change your subscription options=
or search the archive:=0Ahttp://chattyfig.figleaf.com/mailman/listinfo/=
flashcomm=0A=0A=0Abill sanders | www.sandlight.com | bloomfield, ct |=
860-242-2260
________________________________________
__
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
|