live streaming


hello everybody......

i startin flash , fms2 please ...be patient against ignorance.

i have been able build code publishing , playing live stream webcam.

the 2 modules work fine if run separately 1 after other....publisher ----> player.

what trying obtain this:
i want web client , via ie6, connects site , see live what's happening.

right publishing player module iis.

if connect laptop within home network, player module (with publisher running), works fine.
of course publisher has started manually me before connecting laptop.

what want avoid right this.... have client start live streaming automatically when connected website, , stops live streaming when leaves website.

hope clear...

so, putted togheter 2 modules 1 (the below one), , published via iis.

this code works fine on pc flash 8 , fms2 installed (ctrl + enter), connecting website laptop not work.

could guys give me hint out of problem ?

i stuck badly..... :-(

i sorry bad english italian....

sincerely riccardo


* start publisher */
var nc:netconnection = new netconnection();
nc.connect("rtmp://192.168.0.10/videotest");
var ns:netstream = new netstream(nc);

ns.attachvideo(camera.get(1));
ns.attachaudio(microphone.get(0));
ns.publish("tinacam1","live");
/* end publisher */


/* start player */
var na:netconnection = new netconnection();
na.connect("rtmp://192.168.0.10/videotest");

var nt:netstream = new netstream(na);
vid.attachvideo(nt);
nt.play("tinacam1");
/* end player */

hi!

i have same problem. use script tutorial.
if find solution please tell me.

thank you!

client_cam=camera.get();
client_mic=microphone.get();
live_video.attachvideo(client_cam);

function initstreams() {

// make connection application on server
client_nc = new netconnection();

// handle status message
client_nc.onstatus = function(info) {
trace("level: " + info.level + newline + "code: " + info.code);
}

client_nc.connect("rtmp://www.3dmedia.xhost.ro/tutorial_record");

// create output stream
out_ns = new netstream(client_nc);



}

// connect server , set streams
initstreams();



More discussions in Adobe Media Server


adobe

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial