当前位置:网站首页>【engine】RtcSyncCallback回调、回调容器RtcCallbackContainer及MediaPacketSenderImpl 中回调使用
【engine】RtcSyncCallback回调、回调容器RtcCallbackContainer及MediaPacketSenderImpl 中回调使用
2022-08-03 17:07:00 【等风来不如迎风去】
- 使用者通过RtcSyncCallback 注册各类observer类
- RtcSyncCallback 是一个管理各种T* 类型的observer的类
- RtcSyncCallback 的post方法会让 callback-workers 类会执行用户post的task,这些task 会通知这些observers们
- 因为register observer和unregister observer的操作可能是多个用户同时执行的
- 所以要加锁保护。
可见是一个常用类
utils::RtcAsyncCallback<IMediaPlayerObserver>::Type observers_;
utils::RtcSyncCallback<media::base::IVideoFrameObserver>边栏推荐
猜你喜欢

【GAMES101】作业6 加速结构

The strongest distributed lock tool: Redisson

Understand the recommendation system in one article: Outline 02: The link of the recommendation system, from recalling rough sorting, to fine sorting, to rearranging, and finally showing the recommend

【Metaverse系列一】元宇宙的奥秘

Interviews are no longer hanged!This is the correct way to open the seven schemes of Redis distributed locks

使用Stream多年,collect还有这些“骚操作”?

LeetCode·72.编辑距离·动态规划

【云驻共创】【HCSD大咖直播】亲授大厂面试秘诀

ICDAR比赛技术分享

面试不再被吊打!这才是Redis分布式锁的七种方案的正确打开方式
随机推荐
ArkUI如何适配横竖屏
“68道 Redis+168道 MySQL”精品面试题(带解析),你背废了吗?
【目标检测】Focal Loss for Dense Object Detection
华为、联想、北汽等入选工信部“企业数字化转型和安全能力提升”首批实训基地
Excuse me this hologres dimension table is cached?How to Finished
通俗理解apt-get 和pip的区别是什么
yolov5s用自己的数据集进行训练模型
【指针初解】
uniapp 切换 history 路由模
Which thread pool does Async use?
JS 字符串转 GBK 编码超精简实现
#夏日挑战赛#【FFH】OpenHarmony设备开发基础(四)启动流程
fastposter v2.9.0 程序员必备海报生成器
多表查询最值
如何直击固定资产管理的难题?
论文解读(JKnet)《Representation Learning on Graphs with Jumping Knowledge Networks》
EasyExcel implements dynamic column parsing and table storage
工程仪器设备在线监测管理系统常见问题和注意事项
FinClip | July 2022 Product Highlights
TiKV & TiFlash 加速复杂业务查询丨TiFlash 应用实践