Commit graph

1168 commits

Author SHA1 Message Date
itpp16 48983747d3 Update ngx_rtmp_play_module.c 2015-04-09 12:58:46 +02:00
itpp16 6ce821727d Update ngx_rtmp_play_module.c
fixed compilation with nginx 1.7.12
2015-04-09 12:57:07 +02:00
itpp16 809f094124 Update ngx_rtmp_handler.c
fixed compilation with nginx 1.7.12
2015-04-09 12:47:32 +02:00
Anton Baranov 2c2e90b706 add Directive record_interval_size 2015-04-08 11:08:17 +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
Hannes Ljungberg 955c7e6b64 Remove unneeded space in EXT-X-PLAYLIST-TYPE tag 2015-03-27 13:31:40 +01:00
Roman Arutyunyan f62a083806 fixed compilation with nginx 1.7.11 2015-03-23 22:30:37 +03:00
BeenWoo cb36f9c23c Update ngx_rtmp_codec_module.c
Some encoders send "setDataFrame" instead of "@setDataFrame", which makes rtmp module can't show correct video frame rate in stat page.
2015-02-03 15:37:46 +08:00
Florian Zeitz 1d1d4fcac6 Fix access to config field of ngx_rtmp_in{,6}_addr_t. Closes #290 2014-11-28 19:19:52 +01:00
Jeffrey Wescott 459e730d34 don't send @setDataFrame unless we've already received NetStream.Publish.Start 2014-11-05 17:16:21 -08:00
Jeffrey Wescott 8f0f2e75c9 We need to loop through _all_ of the ctx->play sessions when sending @setDataFrame 2014-10-30 21:44:26 -07:00
Jeffrey Wescott 17159755e5 Support for the data channel for the record module. 2014-10-30 18:20:54 -07:00
Jeffrey Wescott de42f3801d Support for onTextData and onCuePoint in the data channel for the live module. 2014-10-30 18:18:53 -07:00
Jeffrey Wescott 1d21d68c3c It's possible that we'll receive NetStream.Publish.Start _before_ the codec
module has parsed the meta data. To handle that case, we'll also try to call
@setDataFrame when we receive the @setDataFrame from the publisher.
2014-10-30 13:17:17 -07:00
Jeffrey Wescott 2a54c8e089 Adobe Media Server and the like require that metadata is sent using
@setDataFrame. As such, in the relay module, when propagating metadata to
another server, we will use the @setDataFrame command.
2014-10-29 17:22:22 -07:00
Jeffrey Wescott d069f36f86 to avoid writing invalid metadata, don't overwrite metadata from previous @setDataFrame / onMetaData invocations unless the metadata has actually changed 2014-10-27 18:46:55 -07:00
Wing 99433754df fix 'volatile' qualifiers error 2014-10-24 01:35:36 +08:00
Wing 2362acf45c fix 'volatile' qualifiers error 2014-10-24 01:34:12 +08:00
Juarez Bochi ad6c63c149 Fix the way date time is written to fd 2014-10-10 13:33:32 -03:00
Juarez Bochi c54b413b43 Add program datetime from system or stream timestamp 2014-10-10 13:33:32 -03:00
Roman Arutyunyan 7a35372e30 enabled static relay cleanup to fix static_relay+auto_push combination 2014-09-23 23:39:09 +04:00
Alexey Plotnik d99c069e8e Add in/out traffice per client (because <play> has no information about traffic itself) 2014-09-22 00:51:09 +11:00
Roman Arutyunyan 5fb4c99ca9 added queue init 2014-09-21 10:17:58 +04:00
Roman Arutyunyan e1f92b1409 Merge pull request #469 from itpp16/patch-1
Update ngx_rtmp_mpegts.c
2014-09-17 09:42:25 +04:00
Roman Arutyunyan dd5f2aa117 fixed compilation 2014-09-17 07:10:38 +04:00
itpp16 d574043a96 Update ngx_rtmp_mpegts.c
Fixes for "warning C4244: '=' : conversion from 'uint64_t' to 'u_char', possible loss of data"
2014-09-13 22:48:03 +02:00
Roman Arutyunyan c390521963 Merge branch 'master' of github.com:arut/nginx-rtmp-module 2014-09-09 20:45:57 +04:00
Roman Arutyunyan 83dc27d30a fixed issue with multiple access_logs 2014-09-09 20:45:06 +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
Bryan Berg 9ebfcc1978 Parse scaling list from SPS
This is required for the dimensions to be calcuated properly when
streaming using the high profile (at least for the encoder I'm
using). Without this, the scaling list isn't skipped over and
the parsed dimensions are incorrect.

When the dimensions are incorrect, the MPEG-DASH manifest is
generated incorrectly.
2014-09-07 12:48:56 -07:00
Roman Arutyunyan 0bb2323990 Merge pull request #458 from saintdev/for-upstream
Explicitly signal HE-AAC in DASH manifest
2014-09-01 22:44:12 +04:00
Roman Arutyunyan 7500b4bd90 fixed path allocation 2014-09-01 18:30:41 +04:00
Roman Arutyunyan eb1cfef69e zero fragments_per_key now means one key per stream 2014-09-01 18:01:28 +04:00
Roman Arutyunyan 0b3d545ff6 fixed return code 2014-09-01 17:21:13 +04:00
Roman Arutyunyan 5e1d735992 fixed encryption 2014-09-01 17:10:03 +04:00
Roman Arutyunyan 997f24c5c6 implemented key id recovery from iv 2014-09-01 16:39:10 +04:00
Roman Arutyunyan 8099f44828 optimized aes128 encryption in mpegts writer 2014-09-01 13:25:48 +04:00
Roman Arutyunyan 51ab327abf fixed style 2014-08-31 18:58:43 +04:00
Roman Arutyunyan 69c090d85f renamed directives 2014-08-31 18:50:04 +04:00
Roman Arutyunyan 2f82fa2e8e fixed hls key path 2014-08-31 14:48:48 +04:00
Roman Arutyunyan 773336e497 make aes iv big-endian 2014-08-31 13:53:46 +04: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 4bed919cbe read hls key from old playlist 2014-08-05 16:00:50 +04:00
Roman Arutyunyan 416931d631 added keys directory handling 2014-08-05 14:28:04 +04:00
Roman Arutyunyan eff973ce01 fixes in hls encryption 2014-08-05 11:26:19 +04:00
Roman Arutyunyan 53064a48f1 implemented hls key auto-generation 2014-08-05 00:35:27 +04:00
Peter Wright 80d7b1c905 Allow the filename on disk to use no suffix (or a different suffix from the format), as long as the format prefix is used (e.g. "mp4:test.mov") 2014-07-17 13:07:49 +00:00
Roman Arutyunyan 8acacd0d79 fixed skipping first key frame in mp4 streamer 2014-04-24 07:06:11 +04:00
Roman Arutyunyan 607a53842a fixed debug logging 2014-04-08 04:53:11 +04:00