Hi.
After I figured out my ffmpeg build lacked librtmp linked (and used built-in rtmp muxer which apparently not compatible with rtmpd), I've added librtmp and tried pushing RTMP again.
Now I get the following error on client:
HandShake: client signature does not match!
RTMP_ReadPacket, failed to read RTMP packet header
rtmp://
127.0.0.1/live: Operation not permitted
And on server:
/home/dev/crtmpserver/sources/thelib/src/netio/epoll/tcpacceptor.cpp:154 Client connected:
127.0.0.1:54102 ->
0.0.0.0:1935/home/dev/crtmpserver/sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 11->12 IOHT_TCP_CARRIER
/home/dev/crtmpserver/sources/thelib/src/protocols/rtmp/inboundrtmpprotocol.cpp:123 This version of player doesn't support validation
/home/dev/crtmpserver/sources/applications/appselector/src/rtmpappprotocolhandler.cpp:83 Selected application: flvplayback (live)
/home/dev/crtmpserver/sources/thelib/src/application/baseclientapplication.cpp:216 Protocol CTCP(15) <-> TCP(2) <-> [IR(3)] unregistered from application: appselector
/home/dev/crtmpserver/sources/thelib/src/protocols/rtmp/basertmpappprotocolhandler.cpp:1506 Incorrect user agent
/home/dev/crtmpserver/sources/thelib/src/application/baseclientapplication.cpp:227 Stream NR(1) with name `` registered to application `flvplayback` from protocol IR(3)
/home/dev/crtmpserver/sources/thelib/src/protocols/rtmp/basertmpappprotocolhandler.cpp:1239 Default implementation of ProcessInvokeGeneric: Request: _checkbw
/home/dev/crtmpserver/sources/thelib/src/netio/epoll/tcpcarrier.cpp:78 Unable to read data.
127.0.0.1:54102 ->
127.0.0.1:1935/home/dev/crtmpserver/sources/thelib/src/netio/epoll/iohandlermanager.cpp:109 Handlers count changed: 12->11 IOHT_TCP_CARRIER
/home/dev/crtmpserver/sources/thelib/src/protocols/protocolmanager.cpp:44 Enqueue for delete for protocol [IR(3)]
/home/dev/crtmpserver/sources/thelib/src/application/baseclientapplication.cpp:238 Stream NR(1) with name `` unregistered from application `flvplayback` from protocol IR(3)
/home/dev/crtmpserver/sources/thelib/src/application/baseclientapplication.cpp:216 Protocol [IR(3)] unregistered from application: flvplayback
I've tried both this way of streaming:
ffmpeg -i testfile.mp4 -vcodec libx264 -acodec libfaac -f flv rtmp://
127.0.0.1/liveand this way:
ffmpeg -i testfile.mp4 -vcodec libx264 -acodec libfaac -f flv -metadata streamName="test" tcp://
127.0.0.1:6665 I've also tried setting validateHandshake to false in config file - changing the active params doesn't change anything, and if I un-comment the commented params, it breaks the config.
I'm using the latest SVN 669 version.
Any idea how to sort this out?
Thanks!