From 43b49607bbecdec995a1159a458aa41074331de8 Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Tue, 8 Sep 2020 11:10:57 +0200 Subject: [PATCH] Fix TURN server example in WebRTC documentation WebRTC GDNative plugin uses `credential` and not `credentials`. https://github.com/godotengine/webrtc-native/blob/74f2c78db5cdffa5b2b6ba9cd041061d7694400c/src/WebRTCLibPeerConnection.cpp#L35-L37 (cherry picked from commit 280496a2c3e4d479b01851ddc27e0d5b1d34d7d9) --- modules/webrtc/doc_classes/WebRTCPeerConnection.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/webrtc/doc_classes/WebRTCPeerConnection.xml b/modules/webrtc/doc_classes/WebRTCPeerConnection.xml index 5903b34f622..2e708eb1bd7 100644 --- a/modules/webrtc/doc_classes/WebRTCPeerConnection.xml +++ b/modules/webrtc/doc_classes/WebRTCPeerConnection.xml @@ -97,7 +97,7 @@ { "urls": [ "turn:turn.example.com:3478" ], # One or more TURN servers. "username": "a_username", # Optional username for the TURN server. - "credentials": "a_password", # Optional password for the TURN server. + "credential": "a_password", # Optional password for the TURN server. } ] }