Commit graph

77 commits

Author SHA1 Message Date
Michael Farrell e8ff79dfb9 For video streams, wait for a video keyframe before rotating the file (record_interval).
Fixes https://github.com/sergey-dryabzhinsky/nginx-rtmp-module/issues/335
2021-07-17 17:19:04 +10:00
Diego Stamigni 07912c5cd1 exec_record_started is now called when the first frame is written in file 2017-02-10 17:31:22 +00:00
Diego Stamigni 6b8155cf3b "exec_record_started" event and "on_record_started" notification added fired when the system starts the recording process 2017-02-09 13:47:29 +00:00
Francois Serreau d86287fe3c Fixed record from infinite loop 2016-11-29 13:55:56 +01:00
Denis Denisov ede4b5f0f4 Support Dynamic Module NGINX ≥ 1.9.11 2016-04-08 04:19:46 +03:00
Sergey 21683a4408 Merge pull request #22 from sergey-dryabzhinsky/fix-record-interval-for-all-modes
Fix record interal
2015-07-05 03:43:17 +03:00
Sergey Dryabzhinsky 25146e40f9 Fix record interal
- it should work if set. No matter record mode is.
2015-07-05 03:41:06 +03:00
Sergey 593368e9e6 Merge pull request #14 from LanetNetwork/master
Added Directive "record_interval_size"
2015-07-03 02:02:42 +03:00
Anton Baranov b053eca1f9 add Directive record_interval_size 2015-04-08 11:06:54 +03:00
Anton Baranov b92a262f4c add Directive record_interval_size 2015-04-08 11:00:03 +03:00
Jeffrey Wescott 17159755e5 Support for the data channel for the record module. 2014-10-30 18:20:54 -07:00
Roman Arutyunyan 0210f7ca83 added timestamp cut in recorder to prevent negative (big unsigned) timestamps 2014-02-04 14:32:32 +04:00
Roman Arutyunyan 8d1b1c1243 fix flv append time shift 2014-01-31 10:39:08 +04:00
Roman Arutyunyan fac68de376 recorder now writes correct flv track mask 2014-01-20 19:13:18 +04:00
Roman Arutyunyan b9fcf7d880 removed trailing spaces 2013-11-30 11:21:53 +04:00
Roman Arutyunyan f599c70568 updated copyright line 2013-11-03 23:11:37 +04:00
Roman Arutyunyan 0b5c799b25 fixed creating recorded file name 2013-07-18 10:38:00 +04:00
Roman Arutyunyan d60c0bf1c7 fixed msvc warning 2013-06-13 01:10:25 +04:00
Roman Arutyunyan dc1afb50be implemented windows lseek in record module 2013-06-12 20:47:25 +04:00
Roman Arutyunyan c752e0696c added ifdef conditional on ngx_lock_fd 2013-06-12 20:47:24 +04:00
Roman Arutyunyan 479a574cec ngx_tm_t -> struct tm 2013-06-12 20:47:24 +04:00
Roman Arutyunyan e4070fb777 fixed default values of conf params 2013-06-12 20:47:23 +04:00
Roman Arutyunyan d422c3685d implemented strftime-formatted record_suffix 2013-04-24 18:20:33 +04:00
Roman Arutyunyan 0b6a84b0b8 implemented record append feature 2013-03-01 19:10:11 +04:00
Roman Arutyunyan 349259329d record append implemented 2013-02-28 09:20:12 +04:00
Roman Arutyunyan e28dfad05c fixed static code analysis errors; thanks to @pgbi 2013-02-15 14:23:23 +04:00
Roman Arutyunyan 9b3471d79f added fcntl-style file lock in recorder 2013-01-15 21:59:29 +04:00
Roman Arutyunyan 8658d99529 fixed h264 header considered by recorder as a key with intermediate frames following 2012-12-16 01:07:01 +04:00
Roman Arutyunyan a45e3d5cbe added AAC header check to recorder 2012-12-14 21:07:45 +04:00
Roman Arutyunyan a0a4cc21b4 added proper keyframe & codec header handling to recorder 2012-12-14 21:03:38 +04:00
Roman Arutyunyan 02dd440a25 Merge branch 'master' into new-live3 2012-11-28 20:46:01 +04:00
Roman Arutyunyan 098d6db0fa improved recorder to restart on stream begin/eof events 2012-11-28 20:37:01 +04:00
Roman Arutyunyan 176a436942 removed duplicate record attempts in no-interval mode 2012-11-26 20:04:01 +04:00
Roman Arutyunyan 745b0494b1 added NetStream.Record.Failed 2012-11-15 16:46:44 +04:00
Roman Arutyunyan 72d175ed7f Merge branch 'control' 2012-10-09 09:05:50 +04:00
Roman Arutyunyan bff1c355ec added record_notify feature 2012-10-05 15:46:57 +04:00
Roman Arutyunyan 0740b046d6 recorder now stops at closeStream instead of deleteStream 2012-10-04 22:18:51 +04:00
Roman Arutyunyan e630c91391 fixed formatting 2012-09-27 21:18:49 +04:00
Roman Arutyunyan b70d37edb1 improved manual recorder: keyframes, repeated open/close 2012-09-27 21:05:52 +04:00
Roman Arutyunyan 840b62bf71 initial implementation of control http module 2012-09-27 14:24:51 +04:00
Roman Arutyunyan cdb084e375 fixed on_record_done; fixed notification inheritance; fixed logging 2012-09-22 14:46:03 +04:00
Roman Arutyunyan 9aff59fc43 fixed recording audio splitted into fragments 2012-09-22 13:35:03 +04:00
Roman Arutyunyan 11cc6e6019 implemented sub-applications; recorders are now merged as sub-applications 2012-09-13 21:47:22 +04:00
Roman Arutyunyan 9a31ca9237 added on_record_done & exec_record_done for recorder{} blocks; added new-style args to exec_* notifiers 2012-09-12 14:57:24 +04:00
Roman Arutyunyan 004accda9a implemented manual record open/close by index 2012-09-05 20:20:45 +04:00
Roman Arutyunyan 6951ef8d18 fixed on_record_done for multiple recorders 2012-09-05 17:07:33 +04:00
Roman Arutyunyan 3a403f8563 added recorder{} block 2012-09-05 16:49:39 +04:00
Roman Arutyunyan b4e7e68ce8 added manual recording flag 2012-09-05 14:33:21 +04:00
Roman Arutyunyan 02b9e2d4f7 implemented multiple recorder support 2012-09-04 20:36:25 +04:00
Roman Arutyunyan 81171a8582 added multi-record api 2012-09-04 17:47:32 +04:00