I want random url rtmp AS3
nc.connect("rtmp://192.168.1.2/live");
Sample
rtmp://192.168.1.2/live
rtmp://192.168.1.3/live
rtmp://192.168.1.4/live
rtmp://192.168.1.5/live
I wanted it to be random rtmp url how to input ?
var nc:NetConnection = new NetConnection();
nc.connect("rtmp://xx.xx.xxx/live");
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.setBufferTime(10);
ns.onStatus = function(info) {
trace(info.code);
if(info.code == "NetStream.Buffer.Full") {
bufferClip._visible = false;
}
if(info.code == "NetStream.Buffer.Empty") {
bufferClip._visible = true;
}
}
ns.play("myvdo");