1460e15a45525a2d2f5b6957b79c8a84dd94d4ce

StreamConfigurationMap.getOutputSizes() may return null: https://developer.android.com/reference/android/hardware/camera2/params/StreamConfigurationMap#getOutputSizes(java.lang.Class%3CT%3E) Fixes: Fatal Exception: java.lang.NullPointerException: Attempt to get length of null array at org.webrtc.Camera2Enumerator.convertSizes(Camera2Enumerator.java:234) at org.webrtc.Camera2Enumerator.getSupportedSizes(Camera2Enumerator.java:147) at org.webrtc.Camera2Session.findCaptureFormat(Camera2Session.java:325) at org.webrtc.Camera2Session.start(Camera2Session.java:313) at org.webrtc.Camera2Session.<init>(Camera2Session.java:296) at org.webrtc.Camera2Session.create(Camera2Session.java:274) at org.webrtc.Camera2Capturer.createCameraSession(Camera2Capturer.java:35) at org.webrtc.CameraCapturer$5.run(CameraCapturer.java:272) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:237) at android.os.HandlerThread.run(HandlerThread.java:67) Bug: webrtc:13032 Change-Id: I9154be567cd12c066087818ba22e9cd69e75a22f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227291 Reviewed-by: Xavier Lepaul <xalep@webrtc.org> Commit-Queue: Xavier Lepaul <xalep@webrtc.org> Cr-Commit-Position: refs/heads/main@{#34872}
…
…
…
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.
Development
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.
More info
- Official web site: http://www.webrtc.org
- Master source code repo: https://webrtc.googlesource.com/src
- Samples and reference apps: https://github.com/webrtc
- Mailing list: http://groups.google.com/group/discuss-webrtc
- Continuous build: https://ci.chromium.org/p/webrtc/g/ci/console
- Coding style guide
- Code of conduct
- Reporting bugs
- Documentation
Description
Languages
C++
88.6%
C
3.3%
Java
3%
Objective-C++
1.9%
Python
1.9%
Other
1%