mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-17 23:57:59 +01:00
![]() AndroidNetworkMonitor::BindSocketToNetwork incorrectly checks if the socket_fd is NETWORK_UNSPECIFIED, when it should instead be checking if the network_handle is that. This causes the PhysicalSocket to think that it has succesfully bound to the port, when it really has not. This stops IceCandidates from being created for these addresses (although a socket is listening). The net result of this is that webrtc connections don't work when both peers are using Wifi-Direct to communicate, although we didn't notice this previously since we were using Wifi-Direct only on one side. TBR=pthatcher@webrtc.org Bug: webrtc:8403 Change-Id: Ibe8f5424654ac9db1f79927ba7ac241fd40d9cba Reviewed-on: https://webrtc-review.googlesource.com/12442 Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20331} |
||
---|---|---|
.. | ||
api/org/webrtc | ||
instrumentationtests | ||
src | ||
tests/src/org/webrtc | ||
AndroidManifest.xml | ||
BUILD.gn | ||
OWNERS | ||
PRESUBMIT.py | ||
README |
This directory holds a Java implementation of the webrtc::PeerConnection API, as well as the JNI glue C++ code that lets the Java implementation reuse the C++ implementation of the same API. To build the Java API and related tests, generate GN projects with: --args='target_os="android"' To use the Java API, start by looking at the public interface of org.webrtc.PeerConnection{,Factory} and the org.webrtc.PeerConnectionTest. To understand the implementation of the API, see the native code in jni/.