changed ice candidate type
This commit is contained in:
parent
e8aa877f2a
commit
11f3745adb
1 changed files with 2 additions and 2 deletions
|
@ -15,14 +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;
|
||||
use webrtc::ice_transport::ice_candidate::RTCIceCandidateInit;
|
||||
|
||||
static MAX_MESSAGE: usize = 50;
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
pub enum ApplicationMessage {
|
||||
WebRTCPacket(RTCSessionDescription),
|
||||
WebRTCIceCandidate(RTCIceCandidate),
|
||||
WebRTCIceCandidate(RTCIceCandidateInit),
|
||||
}
|
||||
|
||||
pub type AppSender = Sender<ApplicationMessage>;
|
||||
|
|
Loading…
Reference in a new issue