summaryrefslogtreecommitdiff
path: root/plugins/Jingle/src/voip.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-23 14:35:46 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-23 14:35:46 +0300
commit9d9392859494d18a714266cceca43450b45fcea2 (patch)
treee93e92033a46bc55ff600a6c81b803ffdd4ef8d9 /plugins/Jingle/src/voip.cpp
parent0dd5181cd06cf206be66c5e39a58f0ac91ba4ecb (diff)
for #4195
Diffstat (limited to 'plugins/Jingle/src/voip.cpp')
-rw-r--r--plugins/Jingle/src/voip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Jingle/src/voip.cpp b/plugins/Jingle/src/voip.cpp
index b8c33639e4..b2c4dee1c5 100644
--- a/plugins/Jingle/src/voip.cpp
+++ b/plugins/Jingle/src/voip.cpp
@@ -293,7 +293,7 @@ bool CJabberAccount::VOIPCreatePipeline(void)
CMStringA szPipeDescr;
szPipeDescr += "webrtcbin bundle-policy=max-bundle name=sendrecv ";
if (mir_wstrlen(m_szStunServer))
- szPipeDescr.AppendFormat("stun-server=%S ", (wchar_t *)m_szStunServer);
+ szPipeDescr.AppendFormat("stun-server=stun://%S ", (wchar_t *)m_szStunServer);
szPipeDescr += "autoaudiosrc ! audioconvert ! audioresample ! queue ! opusenc ! rtpopuspay name=audiopay ! ";
szPipeDescr += "queue ! application/x-rtp,media=audio,encoding-name=OPUS,payload=111 ! sendrecv. ";