[Libav-user] Problems with RTMP playback

Martín Ferrari tincho at tincho.org
Tue May 5 14:25:41 CEST 2015


Hi,

I am working on an Android application that uses ffmpeg (0.10 branch) to
playback radio stations, and I am trying to add RTMP support to it.

I have tried both the built-in support for RTMP and using librtmp, and I
always get a similar problem: the connection setup never finishes.

I have tried running rtmpdump directly in the phone, and it has no
problem dumping the stream. I couldn't build ffplay for the phone, but I
have tried ffprobe and it seems to have the same problem.

For comparison, I ran some tests with the same stream using the stock
ffmpeg from Debian (branch 2.6), and it works flawlessly. So, I am
thinking it might be a problem with the configure flags, but I have no
clue where it may be... Any help would be apprecaited!

The current configure flags are:

configure --enable-cross-compile --arch=arm --target-os=linux
--enable-runtime-cpudetect --prefix=/data/data/org.witness.sscvideoproto
--enable-pic --disable-shared --disable-armvfp --disable-neon
--disable-avx --extra-cflags=-mfloat-abi=softfp --enable-static
--enable-small
--cross-prefix=/home/tincho/android-ndk-r10d//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
--sysroot=/home/tincho/android-ndk-r10d//platforms/android-3/arch-arm
--enable-version3 --enable-memalign-hack --disable-doc --enable-yasm
--disable-swscale --disable-avfilter --disable-decoders
--enable-decoder=wmapro --enable-decoder=wmav1 --enable-decoder=wmav2
--enable-decoder=mp3 --enable-decoder=mp3adu
--enable-decoder=mp3adufloat --enable-decoder=mp3float
--enable-decoder=mp3on4 --enable-decoder=mp3on4
--enable-decoder=mp3on4floats --enable-decoder=aac
--enable-decoder=aac_latm --enable-decoder=ac3 --disable-encoders
--disable-hwaccels --disable-muxers --disable-demuxers
--enable-demuxer=asf --enable-demuxer=xwma --enable-demuxer=mp3
--enable-demuxer=aac --disable-parsers --enable-parser=aac
--enable-parser=mpegaudio --enable-parser=aac_latm --disable-protocols
--enable-protocol=http --enable-protocol=mmsh --enable-protocol=mmst
--enable-librtmp --enable-protocol=rtmp --disable-bsfs --disable-indevs
--disable-outdevs --disable-filters --disable-avdevice --disable-debug
--disable-ffserver --extra-cflags="-I../rtmpdump/"
--extra-libs="../rtmpdump/librtmp/librtmp.a"

Attached are the logs from running my application, ffprobe and rtmpdump,
all with the same test stream.

-- 
Martín Ferrari (Tincho)

