webrtc-native icon indicating copy to clipboard operation
webrtc-native copied to clipboard

Allow specifying custom libdatachannel configuration options

Open Faless opened this issue 1 year ago • 0 comments

This includes:

  • enableIceTcp
  • enableIceUdpMux
  • portRangeBegin
  • portRangeEnd
  • mtu

e.g.

var pc := WebRTCPeerConnection.new()
if OS.get_name() != "Web": 
	pc.initialize({
		"libdatachannel": {
			"enableIceUdpMux": true,
			"portRangeBegin": 4343,
			"portRangeEnd": 4343,
		},
	})

Faless avatar May 14 '24 20:05 Faless