View Single Post
  #6  
Old 09-15-2011, 10:30 AM
kruzel kruzel is offline
Junior Member
 
Join Date: Sep 2011
Posts: 1
kruzel is on a distinguished road
Default

Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet header Closing connection... d


I have a similar problem when I run librtmp with _DEBUG enabled.
It does not happen without the _DEBUG.

I do that by removing the comment in log.h as defined there:
/* Enable this to get full debugging output */
#define _DEBUG

I run:
ffplay rtmp://192.168.2.103/vod/media/sample.flv

and get error:
RTMP_ReadPacket, failed to read RTMP packet header
rtmp://192.168.2.103/vod/media/sample.flv: Operation not permitted

its on my way to another bug.

Any idea how to make _DEBUG work?

Thanks,
Ofer
Reply With Quote