Question
Publishing and receiving a webcam broadcast
I have Flash Media Server 2 installed, and would like to
write an application whereby two people can chat one on one.
Now, I don't want to use simpleconnect, as I'd like to integrate this into an existing website with it's own authentication methods.
I've been attempting to get it working, but although I can get the local webcam displaying fine, and can even tweak the quality etc., I can't for the life of me get it published remotely.
If anyone has any pointers, that'd be great.
So far with regard to the video publishing part of it, I've come up with:
Also, am I right in thinking that to retrieve a webcam stream from the rtmp source, I would have to use http://host/appinstance/clientid ?
Or would this not be the way?
Now, I don't want to use simpleconnect, as I'd like to integrate this into an existing website with it's own authentication methods.
I've been attempting to get it working, but although I can get the local webcam displaying fine, and can even tweak the quality etc., I can't for the life of me get it published remotely.
If anyone has any pointers, that'd be great.
So far with regard to the video publishing part of it, I've come up with:
quote:
localCam = Camera.get();
localVideo.attachVideo(localCam);
sConn = new NetConnection();
sConn.connect("rtmp://localhost/1", "test");
lStream = new NetStream(rConn);
lStream.publish(localCam);
Also, am I right in thinking that to retrieve a webcam stream from the rtmp source, I would have to use http://host/appinstance/clientid ?
Or would this not be the way?
