From e8aa877f2afde888b2680dc2da2094a13b01fe95 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 24 Aug 2024 19:42:34 +0000 Subject: [PATCH] Added IceCandidate tranpsort type --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 604e7b9..7a68820 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,13 +15,14 @@ use tokio_tungstenite::{connect_async, tungstenite::Message, MaybeTlsStream, Web use tokio_tungstenite::tungstenite::error::Error as tungstenite_error; use tracing::{error, info, debug, instrument}; use webrtc::peer_connection::sdp::session_description::RTCSessionDescription; +use webrtc::ice_transport::ice_candidate::RTCIceCandidate; static MAX_MESSAGE: usize = 50; #[derive(Serialize, Deserialize, Clone)] pub enum ApplicationMessage { WebRTCPacket(RTCSessionDescription), - + WebRTCIceCandidate(RTCIceCandidate), } pub type AppSender = Sender;