- 21 Oct, 2016 1 commit
-
-
Hiroyuki OYAMA authored
Fix problem to fail by a RTMP Control Message except "Set Chunk Size (1)" after an RTMP handshake. When 'nginx-rtmp-module' relays an RTMP, it sends not only control message 'Set Chunk Size (1)' but also 'Window Acknowledgement Size (5)'. Reviewed-by:
Steven Liu <lingjiujianke@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 04 May, 2016 1 commit
-
-
Vittorio Giovara authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 24 Mar, 2016 1 commit
-
-
Martin Storsjö authored
Since all URLContexts have the same AVOptions, such AVOptions will be applied on the outermost context only and removed from the dict, while they probably make sense on all contexts. This makes sure that rw_timeout gets propagated to the innermost URLContext (to make sure it gets passed to the tcp protocol, when opening a http connection for instance). Alternatively, such matching options would be kept in the dict and only removed after the ffurl_connect call. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 04 Mar, 2016 1 commit
-
-
Derek Buitenhuis authored
Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 22 Feb, 2016 2 commits
-
-
Anton Khirnov authored
This way, the decisions about which protocols are available for use in any given situations can be delegated to the caller.
-
Anton Khirnov authored
Instead of a linked list constructed at av_register_all(), store them in a constant array of pointers. Since no registration is necessary now, this removes some global state from lavf. This will also allow the urlprotocol layer caller to limit the available protocols in a simple and flexible way in the following commits.
-
- 02 Feb, 2016 1 commit
-
-
Michael Niedermayer authored
Reviewed-by:
Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 13 Dec, 2015 1 commit
-
-
Martin Storsjö authored
This matches what librtmp does. This fixes automatic url parsing of crunchyroll urls. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 14 Oct, 2015 1 commit
-
-
Michael Niedermayer authored
In one case it was written as zero, one case left it uninitialized, missed the 11 bytes for the flv header. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 02 Oct, 2015 1 commit
-
-
Michael Niedermayer authored
This should fix RTMP input which was broken by cbbd906b the 40 + 11 case is untested as it did not occur in the testcase Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 16 Sep, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 30 Jul, 2015 2 commits
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Martin Storsjö <martin@martin.st>
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 29 Jul, 2015 2 commits
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Martin Storsjö <martin@martin.st>
-
James Almer authored
Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 01 Jul, 2015 1 commit
-
-
Paul B Mahol authored
Fixes #4103. Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 19 Apr, 2015 1 commit
-
-
Vittorio Giovara authored
This applies to every library where performance is not critical.
-
- 22 Dec, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 28 Nov, 2014 4 commits
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Currently, when streaming to an RTMP server, any time a packet of type RTMP_PT_NOTIFY is encountered, the packet is prepended with @setDataFrame before it gets sent to the server. This is incorrect; only packets for onMetaData and |RtmpSampleAccess should invoke @setDataFrame on the RTMP server. Specifically, the current bug manifests itself when trying to stream onTextData or onCuePoint invocations. This fix addresses that problem and ensures that the @setDataFrame is only prepended for onMetaData and |RtmpSampleAccess. Since data is fed to the rtmp_write function in smaller pieces (depending on the calling IO buffer size), we can't generally assume that the whole packet (or even the whole command string) is available at once, therefore we can only check the command string once the full packet has been transferred to us for sending. Based on a patch by Jeffrey Wescott. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 23 Nov, 2014 1 commit
-
-
Jeffrey Wescott authored
In current versions of ffmpeg, when streaming to an RTMP server, anytime a packet of type RTMP_PT_NOTIFY is encountered, the packet is prepended with @setDataFrame before it gets sent to the server. This is incorrect; only packets for onMetaData and |RtmpSampleAccess should invoke @setDataFrame on the RTMP server. Specifically, the current bug manifests itself when trying to stream onTextData or onCuePoint invocations. This fix addresses that problem and ensures that the @setDataFrame is only prepended for onMetaData and |RtmpSampleAccess. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 05 Nov, 2014 1 commit
-
-
Martin Storsjö authored
It is never an error if this method failed. If rt->live was explicitly set to 0 (known to be a recorded file), print it as a warning, otherwise print it as a debug message. Based on a patch by Michael Niedermayer. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 03 Nov, 2014 1 commit
-
-
Michael Niedermayer authored
Fixes Ticket4071 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 20 Oct, 2014 1 commit
-
-
Vittorio Giovara authored
Expression already evaluated before, redundant since 05338686. Bug-Id: CID 732199
-
- 19 Oct, 2014 1 commit
-
-
Kacper Michajłow authored
For URLs "rtmp://server[:port]/foo" determine what `foo` refers to. If application name has been defined by the user assume that `foo` is a playpath, otherwise assume application name. Signed-off-by:
Kacper Michajłow <kasper93@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 18 Oct, 2014 1 commit
-
-
Alexander Drozdov authored
Prevent possible memory leaks. Connect to nginx and request a non-existent resource to trigger the issue. CC: libav-stable@libav.org Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Uwe L. Korn <uwelk@xhochy.com> Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 17 Oct, 2014 4 commits
-
-
Uwe L. Korn authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Uwe L. Korn authored
Some RTMP commands need the most recent timestamp as their parameter, so keep track of it. This must be the most recent one and not e.g. the max received timestamp as it can decrease again through seeking. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Uwe L. Korn authored
In (non-live) streams with no metadata, the duration of a stream can be retrieved by calling the RTMP function getStreamLength with the playpath. The server will return a positive duration upon the request if the duration is known, otherwise either no response or a duration of 0 will be returned. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Uwe L. Korn authored
Packets that contain a number as a result to a rtmp function call are structured the same way (String, Number, Null, Number). This new method also includes more bounds checks to better handle packets that are not structured as expected. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 15 Oct, 2014 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 30 Sep, 2014 1 commit
-
-
Alexander Drozdov authored
If we setup AVIO interrupt callback and it will be returns 1 on socket timeouts and we try to connect to non-existing streams on some servers (like nginx-rtmp) we got FD leak. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 15 Aug, 2014 1 commit
-
-
Gabriel Dume authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 01 Jun, 2014 1 commit
-
-
Uwe L. Korn authored
In the presence of no metadata, do not set any stream flag in the FLV header but let the demuxer handle the detection and creation of streams as data arrives. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 16 May, 2014 2 commits
-
-
Reynaldo H. Verdejo Pinochet authored
Should aid debugging badly formatted URLs Signed-off-by:
Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
-
Reynaldo H. Verdejo Pinochet authored
Use default values if parsed variable is found not to have any value. Avoids crashing at strlen for salt/user on the auth call afterwards and needless NULL assignments for the rest (default is already NULL for those). Should fix Coverity Scan issues #966644 and #966645 Signed-off-by:
Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
-
- 08 May, 2014 2 commits
-
-
Michael Niedermayer authored
Suggested-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Martin Storsjö authored
As pointed out by Reimar Döffinger. CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-