Live Streaming with recording simultaneously
Hi,
I have got success in making live streaming with telecast at different pc.
The application which I have made has the features:
I' am publishing live stream using the connection like: nc.connection("rtmp://10.8.4.56:1935/live");
publishing the stream like: ns.publish("mycamera","live");
now, on other pc I am running the file for telecast using the following code:
making connection with server: nc.connection("rtmp://10.8.4.56:1935/live");
playing the live stream: ns.play("mycamera"); vid.attachNetStream(ns);
Now, that was for the live stream for publish and view. But I want little more than that.I want to record the live stream at the publish end simultaneously.
I have tried the code at publish side like:
nc.connection("rtmp://10.8.4.56:1935/live");
ns.publish("mycamera","live");
ns.publish("mycamera","record");
But it is giving me error: NetStream.Record.NoAccess
when I am changing the connection point to "tmp://10.8.4.56:1935/dvr", t is giving me the result but then effecting the live telecast.
I want to make a single application for Live publish, VOD, Live recording.
Is there any settings on the Server that I am missing or file needed for doing all the three things in one application.
Please help.
Thanx in advance.
