Expand description
Facilitating high-level interactions between Rust and WebRTC
The rust high-level abstraction binding of Google WebRTC M99. With WebRTC, you can add real-time communication capabilities to your application that works on top of an open standard. It supports video, voice, and generic data to be sent between peers, allowing developers to build powerful voice- and video-communication solutions.
Structs
A list of audio frames in pcm format, usually 10ms long.
The AudioTrack interface represents a single audio track from
a MediaStreamTrack.
The RTCDataChannel interface represents a network channel which can be used
for bidirectional peer-to-peer transfers of arbitrary data.
An object providing configuration options for the data channel.
The MediaStream interface represents a stream of media content.
wrapper observer trait impl.
RTCPeerConnection Configuration.
Indicates a candidate Interactive Connection Establishment
(ICE) configuration.
The RTCIceServer dictionary defines how to connect to a single ICE
server (such as a STUN or TURN server).
The RTCPeerConnection interface represents a WebRTC connection between
the local computer and a remote peer.
The RTCSessionDescription interface describes one end of a connection or
potential connection and how it’s configured.
A sink trait type wrapper.
VideoFrame represents the frame of the video,
and the format is i420 (yu12).
The VideoTrack interface represents a single video track from
a MediaStreamTrack.
Enums
How to handle negotiation of candidates when remote peer is not compatible
with standard SDP BUNDLE.
Used to process outgoing WebRTC packets and prioritize outgoing WebRTC
packets in case of congestion.
Indicates the state of the data channel connection.
It describes the current state of the ICE agent and its connection to
the ICE server.
Describes the ICE collection status of the connection.
The current ICE transport policy; if the policy isn’t specified, all is
assumed by default, allowing all candidates to be considered.
The MediaStreamTrack interface represents a single media track within
a stream typically.
This state essentially represents the aggregate state of all ICE
transports (which are of type RTCIceTransport or RTCDtlsTransport)
being used by the connection.
An enum describing the session description’s type.
The RTCP mux policy to use when gathering ICE candidates,
in order to support non-multiplexed RTCP.
Describes the state of the signaling process at the local end
of the connection when connecting or reconnecting to another peer.
Traits
PeerConnection callback interface, used for RTCPeerConnection events.
Application should implement these methods.
A Sink is a value into which other values can be sent.
Functions
By default, run() calls Thread::Current()->Run().
To receive and dispatch messages.
Type Definitions
Arc DataChannel.