mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-23 08:33:45 +01:00
d1703479ff
On Android, because of the hard SELinux policies can not list the interfaces of the ICE package. Without it can not generate a host type candidate. In this pull request, the list of interfaces comes via the Java interface.
12 lines
165 B
Go
12 lines
165 B
Go
//go:build !android
|
|
|
|
package peer
|
|
|
|
import (
|
|
"github.com/pion/transport/v2/stdnet"
|
|
)
|
|
|
|
func (conn *Conn) newStdNet() (*stdnet.Net, error) {
|
|
return stdnet.NewNet()
|
|
}
|