![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
epoll
Maxwellhang
这个作者很懒,什么都没留下…
展开
-
ffmpeg编解码demo
#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> extern "C" { #include <libavutil/time.h> #include <libavutil/timestamp.h> #include <libavutil/opt.h> #include <libavformat/avf原创 2021-02-21 18:37:02 · 511 阅读 · 1 评论 -
epoll + socket
功能 读取视频并播放 注释部分为多线程方案 单线程epoll方案每帧都要请求,可以做到帧同步 多线程方案可以不用每帧都请求,不能做到帧同步, 各发各的 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> #include <neti原创 2021-02-21 17:57:14 · 141 阅读 · 0 评论