WEBRTC 媒体引擎MediaEngine
来源:互联网 发布:java输入输出流缓冲区 编辑:程序博客网 时间:2024/06/05 11:18
WEBRTC 媒体引擎包括音频引擎 和 视频引擎
音频引擎包括 采集 处理 编码 传输 处理 解码
视频音频包括 采集 处理 编码 传输 处理 解码
视频采集流程
一.创建VideoCapturer
1.创建VideoCaptureFactory::CreateDeviceInfo
2.查询采集设备
GetDeviceName
3. 通过工厂方法创建VideoCapturer,WebRtcVideoDeviceCapturerFactory::Create(name)->new WebRtcVideoCapturer->
new WebRtcVcmFactory->WebRtcVideoCapturer::Init->WebRtcVcmFactoryInterface::Create[创建具体VideoCaptureModule]
二.启动VideoCapturer
PeerConnectionFactory::CreateVideoSource(cricket::VideoCapturer* capturer)->
VideoCapturerTrackSource::Create[new VideoCapturerTrackSource传入VideoCapturer对象]->
VideoCapturerTrackSource::Initialize->VideoCapturer::StartCapturing->WebRtcVideoCapturer::Start->
VideoCaptureImpl::RegisterCaptureDataCallback[注册接收采集回调对象 WebRtcVideoCapturer::OnIncomingCapturedFrame回调给用户]->
VideoCaptureModuleV4L2[继承VideoCaptureImpl]::StartCapture[启动线程 linux]|VideoCaptureDS::StartCapture[windows]
->VideoCaptureImpl::IncomingFrame->VideoCaptureImpl::DeliverCapturedFrame->
WebRtcVideoCapturer::OnIncomingCapturedFrame->
WebRtcVideoCapturer::SignalFrameCapturedOnStartThread->
SignalFrameCaptured(this, &webrtc_frame)[SignalFrameCaptured.connect(this, &VideoCapturer::OnFrameCaptured)]->
VideoCapturer::OnFrameCaptured->VideoCapturer::OnFrame[广播给多个接收者]
- WEBRTC 媒体引擎MediaEngine
- webrtc引擎
- pjsip集成webrtc媒体处理
- pjsip集成webrtc媒体处理
- webrtc音频引擎总结
- WebRTC NetEQ 音频引擎
- WebRtc 音频引擎-linux demo
- WebRtc 音频引擎-linux demo
- 24小时媒体监测引擎
- webrtc音频引擎模块之 audio_device介绍
- webrtc音频引擎之audio_processing介绍
- webrtc音频引擎之CNG模块介绍
- webrtc音频引擎之common_audio介绍
- webrtc音频引擎之压缩格式介绍
- webrtc音频引擎源码阅读笔记
- webrtc音频引擎模块之 audio_device介绍
- webrtc视频引擎之 vedio_capture_module介绍
- WebRTC-在浏览器中处理本地媒体(media)-2
- 4.3.函数指针
- 第三方支付架构设计之—帐户体系
- service mysqld start MySQL Daemon failed to start.
- 线性表的链式存储
- 图的连通性问题之连通和最小环
- WEBRTC 媒体引擎MediaEngine
- Spring MVC请求处理流程及架构
- linux常用命令3
- Java-类库-Guava-Multimap
- osx + Intellij + mysql + jsp + tomcat 之java web项目-网上书店 (上) (mysql的配置)
- linux 如何显示一个文件的某几行(中间几行)
- 深度|NTM-Lasagne:基于Lasagne的神经图灵机函数库
- Azure 高级版 Redis 如何持久化
- 重写 WaitDialogForm 控件