Opened 3 years ago

Last modified 3 years ago

#5079 new defect

rtmp stream ping recursion, timeout not work, interrupt_callback not working

Reported by: avenger_msoft Owned by:
Priority: normal Component: avformat
Version: unspecified Keywords: rtmp
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Not work interrupt_callback procedure and not work timeout in url: rtmp://rictv.cdnvideo.ru:1935/rictv/rictv.sdp

How to reproduce:

So you should type:
ffprobe.exe -v 9 -loglevel 99 -timeout 5 -print_format json -show_streams rtmp://rictv.cdnvideo.ru:1935/rictv/rictv.sdp

ffprobe version N-77179-g82f3d47 Copyright (c) 2007-2015 the FFmpeg developers

built with gcc 5.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 10.100 / 55. 10.100
libavcodec 57. 17.100 / 57. 17.100
libavformat 57. 19.100 / 57. 19.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 20.100 / 6. 20.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100

Parsing...
Parsed protocol: 0
Parsed host : rictv.cdnvideo.ru
Parsed app : rictv
RTMP_Connect1, ... connected, handshaking
HandShake?: Type Answer : 03
HandShake?: Server Uptime : 96850052
HandShake?: FMS Version : 3.0.1.1
HandShake?: Handshaking finished....
RTMP_Connect1, handshaked
RTMP_SendPacket: fd=456, size=180
Invoking connect
RTMP_ReadPacket: fd=456
HandleServerBW: server BW = 2500000
RTMP_ReadPacket: fd=456
HandleClientBW: client BW = 2500000 2
RTMP_ReadPacket: fd=456
HandleCtrl?, received ctrl. type: 0, len: 6
HandleCtrl?, Stream Begin 0
RTMP_ReadPacket: fd=456
HandleChangeChunkSize?, received: chunk size change to 512
RTMP_ReadPacket: fd=456
RTMP_ClientPacket, received: invoke 261 bytes
(object begin)
Property: <Name: no-name., STRING: _result>
Property: <Name: no-name., NUMBER: 1.00>
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: fmsVer, STRING: FMS/3,5,7,7009>
Property: <Name: capabilities, NUMBER: 31.00>
Property: <Name: mode, NUMBER: 1.00>
(object end)
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: level, STRING: status>
Property: <Name: code, STRING: NetConnection.Connect.Success>
Property: <Name: description, STRING: Connection succeeded.>
Property: <Name: data, ECMA_ARRAY>
(object begin)
Property: <Name: version, STRING: 3,5,7,7009>
(object end)
Property: <Name: clientid, NUMBER: 1111974866.00>
Property: <Name: objectEncoding, NUMBER: 0.00>
(object end)
(object end)
HandleInvoke?, server invoking <_result>
HandleInvoke?, received result for method call <connect>
RTMP_SendPacket: fd=456, size=4
sending ctrl. type: 0x0003
RTMP_SendPacket: fd=456, size=10
RTMP_SendPacket: fd=456, size=25
Invoking createStream
RTMP_ReadPacket: fd=456
RTMP_ClientPacket, received: invoke 29 bytes
(object begin)
Property: <Name: no-name., STRING: _result>
Property: <Name: no-name., NUMBER: 2.00>
Property: NULL
Property: <Name: no-name., NUMBER: 1.00>
(object end)
HandleInvoke?, server invoking <_result>
HandleInvoke?, received result for method call <createStream>
SendPlay?, seekTime=0, stopTime=0, sending play: rictv.sdp
RTMP_SendPacket: fd=456, size=38
Invoking play
sending ctrl. type: 0x0003
RTMP_SendPacket: fd=456, size=10
RTMP_ReadPacket: fd=456
HandleCtrl?, received ctrl. type: 6, len: 6
HandleCtrl?, Ping 20842
sending ctrl. type: 0x0007
RTMP_SendPacket: fd=456, size=6
RTMP_ReadPacket: fd=456
HandleCtrl?, received ctrl. type: 6, len: 6
HandleCtrl?, Ping 41616
sending ctrl. type: 0x0007
RTMP_SendPacket: fd=456, size=6
RTMP_ReadPacket: fd=456
HandleCtrl?, received ctrl. type: 6, len: 6
HandleCtrl?, Ping 61654
sending ctrl. type: 0x0007
RTMP_SendPacket: fd=456, size=6
RTMP_ReadPacket: fd=456
HandleCtrl?, received ctrl. type: 6, len: 6
HandleCtrl?, Ping 81892
sending ctrl. type: 0x0007
RTMP_SendPacket: fd=456, size=6
RTMP_ReadPacket: fd=456
HandleCtrl?, received ctrl. type: 6, len: 6
HandleCtrl?, Ping 102163
sending ctrl. type: 0x0007
RTMP_SendPacket: fd=456, size=6
RTMP_ReadPacket: fd=456
HandleCtrl?, received ctrl. type: 6, len: 6
HandleCtrl?, Ping 122404
sending ctrl. type: 0x0007
RTMP_SendPacket: fd=456, size=6
RTMP_ReadPacket: fd=456
HandleCtrl?, received ctrl. type: 6, len: 6
HandleCtrl?, Ping 142604
sending ctrl. type: 0x0007
RTMP_SendPacket: fd=456, size=6
RTMP_ReadPacket: fd=456
HandleCtrl?, received ctrl. type: 6, len: 6
HandleCtrl?, Ping 163008
sending ctrl. type: 0x0007
RTMP_SendPacket: fd=456, size=6
RTMP_ReadPacket: fd=456
HandleCtrl?, received ctrl. type: 6, len: 6
HandleCtrl?, Ping 183616
sending ctrl. type: 0x0007
RTMP_SendPacket: fd=456, size=6
RTMP_ReadPacket: fd=456
HandleCtrl?, received ctrl. type: 6, len: 6
HandleCtrl?, Ping 204253
sending ctrl. type: 0x0007
RTMP_SendPacket: fd=456, size=6
RTMP_ReadPacket: fd=456
HandleCtrl?, received ctrl. type: 6, len: 6
HandleCtrl?, Ping 224395
sending ctrl. type: 0x0007
RTMP_SendPacket: fd=456, size=6
RTMP_ReadPacket: fd=456

Change History (2)

comment:1 Changed 3 years ago by cehoyos

  • Keywords interrupt_callback ffprobe removed
  • Priority changed from critical to normal
  • Version changed from 2.7.3 to unspecified

Is this a regression or why would it be important?

comment:2 Changed 3 years ago by avenger_msoft

I dont know.

Note: See TracTickets for help on using tickets.