commit | 94cb67d6df1a78e7fa25e469f719c1a8809dc583 | [log] [tgz] |
---|---|---|
author | Magnus Jedvert <magjed@webrtc.org> | Fri May 27 08:35:51 2016 |
committer | Magnus Jedvert <magjed@webrtc.org> | Fri May 27 08:36:01 2016 |
tree | de0bff539557f600797de6c69fd9cea60b4514b1 | |
parent | a44e72c44f4dcc2332819ffd089f182385aea08c [diff] |
Android: Add FramerateRange class The Camera1 and Camera2 API use different framerate range types. Camera1 uses int[2] and Camera2 uses Range<Integer>. Range<Integer> is unfortunately only available on Lollipop and later, so this CL adds a similar FramerateRange class in CaptureFormat. The purpose with this CL is to have a common framerate range type that can be reused from both Camera1 and Camera2 in helper functions such as CameraEnumerationAndroid.getClosestSupportedFramerateRange(). BUG=webrtc:5519 R=sakal@webrtc.org Review URL: https://codereview.webrtc.org/2010763003 . Cr-Commit-Position: refs/heads/master@{#12942}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.