Added .clang-format + reformatted code
This commit is contained in:
@@ -1,25 +1,10 @@
|
||||
use crate::candidate::ffi::Candidate;
|
||||
use crate::data_channel::ffi::DataChannel;
|
||||
use crate::jsep::ffi::IceCandidate;
|
||||
use crate::jsep::CreateSdpObserver;
|
||||
use crate::media_stream_interface::ffi::MediaStreamInterface;
|
||||
use crate::peer_connection::ffi::{
|
||||
CandidatePairChangeEvent, IceConnectionState, IceGatheringState, PeerConnectionState,
|
||||
SignalingState,
|
||||
};
|
||||
use crate::peer_connection::PeerConnectionObserver;
|
||||
use crate::rtp_receiver::ffi::RtpReceiver;
|
||||
use crate::rtp_transceiver::ffi::RtpTransceiver;
|
||||
use crate::{jsep, peer_connection};
|
||||
use cxx::UniquePtr;
|
||||
use log::info;
|
||||
use std::any::Any;
|
||||
use std::thread::sleep;
|
||||
use std::time::Duration;
|
||||
|
||||
use crate::jsep::CreateSdpObserver;
|
||||
use crate::peer_connection::PeerConnectionObserver;
|
||||
|
||||
#[cxx::bridge(namespace = "livekit")]
|
||||
pub mod ffi {
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct ICEServer {
|
||||
pub urls: Vec<String>,
|
||||
@@ -37,7 +22,7 @@ pub mod ffi {
|
||||
|
||||
type PeerConnection = crate::peer_connection::ffi::PeerConnection;
|
||||
type NativePeerConnectionObserver =
|
||||
crate::peer_connection::ffi::NativePeerConnectionObserver;
|
||||
crate::peer_connection::ffi::NativePeerConnectionObserver;
|
||||
type PeerConnectionFactory;
|
||||
type NativeRTCConfiguration;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user