Chromium Code Reviews
DescriptionVideoCapturerAndroid: Replace static create() with ctor
This CL makes the ctor public and externally usable by changing the
camera id argument from an int to a String.
The main purpose with this change is to get rid of the
CameraEnumerationAndroid.setEnumerator() hack. If an external app wants
to have a custom format enumeration, they can just override
getSupportedFormats() instead.
BUG=webrtc:5519
Committed: https://crrev.com/36c11e9132b61658ee8704e23ab0c66b50a9c1b1
Cr-Commit-Position: refs/heads/master@{#12945}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add @Deprecated. Make ctor public. #Messages
Total messages: 13 (6 generated)
|