Skip to content

Allow specifying custom libdatachannel configuration options#146

Open
Faless wants to merge 1 commit intogodotengine:masterfrom
Faless:feat/custom_opts
Open

Allow specifying custom libdatachannel configuration options#146
Faless wants to merge 1 commit intogodotengine:masterfrom
Faless:feat/custom_opts

Conversation

@Faless
Copy link
Collaborator

@Faless Faless commented May 14, 2024

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,
		},
	})

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 Faless added the enhancement New feature or request label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant