added prelude & cleaned imports (#27)
* wip * wip * wip * wip * wip * wip
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use std::error::Error;
|
||||
use std::fmt::{Debug, Display, Formatter};
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::sync::Mutex;
|
||||
|
||||
use cxx::UniquePtr;
|
||||
use log::trace;
|
||||
|
||||
@@ -10,3 +10,5 @@ pub mod video_frame;
|
||||
pub mod video_frame_buffer;
|
||||
pub mod webrtc;
|
||||
pub mod yuv_helper;
|
||||
|
||||
pub mod prelude;
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
pub use crate::data_channel::{DataChannel, DataChannelInit, DataState};
|
||||
pub use crate::jsep::{IceCandidate, SessionDescription};
|
||||
pub use crate::media_stream::{
|
||||
AudioTrack, MediaStream, MediaStreamTrackHandle, MediaStreamTrackTrait, VideoTrack,
|
||||
};
|
||||
pub use crate::peer_connection::{
|
||||
IceConnectionState, IceGatheringState, PeerConnection, PeerConnectionState,
|
||||
RTCOfferAnswerOptions, SignalingState,
|
||||
};
|
||||
pub use crate::peer_connection_factory::{
|
||||
ContinualGatheringPolicy, ICEServer, IceTransportsType, PeerConnectionFactory, RTCConfiguration,
|
||||
};
|
||||
pub use crate::rtc_error::RTCError;
|
||||
pub use crate::rtp_receiver::RtpReceiver;
|
||||
pub use crate::rtp_transceiver::RtpTransceiver;
|
||||
pub use crate::video_frame::{VideoFrame, VideoRotation};
|
||||
pub use crate::video_frame_buffer::*;
|
||||
pub use crate::webrtc::RTCRuntime;
|
||||
Reference in New Issue
Block a user