librtmp 日志的修改和操做

最近在作libRtmp(也就是rtmpdump)的工做,发现librtmp默认的日志是关闭的。出现错误了也无法去查找缘由。进过一番摸索,终于找了好的解决办法。 首先,找到rtmp控制日志的地方:log.h 和log.c。 在log.h的文件中的35行左右,找到: /* Enable this to get full debugging output */ /*#define _DEBUG */
相关文章
相关标签/搜索