Commit graph

76 commits

Author SHA1 Message Date
Sergey Dryabzhinsky 8e344d7994 For issue #332 - bigger buffers for HLS/DASH, allow define them on compile time 2021-06-03 15:40:00 +03:00
Jan Alexander Steffens (heftig) 1c3dc989ef
Work around deletion of still-needed init segments
I assume they get accidentally deleted right after they're
written, before the playlist is first created.

Leave them around for another cleanup cycle rather than
risk deleting them while still needed.
2017-05-23 10:11:27 +02:00
Sergey Dryabzhinsky dc76eb2641 Merge fixes for nginx 1.11.5-style cache-manager by @arut
- merge some code from 5150993acc
2016-11-26 00:48:24 +03:00
Sergey Dryabzhinsky 315e8aa497 Merge fixes from @akotulu for #197 2016-11-26 00:25:17 +03:00
Sergey Dryabzhinsky a037181c59 Fix DASH playlist generation - validation check pass
- add PAR value to AdaptationSet
- move UTCTiming tag to end of playlist
2016-08-07 09:43:34 +03:00
Sergey Dryabzhinsky b4ecd58544 Adjusted time roundup, time string formating 2016-06-20 14:53:09 +03:00
Sergey Dryabzhinsky 341b07409d Update time generation:
- add msec granularity,
- revert availability constant change,
- add some time tricks to prevert playlist end on client too early
- add more debug to codecs
2016-05-24 15:13:24 +03:00
Sergey Dryabzhinsky 970da5673d Add new options for clock compensation tag
- new options, docs updated
- fix availability and publish time update
2016-05-24 04:34:16 +03:00
Sergey Dryabzhinsky 570204bdeb Try to update publishTime constantly with MPD updates 2016-05-24 00:59:15 +03:00
Sergey Dryabzhinsky 8b97be9593 Add availabilityEndTime to DASH manifest 2016-05-23 22:44:51 +03:00
ArhiChief 89dd74e666 Add publish time to MPD and UTCTiming element to force player to synchronize time with streaming server. 2016-04-25 15:54:29 +03:00
Jan Alexander Steffens (heftig) 98f700a090 dash: Ensure directory exists before opening fragments
Streams that take a long time from initial Publish to
actually sending data might get their directories reaped.

Testcase: Xsplit Encoder with stream delay set to a value larger
than the playlist length.
2016-04-21 12:22:03 +02:00
Sergey Dryabzhinsky 4ce7ea8b9d Fix HLS/DASH playlists cleanup
- use x2 hls max frgment duration
- do more recent cleanup - half playlist duration
- adjust expiration times for playlist files
- add more debug to dash fragments update function
2016-02-27 07:06:16 +03:00
Sergey Dryabzhinsky f8da609671 Add playlist update notification for HLS/DASH 2015-12-17 03:36:58 +03:00
Sergey Dryabzhinsky cd416d5fd2 Fix gcc warning 'value computed is not used' 2015-10-27 16:43:06 +03:00
Matthieu Pepin 0f73f4e05b Style (use spaces instead of tabs) 2015-10-23 13:14:55 -04:00
Matthieu Pepin f9aa396689 Add year/month/days to timeShiftBufferDepth 2015-10-23 13:12:01 -04:00
Matthieu Pepin fd23b27f3f Fix decimal places (msec, only 2 allowed) 2015-10-23 10:58:52 -04:00
Matthieu Pepin c078a7c3e0 Freeze availabilityStartTime and adjust timeShiftBufferDepth 2015-10-22 17:34:47 -04:00
Bryan Berg 2262649c1f Don't truncate framerate for MPEG-DASH
When pushing 29.97fps RTMP streams, the manifest shows an
incorrect frame rate of "29", not "30000/1001" as it should be.
2014-09-07 13:03:58 -07:00
Nathan Caldwell 359d76b555 Explicitly signal HE-AAC in DASH manifest
This works around an issue in the Chromium MediaSource implementation[1].
Chromium will not play a video when the audio track uses HE-AAC, unless it is
explicitly signaled in the manifest.

