摘要: 参考: C++ Concurrency In Action 2rd 第7章 https://en.wikipedia.org/wiki/ABA_problem http://www.cs.cmu.edu/afs/cs/academic/class/15418-f18/www/lectures/17_ 阅读全文
posted @ 2022-07-22 09:51 小夕nike 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 参考: C++ Concurrency In Action 2rd 第5章 https://stackoverflow.com/questions/14861822/acquire-release-versus-sequentially-consistent-memory-order https:/ 阅读全文
posted @ 2022-07-21 17:46 小夕nike 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 参考: C++ Concurrency In Action 2rd 第6章 实验环境: system: centos 8.1 / arch: x86_64 / kernel: 4.18.0 / g++: 8.5.0 1. 概述 下文主要以异步队列为例进行讲解。 注意,为了便于理解,所以下文的代码与原 阅读全文
posted @ 2022-07-21 17:46 小夕nike 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 参考: https://gstreamer.freedesktop.org/documentation/plugin-development/index.html?gi-language=c gstreamer tee plugin, flvdemux plugin, rtpbasepayload 阅读全文
posted @ 2022-07-14 11:21 小夕nike 阅读(627) 评论(0) 推荐(0) 编辑
摘要: 环境:centos8 x86_64 内核:4.18.0 1. close() 与 shutdown() 我们知道,tcp 有 4 次挥手过程,对于主动端来说: 发送 fin 通知被动端连接即将关闭 等待被动端发送 fin 过来以彻底结束连接 如果进程通过调用 close() 来结束连接,会让 soc 阅读全文
posted @ 2022-07-06 18:21 小夕nike 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 参考: obs webrtc https://www.cnblogs.com/leisure_chn/p/10584910.html 1. 概述 本篇文章主要记录自己对音视频采集端(源端)对打时间戳的思考。 2. 时间戳的简单介绍 2.1 时间戳分类 主要是 pts 和 dts: pts 时间戳主要 阅读全文
posted @ 2022-06-24 16:27 小夕nike 阅读(1799) 评论(0) 推荐(0) 编辑
摘要: 参考: ISO/IEC 14496-12、ISO/IEC 14496-14、ISO/IEC 14496-15 https://github.com/ossrs/srs (srs4.0) https://zhuanlan.zhihu.com/p/374140861 https://www.jiansh 阅读全文
posted @ 2022-05-08 10:20 小夕nike 阅读(817) 评论(0) 推荐(0) 编辑
摘要: 参考: ISO/IEC 13818-1 https://www.cnblogs.com/jimodetiantang/p/9140808.html https://blog.csdn.net/leek5533/article/details/104993932/ 分析工具: https://easy 阅读全文
posted @ 2022-04-27 20:24 小夕nike 阅读(946) 评论(0) 推荐(0) 编辑
摘要: 参考: https://github.com/ossrs/srs (srs4.0) http://download.macromedia.com/f4v/video_file_format_spec_v10_1.pdf (Annex E) https://www.cnblogs.com/shawn- 阅读全文
posted @ 2022-04-27 20:23 小夕nike 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 参考: ffplay 1. 概述 一个实时流播放器需要解决丢包、乱序、抖动、音视频同步等这些问题,特别是 udp 传输的场景。 本篇文章主要记录自己对于音视频同步的理解,注意,下文并不是按照 ffplay 的同步方法来介绍的,而是自己对于同步的理解。 2. 播放器简单设计 为下文描述方便,这里假设一 阅读全文
posted @ 2022-04-25 16:31 小夕nike 阅读(218) 评论(0) 推荐(0) 编辑