DVR
This commit is contained in:
@ -35,5 +35,14 @@ vhost hls.zap.stream {
|
||||
on_publish http://10.100.2.226:5295/api/srs;
|
||||
on_unpublish http://10.100.2.226:5295/api/srs;
|
||||
on_hls http://10.100.2.226:5295/api/srs;
|
||||
on_dvr http://10.100.2.226:5295/api/srs;
|
||||
}
|
||||
|
||||
dvr {
|
||||
enabled on;
|
||||
dvr_path ./objs/nginx/html/[app]/[stream].[timestamp].mp4;
|
||||
dvr_plan segment;
|
||||
dvr_duration 30;
|
||||
dvr_wait_keyframe on;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user