 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
|