-------------- next part --------------
05-05 11:42:08.408: I/RadioStreams(15766): FFmpeg version 0.10.3
05-05 11:42:08.408: I/RadioStreams(15766): avConnectStream: step - 0
05-05 11:42:08.416: I/RadioStreams(15766): avConnectStream: step - 1: opening rtmp://rtmp-live.sr.se/webbradio/kanaler/p2musik-aac-96.
05-05 11:42:08.416: I/RadioStreams(15766): Parsing...
05-05 11:42:08.416: I/RadioStreams(15766): Parsed protocol: 0
05-05 11:42:08.416: I/RadioStreams(15766): Parsed host    : rtmp-live.sr.se
05-05 11:42:08.416: I/RadioStreams(15766): Parsed app     : webbradio/kanaler
05-05 11:42:08.611: I/RadioStreams(15766): RTMP_Connect1, ... connected, handshaking
05-05 11:42:08.728: I/RadioStreams(15766): HandShake: Type Answer   : 03
05-05 11:42:08.728: I/RadioStreams(15766): HandShake: Server Uptime : 96850052
05-05 11:42:08.728: I/RadioStreams(15766): HandShake: FMS Version   : 3.0.1.1
05-05 11:42:08.822: I/RadioStreams(15766): RTMP_Connect1, handshaked
05-05 11:42:08.822: I/RadioStreams(15766): Invoking connect
05-05 11:42:08.924: I/RadioStreams(15766): HandleServerBW: server BW = 2500000
05-05 11:42:08.924: I/RadioStreams(15766): HandleClientBW: client BW = 2500000 2
05-05 11:42:08.924: I/RadioStreams(15766): HandleCtrl, received ctrl. type: 0, len: 6
05-05 11:42:08.924: I/RadioStreams(15766): HandleCtrl, Stream Begin 0
05-05 11:42:08.924: I/RadioStreams(15766): HandleChangeChunkSize, received: chunk size change to 512
05-05 11:42:08.924: I/RadioStreams(15766): RTMP_ClientPacket, received: invoke 261 bytes
05-05 11:42:08.924: I/RadioStreams(15766): (object begin)
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:           no-name., STRING:	_result>
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:           no-name., NUMBER:	1.00>
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:           no-name., OBJECT>
05-05 11:42:08.924: I/RadioStreams(15766): (object begin)
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:             fmsVer, STRING:	FMS/3,5,7,7009>
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:       capabilities, NUMBER:	31.00>
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:               mode, NUMBER:	1.00>
05-05 11:42:08.924: I/RadioStreams(15766): (object end)
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:           no-name., OBJECT>
05-05 11:42:08.924: I/RadioStreams(15766): (object begin)
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:              level, STRING:	status>
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:               code, STRING:	NetConnection.Connect.Success>
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:        description, STRING:	Connection succeeded.>
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:               data, ECMA_ARRAY>
05-05 11:42:08.924: I/RadioStreams(15766): (object begin)
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:            version, STRING:	3,5,7,7009>
05-05 11:42:08.924: I/RadioStreams(15766): (object end)
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:           clientid, NUMBER:	855208296.00>
05-05 11:42:08.924: I/RadioStreams(15766): Property: <Name:     objectEncoding, NUMBER:	0.00>
05-05 11:42:08.924: I/RadioStreams(15766): (object end)
05-05 11:42:08.924: I/RadioStreams(15766): (object end)
05-05 11:42:08.924: I/RadioStreams(15766): HandleInvoke, server invoking <_result>
05-05 11:42:08.924: I/RadioStreams(15766): HandleInvoke, received result for method call <connect>
05-05 11:42:08.932: I/RadioStreams(15766): sending ctrl. type: 0x0003
05-05 11:42:08.932: I/RadioStreams(15766): Invoking createStream
05-05 11:42:09.025: I/RadioStreams(15766): RTMP_ClientPacket, received: invoke 29 bytes
05-05 11:42:09.025: I/RadioStreams(15766): (object begin)
05-05 11:42:09.025: I/RadioStreams(15766): Property: <Name:           no-name., STRING:	_result>
05-05 11:42:09.025: I/RadioStreams(15766): Property: <Name:           no-name., NUMBER:	2.00>
05-05 11:42:09.025: I/RadioStreams(15766): Property: NULL
05-05 11:42:09.025: I/RadioStreams(15766): Property: <Name:           no-name., NUMBER:	1.00>
05-05 11:42:09.025: I/RadioStreams(15766): (object end)
05-05 11:42:09.025: I/RadioStreams(15766): HandleInvoke, server invoking <_result>
05-05 11:42:09.025: I/RadioStreams(15766): HandleInvoke, received result for method call <createStream>
05-05 11:42:09.025: I/RadioStreams(15766): SendPlay, seekTime=0, stopTime=0, sending play: p2musik-aac-96
05-05 11:42:09.025: I/RadioStreams(15766): Invoking play
05-05 11:42:09.025: I/RadioStreams(15766): sending ctrl. type: 0x0003
05-05 11:42:10.033: I/RadioStreams(15766): RTMP_ClientPacket, received: invoke 274 bytes
05-05 11:42:10.033: I/RadioStreams(15766): (object begin)
05-05 11:42:10.033: I/RadioStreams(15766): Property: <Name:           no-name., STRING:	onStatus>
05-05 11:42:10.033: I/RadioStreams(15766): Property: <Name:           no-name., NUMBER:	0.00>
05-05 11:42:10.033: I/RadioStreams(15766): Property: NULL
05-05 11:42:10.033: I/RadioStreams(15766): Property: <Name:           no-name., OBJECT>
05-05 11:42:10.033: I/RadioStreams(15766): (object begin)
05-05 11:42:10.033: I/RadioStreams(15766): Property: <Name:              level, STRING:	status>
05-05 11:42:10.033: I/RadioStreams(15766): Property: <Name:               code, STRING:	NetStream.Play.PublishNotify>
05-05 11:42:10.033: I/RadioStreams(15766): Property: <Name:        description, STRING:	wowz://site01-org02b.external.web:1935/webbradio/kanaler/p2musik-aac-96|wowz://site01-org02a.external.web:1935/webbradio/kanaler/p2musik-aac-96 is now published.>
05-05 11:42:10.033: I/RadioStreams(15766): Property: <Name:           clientid, NUMBER:	855208296.00>
05-05 11:42:10.033: I/RadioStreams(15766): (object end)
05-05 11:42:10.033: I/RadioStreams(15766): (object end)
05-05 11:42:10.033: I/RadioStreams(15766): HandleInvoke, server invoking <onStatus>
05-05 11:42:10.033: I/RadioStreams(15766): HandleInvoke, onStatus: NetStream.Play.PublishNotify
05-05 11:42:18.228: I/RadioStreams(15766): HandleCtrl, received ctrl. type: 0, len: 6
05-05 11:42:18.228: I/RadioStreams(15766): HandleCtrl, Stream Begin 1
05-05 11:42:18.228: I/RadioStreams(15766): RTMP_ClientPacket, received: invoke 271 bytes
05-05 11:42:18.228: I/RadioStreams(15766): (object begin)
05-05 11:42:18.228: I/RadioStreams(15766): Property: <Name:           no-name., STRING:	onStatus>
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:           no-name., NUMBER:	0.00>
05-05 11:42:18.236: I/RadioStreams(15766): Property: NULL
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:           no-name., OBJECT>
05-05 11:42:18.236: I/RadioStreams(15766): (object begin)
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:              level, STRING:	status>
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:               code, STRING:	NetStream.Play.Reset>
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:        description, STRING:	Playing and resetting wowz://site01-org02b.external.web:1935/webbradio/kanaler/p2musik-aac-96|wowz://site01-org02a.external.web:1935/webbradio/kanaler/p2musik-aac-96.>
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:           clientid, NUMBER:	855208296.00>
05-05 11:42:18.236: I/RadioStreams(15766): (object end)
05-05 11:42:18.236: I/RadioStreams(15766): (object end)
05-05 11:42:18.236: I/RadioStreams(15766): HandleInvoke, server invoking <onStatus>
05-05 11:42:18.236: I/RadioStreams(15766): HandleInvoke, onStatus: NetStream.Play.Reset
05-05 11:42:18.236: I/RadioStreams(15766): RTMP_ClientPacket, received: invoke 309 bytes
05-05 11:42:18.236: I/RadioStreams(15766): (object begin)
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:           no-name., STRING:	onStatus>
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:           no-name., NUMBER:	0.00>
05-05 11:42:18.236: I/RadioStreams(15766): Property: NULL
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:           no-name., OBJECT>
05-05 11:42:18.236: I/RadioStreams(15766): (object begin)
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:              level, STRING:	status>
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:               code, STRING:	NetStream.Play.Start>
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:        description, STRING:	Started playing wowz://site01-org02b.external.web:1935/webbradio/kanaler/p2musik-aac-96|wowz://site01-org02a.external.web:1935/webbradio/kanaler/p2musik-aac-96.>
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:           clientid, NUMBER:	855208296.00>
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:         isFastPlay, BOOLEAN:	FALSE>
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:     timecodeOffset, STRING:	3524215936L>
05-05 11:42:18.236: I/RadioStreams(15766): (object end)
05-05 11:42:18.236: I/RadioStreams(15766): (object end)
05-05 11:42:18.236: I/RadioStreams(15766): HandleInvoke, server invoking <onStatus>
05-05 11:42:18.236: I/RadioStreams(15766): HandleInvoke, onStatus: NetStream.Play.Start
05-05 11:42:18.236: I/RadioStreams(15766): RTMP_ClientPacket, received: notify 44 bytes
05-05 11:42:18.236: I/RadioStreams(15766): (object begin)
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:           no-name., STRING:	onStatus>
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:           no-name., OBJECT>
05-05 11:42:18.236: I/RadioStreams(15766): (object begin)
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:               code, STRING:	NetStream.Data.Start>
05-05 11:42:18.236: I/RadioStreams(15766): (object end)
05-05 11:42:18.236: I/RadioStreams(15766): (object end)
05-05 11:42:18.236: I/RadioStreams(15766): RTMP_ClientPacket, received: notify 54 bytes
05-05 11:42:18.236: I/RadioStreams(15766): (object begin)
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:           no-name., STRING:	onMetaData>
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:           no-name., OBJECT>
05-05 11:42:18.236: I/RadioStreams(15766): (object begin)
05-05 11:42:18.236: I/RadioStreams(15766): Property: <Name:        StreamTitle, STRING:	Klassisk f??rmiddag>
05-05 11:42:18.236: I/RadioStreams(15766): (object end)
05-05 11:42:18.236: I/RadioStreams(15766): (object end)
05-05 11:42:18.236: I/RadioStreams(15766): Metadata:
05-05 11:42:18.236: I/RadioStreams(15766):   StreamTitle           Klassisk f??rmiddag
05-05 11:42:18.236: I/RadioStreams(15766): ignoring too small audio packet: size: 0
05-05 11:42:29.314: I/RadioStreams(15766): HandleCtrl, received ctrl. type: 6, len: 6
05-05 11:42:29.314: I/RadioStreams(15766): HandleCtrl, Ping 20580
05-05 11:42:29.314: I/RadioStreams(15766): sending ctrl. type: 0x0007
05-05 11:42:50.611: I/RadioStreams(15766): HandleCtrl, received ctrl. type: 6, len: 6
05-05 11:42:50.611: I/RadioStreams(15766): HandleCtrl, Ping 41880
05-05 11:42:50.611: I/RadioStreams(15766): sending ctrl. type: 0x0007
05-05 11:43:21.103: I/RadioStreams(15766): RTMPSockBuf_Fill, recv returned -1. GetSockError(): 11 (Try again)
05-05 11:43:21.103: I/RadioStreams(15766): RTMP_ReadPacket, failed to read RTMP packet header
05-05 11:43:21.182: I/RadioStreams(15766): Invoking deleteStream
-------------- next part --------------
$ ./ffprobe rtmp://rtmp-live.sr.se/webbradio/kanaler/p2musik-aac-96 -v verbose                                                                              
ffprobe version 0.10.3 Copyright (c) 2007-2012 the FFmpeg developers
  built on May  5 2015 11:57:27 with gcc 4.6 20120106 (prerelease)
  configuration: --enable-cross-compile --arch=arm --target-os=linux --enable-runtime-cpudetect --prefix=/data/data/org.witness.sscvideoproto --enable-pic --disable-shared --disable-armvfp --disable-neon --disable-avx --extra-cflags='-mfloat-abi=softfp' --enable-static --enable-small --cross-prefix=/home/tincho/android-ndk-r10d//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --sysroot=/home/tincho/android-ndk-r10d//platforms/android-3/arch-arm --enable-version3 --enable-memalign-hack --disable-doc --enable-yasm --disable-swscale --disable-avfilter --disable-decoders --enable-decoder=wmapro --enable-decoder=wmav1 --enable-decoder=wmav2 --enable-decoder=mp3 --enable-decoder=mp3adu --enable-decoder=mp3adufloat --enable-decoder=mp3float --enable-decoder=mp3on4 --enable-decoder=mp3on4 --enable-decoder=mp3on4floats --enable-decoder=aac --enable-decoder=aac_latm --enable-decoder=ac3 --disable-encoders --disable-hwaccels --disable-muxers --disable-demuxers --enable-demuxer=asf   libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libswresample   0.  6.100 /  0.  6.100
