When clients send live video to the server, they have the option of recording the video and storing it on the server.
Use NetStream.publish("videorecording", "record") to record a video. When the second(howToPublish) parameter is set to "record" the file is saved on the server in the streams subdirectory of the application root.