We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FFMpeg读取内存数据NSData用了AVIOContext * avio_in =avio_alloc_context(inbuffer,32768*20,0,NULL,read_buffer,NULL,NULL);里的read_buffer方法,读取后推流到服务器rtmp,最后又不断的读取read_buffer方法(int read_buffer(void *opaque, uint8_t *buf, int buf_size))导致内存爆表,是不是要在哪里添加休眠???还是怎么解决?读取完后推流后就结束,不再读取read_buffer方法
http://blog.csdn.net/leixiaohua1020/article/details/39759163
The text was updated successfully, but these errors were encountered:
No branches or pull requests
FFMpeg读取内存数据NSData用了AVIOContext * avio_in =avio_alloc_context(inbuffer,32768*20,0,NULL,read_buffer,NULL,NULL);里的read_buffer方法,读取后推流到服务器rtmp,最后又不断的读取read_buffer方法(int read_buffer(void *opaque, uint8_t *buf, int buf_size))导致内存爆表,是不是要在哪里添加休眠???还是怎么解决?读取完后推流后就结束,不再读取read_buffer方法
http://blog.csdn.net/leixiaohua1020/article/details/39759163
The text was updated successfully, but these errors were encountered: