Skip to content

Commit

Permalink
Exposing Adapter types in PeerConnectionFactory (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedRisaldarTA authored Jul 3, 2023
1 parent 4a9b827 commit f190c59
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions sdk/android/api/org/webrtc/PeerConnectionFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ public static class Options {
// Keep in sync with webrtc/rtc_base/network.h!
//
// These bit fields are defined for `networkIgnoreMask` below.
static final int ADAPTER_TYPE_UNKNOWN = 0;
static final int ADAPTER_TYPE_ETHERNET = 1 << 0;
static final int ADAPTER_TYPE_WIFI = 1 << 1;
static final int ADAPTER_TYPE_CELLULAR = 1 << 2;
static final int ADAPTER_TYPE_VPN = 1 << 3;
static final int ADAPTER_TYPE_LOOPBACK = 1 << 4;
static final int ADAPTER_TYPE_ANY = 1 << 5;
public static final int ADAPTER_TYPE_UNKNOWN = 0;
public static final int ADAPTER_TYPE_ETHERNET = 1 << 0;
public static final int ADAPTER_TYPE_WIFI = 1 << 1;
public static final int ADAPTER_TYPE_CELLULAR = 1 << 2;
public static final int ADAPTER_TYPE_VPN = 1 << 3;
public static final int ADAPTER_TYPE_LOOPBACK = 1 << 4;
public static final int ADAPTER_TYPE_ANY = 1 << 5;

public int networkIgnoreMask;
public boolean disableEncryption;
Expand Down

0 comments on commit f190c59

Please sign in to comment.