From dc1163ab95cea4fd9d060ab522f0265c528b9088 Mon Sep 17 00:00:00 2001 From: meldron Date: Thu, 26 Jul 2018 13:20:55 +0200 Subject: [PATCH] Fix stun server address The stun server address has a space as suffix which is not allowed in the rust bindings. --- webrtc/sendrecv/gst-rust/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/sendrecv/gst-rust/src/main.rs b/webrtc/sendrecv/gst-rust/src/main.rs index 18bd85c..5d6041c 100644 --- a/webrtc/sendrecv/gst-rust/src/main.rs +++ b/webrtc/sendrecv/gst-rust/src/main.rs @@ -21,7 +21,7 @@ use std::sync::{mpsc, Arc, Mutex}; use std::thread; use websocket::message::OwnedMessage; -const STUN_SERVER: &str = "stun://stun.l.google.com:19302 "; +const STUN_SERVER: &str = "stun://stun.l.google.com:19302"; lazy_static! { static ref RTP_CAPS_OPUS: gst::Caps = { gst::Caps::new_simple( -- 2.7.4