Parsing...
Parsed protocol: 0
Parsed host    : rtmp-live.sr.se
Parsed app     : webbradio/kanaler
RTMP_Connect1, ... connected, handshaking
HandShake: Type Answer   : 03
HandShake: Server Uptime : 96850052
HandShake: FMS Version   : 3.0.1.1
RTMP_Connect1, handshaked
Invoking connect
HandleServerBW: server BW = 2500000
HandleClientBW: client BW = 2500000 2
HandleCtrl, received ctrl. type: 0, len: 6
HandleCtrl, Stream Begin 0
HandleChangeChunkSize, received: chunk size change to 512
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:	1031254472.00>
Property: <Name:     objectEncoding, NUMBER:	0.00>
(object end)
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <connect>
sending ctrl. type: 0x0003
Invoking createStream
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: p2musik-aac-96
Invoking play
sending ctrl. type: 0x0003
HandleCtrl, received ctrl. type: 0, len: 6
HandleCtrl, Stream Begin 1
RTMP_ClientPacket, received: invoke 271 bytes
(object begin)
Property: <Name:           no-name., STRING:	onStatus>
Property: <Name:           no-name., NUMBER:	0.00>
Property: NULL
Property: <Name:           no-name., OBJECT>
(object begin)
Property: <Name:              level, STRING:	status>
Property: <Name:               code, STRING:	NetStream.Play.Reset>
Property: <Name:        description, STRING:	Playing and resetting wowz://site01-org02a.external.web:1935/webbradio/kanaler/p2musik-aac-96|wowz://site01-org02b.external.web:1935/webbradio/kanaler/p2musik-aac-96.>
Property: <Name:           clientid, NUMBER:	1031254472.00>
(object end)
(object end)
HandleInvoke, server invoking <onStatus>
HandleInvoke, onStatus: NetStream.Play.Reset
RTMP_ClientPacket, received: invoke 309 bytes
(object begin)
Property: <Name:           no-name., STRING:	onStatus>
Property: <Name:           no-name., NUMBER:	0.00>
Property: NULL
Property: <Name:           no-name., OBJECT>
(object begin)
Property: <Name:              level, STRING:	status>
Property: <Name:               code, STRING:	NetStream.Play.Start>
Property: <Name:        description, STRING:	Started playing wowz://site01-org02a.external.web:1935/webbradio/kanaler/p2musik-aac-96|wowz://site01-org02b.external.web:1935/webbradio/kanaler/p2musik-aac-96.>
Property: <Name:           clientid, NUMBER:	1031254472.00>
Property: <Name:         isFastPlay, BOOLEAN:	FALSE>
Property: <Name:     timecodeOffset, STRING:	3535859541L>
(object end)
(object end)
HandleInvoke, server invoking <onStatus>
HandleInvoke, onStatus: NetStream.Play.Start
RTMP_ClientPacket, received: notify 44 bytes
(object begin)
Property: <Name:           no-name., STRING:	onStatus>
Property: <Name:           no-name., OBJECT>
(object begin)
Property: <Name:               code, STRING:	NetStream.Data.Start>
(object end)
(object end)
RTMP_ClientPacket, received: notify 231 bytes
(object begin)
Property: <Name:           no-name., STRING:	onMetaData>
Property: <Name:           no-name., OBJECT>
(object begin)
Property: <Name:        StreamTitle, STRING:	Söndagsmorgon - Johann Sebastian Bach & Mariane Von Ziegler & Bibeln: Nt: Johannes 16:24 & 33 & Heinrich Müller - Kantat Nr 87 (Bisher Habt Ihr Nichts Gebeten In Meinem Namen), Bisher Habt Ihr>
(object end)
(object end)
Metadata:
  StreamTitle           Söndagsmorgon - Johann Sebastian Bach & Mariane Von Ziegler & Bibeln: Nt: Johannes 16:24 & 33 & Heinrich Müller - Kantat Nr 87 (Bisher Habt Ihr Nichts Gebeten In Meinem Namen), Bisher Habt Ihr
