16ea02075f
- RtpSender
- RtpReceiver
- RtpTransceiver
- RtpParameters
- VideoFrameBuilder
- Interior mutability on c++ side
- Cleanup bindings ( Use #pragma once instead of include guards )
- webrtc-sys/src/* headers are now used in only one place
- Avoid confusion between generated headers and our headers
- AdaptedVideoTrackSource
- Cleanup the workaround with unsupported Vec<Shared<T>>
- Put everything inside one file
34 lines
733 B
Rust
34 lines
733 B
Rust
pub mod candidate;
|
|
pub mod data_channel;
|
|
pub mod helper;
|
|
pub mod jsep;
|
|
pub mod media_stream;
|
|
pub mod peer_connection;
|
|
pub mod peer_connection_factory;
|
|
pub mod rtc_error;
|
|
pub mod rtp_parameters;
|
|
pub mod rtp_receiver;
|
|
pub mod rtp_sender;
|
|
pub mod rtp_transceiver;
|
|
pub mod video_frame;
|
|
pub mod video_frame_buffer;
|
|
pub mod webrtc;
|
|
pub mod yuv_helper;
|
|
|
|
pub const MEDIA_TYPE_VIDEO: &str = "video";
|
|
pub const MEDIA_TYPE_AUDIO: &str = "audio";
|
|
pub const MEDIA_TYPE_DATA: &str = "data";
|
|
|
|
macro_rules! impl_thread_safety {
|
|
($obj:ty, Send) => {
|
|
unsafe impl Send for $obj {}
|
|
};
|
|
|
|
($obj:ty, Send + Sync) => {
|
|
unsafe impl Send for $obj {}
|
|
unsafe impl Sync for $obj {}
|
|
};
|
|
}
|
|
|
|
pub(crate) use impl_thread_safety;
|