You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
avformat/rtmpproto: Do not fail when the length cannot be determined for live streams
Fixes Ticket4071 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -1822,6 +1822,11 @@ static int handle_invoke_error(URLContext *s, RTMPPacket *pkt)
|
|||||||
/* Gracefully ignore Adobe-specific historical artifact errors. */
|
/* Gracefully ignore Adobe-specific historical artifact errors. */
|
||||||
level = AV_LOG_WARNING;
|
level = AV_LOG_WARNING;
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
} else if (rt->live &&
|
||||||
|
tracked_method &&
|
||||||
|
!strcmp(tracked_method, "getStreamLength")) {
|
||||||
|
level = AV_LOG_DEBUG;
|
||||||
|
ret = 0;
|
||||||
} else if (tracked_method && !strcmp(tracked_method, "connect")) {
|
} else if (tracked_method && !strcmp(tracked_method, "connect")) {
|
||||||
ret = handle_connect_error(s, tmpstr);
|
ret = handle_connect_error(s, tmpstr);
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
|
Reference in New Issue
Block a user