Chromium Code Reviews
DescriptionImplements MediaStreamVideoSource.
1) Add MediaStreamDependencyFactory::CreateVideoSource to create a webrtc::VideoSourceInterface that's associated with given capturer.
2) Implement MediaStreamVideoSource:
* Creates a webrtc::VideoSource instance with a fake cricket::VideoCapturer. Use this webrtc::VideoSource as the adapter to talk to the libjingle world.
* When AddTrack is called, creates native track for the given blink track. And connect the native track with the webrtc::VideoSource so that the track can get frames from this source.
* When DeliverVideoFrame is called, feeds the frame to all the registered tracks via the adapter (webrtc::VideoSource)'s FrameInput interface.
BUG=334241
R=joi@chromium.org, perkj@chromium.org, xians@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245001
Patch Set 1 #Patch Set 2 : #
Total comments: 9
Patch Set 3 : replace webrtc_video_source with webrtc::VideoSource #Patch Set 4 : One adapter for all tracks. #Patch Set 5 : #Patch Set 6 : add MediaStreamDependencyFactory::CreateMediaStreamVideoTrack #Patch Set 7 : #
Total comments: 11
Patch Set 8 : Address per's comments. #Patch Set 9 : #Patch Set 10 : #
Total comments: 17
Patch Set 11 : address per's comments #Patch Set 12 : refine test #Patch Set 13 : #
Total comments: 4
Patch Set 14 : per's comments and fix the build #
Total comments: 16
Patch Set 15 : addressing more comments #Patch Set 16 : #Patch Set 17 : Implements MediaStreamVideoSource. #Messages
Total messages: 26 (0 generated)
|