Enable IPv6 for ICE
This commit is contained in:
parent
6bf2f0ee99
commit
acb190dc18
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
HTTP_ADDRESS=127.0.0.1:3001
|
||||
DATABASE_URL=./streams.db
|
||||
UDP_MUX_PORT=3478
|
||||
TCP_MUX_ADDR=0.0.0.0:3478
|
||||
UDP_MUX_PORT=3479
|
||||
TCP_MUX_ADDR=0.0.0.0:3479
|
||||
|
|
|
@ -86,8 +86,8 @@ func setupWebRTC() *webrtc.API {
|
|||
|
||||
func setupICE(settingEngine *webrtc.SettingEngine) {
|
||||
settingEngine.SetNetworkTypes([]webrtc.NetworkType{
|
||||
webrtc.NetworkTypeUDP4, // webrtc.NetworkTypeUDP6,
|
||||
webrtc.NetworkTypeTCP4, // webrtc.NetworkTypeTCP6,
|
||||
webrtc.NetworkTypeUDP4, webrtc.NetworkTypeUDP6,
|
||||
webrtc.NetworkTypeTCP4, webrtc.NetworkTypeTCP6,
|
||||
})
|
||||
|
||||
if udpPort := os.Getenv("UDP_MUX_PORT"); udpPort != "" {
|
||||
|
|
Loading…
Reference in a new issue