【nginx-rtmp】09、指令(Directives)之 記錄(Record)
阿新 • • 發佈:2019-01-29
五、記錄/錄製(Record)
01、record
語法:record [off|all|audio|video|keyframes|manual]*
上下文:rtmp, server, application, recorder
記錄模式切換,流可以記錄到flv檔案中,這個指令指定了哪些需要記錄:
Toggles record mode. Stream can be recorded in flv file. This directive specifies what exactly should be recorded:
- off - no recording at all ;不再記錄
- all - audio & video (everything) ; 音訊&視訊 (所有東西)
- audio - audio ;音訊
- video - video ;視訊
- keyframes - only key video frames ;只記錄關鍵幀
- manual - never start recorder automatically, use control interface to start/stop ;不自動記錄,使用控制介面來啟動或停止