Module medea_jason::peer
source · Expand description
Adapters to RTCPeerConnection and related objects.
Modules
PeerConnection
media management.- State of the media publishing.
- State of media mute state.
- Implementation of the
MediaTrack
with aRecv
direction. - Component responsible for the
peer::Component
creating and removing. - Implementation of the
MediaTrack
with aSend
direction.
Structs
- Criteria, used for local stream updates, allowing to specify a set of
MediaKind
+MediaSourceKind
pairs. - High-level wrapper around a
platform::RtcPeerConnection
. - Subtype of
TracksRequest
, which can have maximum one track of each kind and must have at least one track of any kind. - State of a
Component
. - Representation of MediaStreamConstraints object.
- Component managing all kinds of
TransitableState
.
Enums
- Errors occurring in
MediaConnections::get_mids()
method. - Errors occurring in
MediaConnections::insert_local_tracks()
method. - Local media update errors that
PeerConnection
reports inPeerEvent::FailedLocalMedia
messages. - All media states which can be toggled in the
MediaStateControllable
. - Events emitted from
platform::RtcPeerConnection
. - Error occurring when media state transition is not allowed.
- Errors that may occur during signaling between this and remote RTCPeerConnection and event handlers setting errors.
- Direction of the
MediaTrack
. - Errors that may occur when validating
TracksRequest
or parsinglocal::Track
s. - All media exchange states in which
MediaStateControllable
can be. - Errors occurring in
PeerConnection::update_local_stream()
method.
Traits
- Default functions for dealing with
MediaExchangeStateController
andMuteStateController
for objects that use it. - Handler of
PeerEvent
variants.
Type Definitions
- Component responsible for a
PeerConnection
updating. TransitableState
for themute_state::Stable
.TransitableStateController
for themute_state
.