After some research I created more correct patch (I hope).<br>That&#39;s what I found:<br>With wireshark I could see that this broadcast server doesn&#39;t send NetStream.Play.Start after play request. But it sends NetStream.Play.PublishNotify. I don&#39;t know is such a server response is correct, but with attached patch rtmpdump seems to work ok.<br>
<div class="gmail_quote"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Now my questions is: could it be librtmp bug?<br>This ugly patch solved the problem for me (video downloaded and played correctly):<br>
$ svn diff<br>Index: librtmp/rtmp.c<br>===================================================================<br>
--- librtmp/rtmp.c      (revision 565)<br>+++ librtmp/rtmp.c      (working copy)<br>@@ -995,6 +995,7 @@<br>              (packet.m_packetType == RTMP_PACKET_TYPE_VIDEO) ||<br>              (packet.m_packetType == RTMP_PACKET_TYPE_INFO))<br>

            {<br>+             r-&gt;m_bPlaying = TRUE;<br>              RTMP_Log(RTMP_LOGWARNING, &quot;Received FLV packet before play()! Ignoring.&quot;);<br>              RTMPPacket_Free(&amp;packet);<br>              continue;<div>
<div></div><div class="h5"><br>
<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi<br>
I am trying to download video steam from live broadcast on this site:<br>
<a href="http://smotri.com/broadcast/list/" target="_blank">http://smotri.com/broadcast/list/</a><br>
But all that I get is this warning message:<br>
WARNING: Received FLV packet before play()! Ignoring.<br>
<br>
I can&#39;t understand where is a problem. So, I made some script which generates<br>
rtmpdump command line for this site: <a href="http://paste.kde.org/8762/" target="_blank">http://paste.kde.org/8762/</a><br>
On my PC output looks like this: <a href="http://paste.kde.org/8763/" target="_blank">http://paste.kde.org/8763/</a><br>
<br>
Can anyone execute my test script and tell me where is a problem?<br>
</blockquote></div><br>
</div></div></blockquote></div><br>