diff options
author | mcasas@chromium.org <mcasas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-13 23:08:27 +0000 |
---|---|---|
committer | mcasas@chromium.org <mcasas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-13 23:08:27 +0000 |
commit | 6fc51a48eb77e9bb8a20e84cb531a2d1eaf7327a (patch) | |
tree | 17d69c3ee1e971d9dbe6e5af833253ccff772147 /remoting/android | |
parent | c36df936023e6161069ca95795c8eccd0f063128 (diff) | |
download | chromium_src-6fc51a48eb77e9bb8a20e84cb531a2d1eaf7327a.zip chromium_src-6fc51a48eb77e9bb8a20e84cb531a2d1eaf7327a.tar.gz chromium_src-6fc51a48eb77e9bb8a20e84cb531a2d1eaf7327a.tar.bz2 |
VCManager: separate in-use and full list of video-capture-device capabilities
VideoCaptureManager::GetDeviceSupportedFormats() returns all
the supported capture formats of a device regardless of its
state (started, stopped etc). A new method is added
GetDeviceFormatInUse() which returns the active capture format
if any.
Also consolidated use of session id from int type to
media::VideoCaptureSessionId (which typedef's to int).
VideoCaptureManager caches the device's capture formats in a vector of
structures DeviceInfo, and the current capture format is kept inside
VideoCaptureController.
This follows a larger plan to send the device's capabilities and
format in use to the renderer for JS getUserMedia internals and for
JS getCapabilities calls.
BUG=309554
Review URL: https://codereview.chromium.org/117303002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244606 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/android')
0 files changed, 0 insertions, 0 deletions