962 Commits

Author SHA1 Message Date
6c7719d0ba Fixed compilation with clang.
Thanks to Dmitry Tsidilin.
2024-12-24 14:27:05 +04:00
2fb11dffae SSL shutdown for rtmps.
While rtmp module does not support SSL, starting from nginx 1.25.5 an SSL
connection can be passed from nginx stream pass module.  Such connections
should be shut down on connection closure.

An rtmps example:

rtmp {
    server {
        listen 1935; # rtmp
        application foo {
            live on;
        }
    }
}

stream {
    server {
        listen 1936 ssl; # rtmps
        ssl_certificate example.com.crt;
        ssl_certificate_key example.com.key;
        pass 127.0.0.1:1935;
    }
}
2024-04-03 11:24:47 +04:00
6f9fa49a2f Added propagation of the "wildcard" flag to c->listening.
The change repeats nginx commit cb149fa03367 and is needed for stream pass
module to be able to pass connections to rtmp.
2024-04-03 11:09:46 +04:00
c56fd73def Fixed unused variable warining. 2024-04-03 10:22:00 +04:00
23e1873aa6 Fixed null pointer dereference while reading AMF.
Thanks to Zengxian Ding.
v1.2.2
2021-05-25 10:42:16 +03:00
2f2db811f8 Fixed buffer overrun after changing chunk size.
Thanks to Zengxian Ding.
2021-05-24 13:08:45 +03:00
afd350e0d8 Fixed compilation with newer compilers. 2020-12-02 13:42:40 +00:00
791b6136f0 Merge pull request #1125 from martynjarvis/fall-through-comments
Add  "fall through" comments to stop GCC 7 complaining
v1.2.1
2017-11-29 13:47:32 +03:00
716d3c8b23 Add "fall through" comments
Without these comments gcc7 will complain (-Wimplicit-fallthrough).

This fixes #1109.
2017-09-28 18:13:20 +01:00
43f1e4209b Set DASH fragment max duration and fixed manifest. v1.2.0 2017-07-10 18:26:17 +03:00
e636a042e0 Fixed DASH availability start time. 2017-06-10 20:37:56 +03:00
1cdeb07174 Fixed MPEG-DASH playback and MPD validity. 2017-06-10 20:21:49 +03:00
ed23a34b81 Set max RTMP chunk size. 2017-06-01 14:13:12 +03:00
04f0ab97ac OpenSSL-1.1 support v1.1.11 2017-02-13 16:28:31 +03:00
5150993acc support for nginx 1.11.5-style cache-manager v1.1.10 2016-10-07 13:15:50 +03:00
c0bf381d10 fixed rtmp as a dynamic module v1.1.9 2016-08-09 15:45:06 +03:00
cb54ed4ac0 fixed compilation with the latest nginx version v1.1.8 2016-07-05 20:23:44 +03:00
e08959247d support for dynamic build 2016-03-07 08:44:44 +03:00
f62a083806 fixed compilation with nginx 1.7.11 v1.1.7 2015-03-23 22:30:37 +03:00
7a35372e30 enabled static relay cleanup to fix static_relay+auto_push combination v1.1.6 2014-09-23 23:39:09 +04:00
5fb4c99ca9 added queue init 2014-09-21 10:17:58 +04:00
e1f92b1409 Merge pull request #469 from itpp16/patch-1
Update ngx_rtmp_mpegts.c
2014-09-17 09:42:25 +04:00
dd5f2aa117 fixed compilation 2014-09-17 07:10:38 +04:00
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
c390521963 Merge branch 'master' of github.com:arut/nginx-rtmp-module 2014-09-09 20:45:57 +04:00
83dc27d30a fixed issue with multiple access_logs 2014-09-09 20:45:06 +04:00
0bb2323990 Merge pull request #458 from saintdev/for-upstream
Explicitly signal HE-AAC in DASH manifest
2014-09-01 22:44:12 +04:00
7500b4bd90 fixed path allocation v1.1.5 2014-09-01 18:30:41 +04:00
eb1cfef69e zero fragments_per_key now means one key per stream 2014-09-01 18:01:28 +04:00
0b3d545ff6 fixed return code 2014-09-01 17:21:13 +04:00
5e1d735992 fixed encryption 2014-09-01 17:10:03 +04:00
997f24c5c6 implemented key id recovery from iv 2014-09-01 16:39:10 +04:00
8099f44828 optimized aes128 encryption in mpegts writer 2014-09-01 13:25:48 +04:00
51ab327abf fixed style 2014-08-31 18:58:43 +04:00
69c090d85f renamed directives 2014-08-31 18:50:04 +04:00
2f82fa2e8e fixed hls key path 2014-08-31 14:48:48 +04:00
773336e497 make aes iv big-endian 2014-08-31 13:53:46 +04:00
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
4bed919cbe read hls key from old playlist 2014-08-05 16:00:50 +04:00
416931d631 added keys directory handling 2014-08-05 14:28:04 +04:00
eff973ce01 fixes in hls encryption 2014-08-05 11:26:19 +04:00
53064a48f1 implemented hls key auto-generation 2014-08-05 00:35:27 +04:00
8acacd0d79 fixed skipping first key frame in mp4 streamer 2014-04-24 07:06:11 +04:00
607a53842a fixed debug logging 2014-04-08 04:53:11 +04:00
812e2fd7b1 fixed compilation with old nginx 2014-04-03 19:13:26 +04:00
8c2229cce5 version bump v1.1.4 2014-04-03 07:13:12 +04:00
a72e33ea41 fixed proxy protocol event error 2014-03-31 11:03:30 +04:00
4e780909b9 added proxy protocol support 2014-03-31 08:52:20 +04:00
876de488b8 added epoch argument to on_connect 2014-03-05 11:34:33 +04:00
abb017225b fixed errors in control output; now returning http 206 instead of empty recorded file path 2014-03-04 16:02:09 +04:00