actionscript-3flash-media-server

AS3 Broadcast live video using FMS and save that video for VOD


I want to broadcast live video I am using FMS to brodacast live video. I want to save that video to view again back, may be after some days or week.

I know how to publish live

ns.publish("appName","live");

But I want to save this video and view back when user request to see it again (not as live - as video on demand).


Solution

  • Check the Adobe documentation for NetStream. You simply use "record" instead of "live" :

    ns.publish("lecture", "record");