[rtmpdump] patch: Stream does not start with requested frame, ignoring data
hyc at highlandsun.com
Sat Apr 9 04:56:22 CEST 2011
Peter Miller wrote:
> This patch adds more information to the "Stream does not start with
> requested frame, ignoring data" warning message, including the
> presence/absence of key frames, and the packet type name when it isn't a
> flash video packet.
> I added this to track down a problem I'm having, where rtmpdump fails to
> resume. It turns out that the server is sending RTMP_PACKET_TYPE_AUDIO
> and RTMP_PACKET_TYPE_VIDEO packets (and the video packets *do* contain a
> key frame), rather than librtmp/rtmp.c Read_1_packet()'s expectation of
> an RTMP_PACKET_TYPE_FLASH_VIDEO frame.
> Howard, what would be your preferred way to handle this case?
Sorry, your problem description makes no sense. Regular video/audio packets
are checked for the keyframe already, line 3837. Explain first why this check
failed, don't go mucking with everything afterward, that's irrelevant.
More information about the rtmpdump