Module medea_jason::platform
source · Expand description
Platform-specific functionality.
Re-exports
pub use self::callback::Callback;
pub use self::peer_connection::IceCandidate;
pub use self::peer_connection::RtcPeerConnectionError;
pub use self::peer_connection::SdpType;
pub use self::rtc_stats::RtcStatsError;
pub use self::transceiver::Direction as TransceiverDirection;
pub use self::transport::RpcTransport;
pub use self::transport::TransportError;
pub use self::transport::TransportState;
Modules
- Functionality for calling platform callbacks.
- Representations of MediaTrackConstraints and MediaStreamConstraints.
- Wrapper for Dart exceptions.
- Executor of
Future
s for the Dart environment. - ICE candidate of a RTCPeerConnection.
- Collection of RTCIceServers.
- MediaDeviceInfo related representations.
- Representation of MediaDevices.
- WebRTC display source related representations.
- Representation of a MediaStreamTrack.
- Platform-agnostic functionality of
platform::RtcPeerConnection
. - Platform-agnostic functionality of
platform::RtcStats
. - Definition and implementation of RTCRtpTransceiverDirection.
- Platform-agnostic functionality of RPC transport.
- Multiplatform Dart runtime specific utility structs and functions.
Structs
- Dart side representation of DisplayMediaStreamConstraints.
- Wrapper for Dart exception thrown when calling Dart code.
- Dart closure that can be called from Rust.
- Representation of a MediaDeviceInfo ONLY for input devices.
- Media devices controller.
- Representation of a display source.
- Dart side representation of MediaStreamConstraints.
- Representation of RTCPeerConnection.
- All available
RtcStatsType
s of aRtcPeerConnection
. - Wrapper around RTCRtpTransceiver which provides handy methods for direction changes.
RpcTransport
implementation of a Dart sideWebSocket
.
Enums
Error
appeared on getUserMedia() request, differentiated by its cause.
Functions
- Function to initialize
dart_api_dl
functions. - Initializes
simple_logger
as the default application logger with filter level set tolog::LevelFilter::Debug
. - Sets Rust’s
panic!
hook providing backtrace of the occurred panic to Dart’s functions. - Runs a Rust
Future
on the current thread.