Descriptionrefactor video capture in renderer process
This patch is a split of http://codereview.chromium.org/8304017/ .
1. Since all clients of VideoCaptureImpl accept pixel frames with different dimension than requested, there is no need to distinguish them. Remove "resolution_fixed" in media::VideoCapture::VideoCaptureCapability.
2. VideoCaptureImpl is now taking the largested dimension from client requests and send it to browser process.
3. remove some unnecessary code in VideoCaptureModuleImpl since webrtc ViE can handle different frame size.
BUG=none
TEST=trybots
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108126
Patch Set 1 #
Total comments: 12
Patch Set 2 : code review #Patch Set 3 : remove test code #
Total comments: 5
Patch Set 4 : code review #Messages
Total messages: 8 (0 generated)
|