diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-09-08 11:10:57 +0200 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-09-08 11:10:57 +0200 |
commit | 280496a2c3e4d479b01851ddc27e0d5b1d34d7d9 (patch) | |
tree | 853b5910b101c8d57c5c8b725f4ec85a727e28a7 /modules/webrtc/doc_classes/WebRTCPeerConnection.xml | |
parent | 28100d554ce9047c6c267115ae4aca0e0970fe42 (diff) |
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
Diffstat (limited to 'modules/webrtc/doc_classes/WebRTCPeerConnection.xml')
-rw-r--r-- | modules/webrtc/doc_classes/WebRTCPeerConnection.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/webrtc/doc_classes/WebRTCPeerConnection.xml b/modules/webrtc/doc_classes/WebRTCPeerConnection.xml index 2054276655..c80b903e39 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. } ] } |