[1]: https://code.google.com/p/chromium/issues/detail?id=370927#c3
2014-08-27 20:21:46 -06:00
Roman Arutyunyan bcf7df1e70 fixed crash in dash 2013-12-24 20:04:28 +04:00
Roman Arutyunyan 18fa7a5016 implemented avc sps parser & improved dash & stats 2013-12-21 00:47:00 +04:00
Roman Arutyunyan aa4bcf89d7 fixed dash/hls cleanup when recorder{} block exists 2013-12-16 12:58:25 +04:00
Roman Arutyunyan e8081fd94f implemented dash discont handling 2013-12-02 20:30:28 +04:00
Roman Arutyunyan 9e634ae882 improved mp4 brands 2013-12-01 10:28:21 +04:00
Roman Arutyunyan b9fcf7d880 removed trailing spaces 2013-11-30 11:21:53 +04:00
Roman Arutyunyan 96e60a4ac0 fixed dash mp4 format & writer style 2013-11-30 01:38:57 +04:00
Roman Arutyunyan 6e1008ee9c improved dash fragment generated & fixed style 2013-11-29 20:36:11 +04:00
Roman Arutyunyan 047b72c192 added h264 profile/compat/level parser and fixed dash avc1 codec string 2013-11-29 12:55:42 +04:00
Roman Arutyunyan b07e0e2dee fixed style 2013-11-28 22:08:48 +04:00
Roman Arutyunyan 2f54340454 Merge remote-tracking branch 'ReneVolution/dash' into dash 2013-11-28 21:56:29 +04:00
Roman Arutyunyan 45b39f7762 fixed deleting directory on win 2013-11-28 21:49:15 +04:00
Roman Arutyunyan ed09425a5d test debug logging 2013-11-28 21:40:19 +04:00
Roman Arutyunyan 0eb32ae1ca fixing hls & dash cleanup 2013-11-28 21:31:30 +04:00
Roman Arutyunyan d11823bcf8 directory creation in hls module is now performed at publish stage 2013-11-28 21:06:20 +04:00
René Calles 7c7d1f1db2 Merge branch 'dash' of https://github.com/arut/nginx-rtmp-module into dash 2013-11-28 16:41:31 +00:00
Roman Arutyunyan 43718388f4 fixed time formatting & file op error code check 2013-11-28 19:51:15 +04:00
Roman Arutyunyan c928742cb9 fixed file op result code checks 2013-11-28 19:11:31 +04:00
Roman Arutyunyan ec5687f459 improved result code check to work on windows 2013-11-28 19:05:21 +04:00
René Calles 46edc6ccfd Merge branch 'dash' of https://github.com/ReneVolution/nginx-rtmp-module into dash
Conflicts:
	dash/ngx_rtmp_dash_module.c
2013-11-28 15:02:05 +00:00
René Calles 4b3385562a added presentation delay to dash fragments + Repr. IDs 2013-11-28 14:55:43 +00:00
René Calles fb3adeda9f adding some HbbTV compliancy to MPD 2013-11-28 14:55:42 +00:00
Roman Arutyunyan a1b1c205f1 removed extra ngx_de_info call in win32 2013-11-28 18:55:38 +04:00
René Calles 749cea7cb7 fixed representation id naming 2013-11-28 14:53:28 +00:00
Roman Arutyunyan 9abf8355d9 removed old variable 2013-11-28 18:21:08 +04:00
Roman Arutyunyan fcbd18c7f7 fixed windows compilation 2013-11-28 17:26:06 +04:00
Roman Arutyunyan 29dfda882a fixed using raw non-null-terminated strings from config parser in syscalls 2013-11-28 17:14:39 +04:00
Roman Arutyunyan b73075e28c added dash_nested, added directory creation, fixed init frags cleanup 2013-11-28 14:14:40 +04:00
René Calles ed68e4a2eb added presentation delay to dash fragments + Repr. IDs 2013-11-27 17:04:09 +00:00