Push live-stream of flv from one server to another
Hi!
I'd like to push a prerecorded flv as live stream to another server, from wich clients can receive the video as live stream.
Besides some connection-code i do:
var res = "";
var playStream = res = Stream.get("myStream");
playStream.onStatus = function(pInfo) {trace("status: " + pInfo.code + " / " + pInfo.description);}
trace("res1: " + res);
res = playStream.play("monitorStream");
trace("res2: " + res);
var newStream = new NetStream(this.connections[pUrl]);
res = newStream.attach(playStream);
trace("res3: " + res);
newStream.publish(this.streamId, "live");
The debug output looks like this:
res1: [object Stream]
res3: true
res2: true
status: NetStream.Publish.Start / myStream is now published.
status: NetStream.Play.Reset / Playing and resetting monitorStream.
status: NetStream.Play.Start / Started playing monitorStream.
monitorStream.flv lies on my FMS. So from the debug-output everything looks fine. But i don´t see any video, when i play the published stream on client-side. The outgoing stream itself is correctly published. Any suggestions?