ignoring too small audio packet: size: 0
HandleCtrl, received ctrl. type: 6, len: 6
HandleCtrl, Ping 20639
sending ctrl. type: 0x0007
HandleCtrl, received ctrl. type: 6, len: 6
HandleCtrl, Ping 41189
sending ctrl. type: 0x0007
HandleCtrl, received ctrl. type: 6, len: 6
HandleCtrl, Ping 61739
sending ctrl. type: 0x0007
HandleCtrl, received ctrl. type: 6, len: 6
HandleCtrl, Ping 82639
sending ctrl. type: 0x0007
Invoking deleteStream
rtmp://rtmp-live.sr.se/webbradio/kanaler/p2musik-aac-96: Invalid data found when processing input
-------------- next part --------------
$ ./rtmpdump -r rtmp://rtmp-live.sr.se/webbradio/kanaler/p2musik-aac-96 -o /dev/null -V
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : rtmp-live.sr.se
DEBUG: Port     : 1935
DEBUG: Playpath : p2musik-aac-96
DEBUG: tcUrl    : rtmp://rtmp-live.sr.se:1935/webbradio/kanaler
DEBUG: app      : webbradio/kanaler
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version   : 3.0.1.1
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 261 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             fmsVer, STRING:	FMS/3,5,7,7009>
DEBUG: Property: <Name:       capabilities, NUMBER:	31.00>
DEBUG: Property: <Name:               mode, NUMBER:	1.00>
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:	status>
DEBUG: Property: <Name:               code, STRING:	NetConnection.Connect.Success>
DEBUG: Property: <Name:        description, STRING:	Connection succeeded.>
DEBUG: Property: <Name:               data, ECMA_ARRAY>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:	3,5,7,7009>
DEBUG: (object end)
DEBUG: Property: <Name:           clientid, NUMBER:	20160115.00>
DEBUG: Property: <Name:     objectEncoding, NUMBER:	0.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: p2musik-aac-96
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 1
DEBUG: RTMP_ClientPacket, received: invoke 271 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:	status>
DEBUG: Property: <Name:               code, STRING:	NetStream.Play.Reset>
DEBUG: Property: <Name:        description, STRING:	Playing and resetting wowz://site01-org02b.external.web:1935/webbradio/kanaler/p2musik-aac-96|wowz://site01-org02a.external.web:1935/webbradio/kanaler/p2musik-aac-96.>
DEBUG: Property: <Name:           clientid, NUMBER:	20160115.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset
DEBUG: RTMP_ClientPacket, received: invoke 309 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:	status>
DEBUG: Property: <Name:               code, STRING:	NetStream.Play.Start>
DEBUG: Property: <Name:        description, STRING:	Started playing wowz://site01-org02b.external.web:1935/webbradio/kanaler/p2musik-aac-96|wowz://site01-org02a.external.web:1935/webbradio/kanaler/p2musik-aac-96.>
DEBUG: Property: <Name:           clientid, NUMBER:	20160115.00>
DEBUG: Property: <Name:         isFastPlay, BOOLEAN:	FALSE>
DEBUG: Property: <Name:     timecodeOffset, STRING:	3524399957L>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Start
Starting download at: 0.000 kB
DEBUG: RTMP_ClientPacket, received: notify 24 bytes
DEBUG: (object begin)
DEBUG: (object end)
DEBUG: RTMP_ClientPacket, received: notify 44 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:               code, STRING:	NetStream.Data.Start>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: RTMP_ClientPacket, received: notify 49 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:        StreamTitle, STRING:	Mozartalmanackan>
DEBUG: (object end)
DEBUG: (object end)
INFO: Metadata:
INFO:   StreamTitle           Mozartalmanackan
DEBUG: ignoring too small audio packet: size: 0
31.277 kB / 2.56 sec
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: RTMP_SendPause, 1, pauseTime=7979
DEBUG: Invoking pause
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
96.554 kB / 8.02 sec
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
102.690 kB / 8.53 sec
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
106.181 kB / 8.83 sec
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
111.188 kB / 9.26 sec
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
113.729 kB / 9.47 sec
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
^CCaught signal: 2, cleaning up, just a second...
DEBUG: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 4 (Interrupted system call)
DEBUG: Invoking deleteStream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
115.255 kB / 9.60 sec
DEBUG: RTMP_Read returned: 0
Download may be incomplete (downloaded about 0.00%), try resuming
DEBUG: Closing connection.



More information about the Libav-user mailing list