Re-exports§
pub use error::Error;
pub use data;
pub use dtls;
pub use ice;
pub use interceptor;
pub use mdns;
pub use media;
pub use rtcp;
pub use rtp;
pub use sctp;
pub use sdp;
pub use srtp;
pub use stun;
pub use turn;
pub use util;
Modules§
- api
- Set of constructors for WebRTC primitives. Subject to deprecation in future.
- data_
channel - WebRTC DataChannel can be used for peer-to-peer transmitting arbitrary binary data.
- dtls_
transport - error
Error
enumerates WebRTC problems,error::OnErrorHdlrFn
defines type for callback-logger.- ice_
transport - The utilities defining transport between peers. Contains
ice_transport::ice_server::RTCIceServer
struct which describes how peer does ICE (Interactive Connectivity Establishment). - mux
- Module responsible for multiplexing data streams of different protocols on one socket. Custom
mux::endpoint::Endpoint
withmux::mux_func::MatchFunc
can be used for parsing your application-specific byte stream. - peer_
connection peer_connection::RTCPeerConnection
allows to establish connection between two peers given RTC configuration. Its API is similar to one in JavaScript.- rtp_
transceiver - sctp_
transport - stats
- Measuring connection statistics, such as amount of data transmitted or round trip time.
- track