godotengine / webrtc-native

The official GDNative WebRTC implementation for non-html exports.
MIT License
210 stars 34 forks source link

Allow specifying custom libdatachannel configuration options #146

Open Faless opened 4 months ago

Faless commented 4 months ago

This includes:

e.g.

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