DescriptionMove Camera1 specific methods to Camera1Enumerator and create CameraEnumerator interface.
The plan is to use CameraEnumerator as a "factory" for camera objects in
the future. This CL prepares for that by moving Camera1 specific stuff
away from CameraEnumerationAndroid to Camera1Enumerator. Because
CameraEnumerationAndroid methods were part of public API there are
deprecated mocks for now.
When making these changes, I noticed that code duplication in
CameraVideoCapturer tests implementing TestObjectFactory could be
decreased by making TestObjectFactory an abstract class that uses
CameraEnumerator.
BUG=webrtc:5519
Committed: https://crrev.com/62379c89d00e6f5b1351142174b4308e492a92aa
Cr-Commit-Position: refs/heads/master@{#13185}
Patch Set 1 #Patch Set 2 : Rebase. #Dependent Patchsets: Messages
Total messages: 16 (10 generated)
|