webkit视频采集流程
webrtc中平台相关视频采集模块是在video_capture_module_internal_impl中
window下采用directshow采集摄像头数据
主要流程图如下:
其中CaptureSinkFilter为过滤模块,主要是为了将CaptureInputPin作为自己的输入pin与采集Filter的输出pin绑定连接。连接完成后采集数据转入CaptureInputPin的Receive接口中
之后经历一系列中转数据转入VideoCaptureDataCallback回调接口中上传给外部使用.
此图为数据中转所经历的模块及函数。