Module medea_jason::peer[][src]

Adapters to RTCPeerConnection and related objects.

Modules

media_exchange_state

State of the media publishing.

mute_state

State of media mute state.

receiver

Implementation of the MediaTrack with a Recv direction.

repo

Component responsible for the peer::Component creating and removing.

sender

Implementation of the MediaTrack with a Send direction.

Structs

IceCandidate

RTCIceCandidate representation.

LocalStreamUpdateCriteria

Criteria, used for local stream updates, allowing to specify a set of MediaKind + MediaSourceKind pairs.

MediaConnections

Storage of RtcPeerConnection’s sender::Component and receiver::Component.

PeerConnection

High-level wrapper around RtcPeerConnection.

RtcPeerConnection

Representation of RTCPeerConnection.

RtcStats

All available RtcStatsType of PeerConnection.

SimpleTracksRequest

Subtype of TracksRequest, which can have maximum one track of each kind and must have at least one track of any kind.

State

State of a Component.

TracksRequest

Representation of MediaStreamConstraints object.

Transceiver

Wrapper around RtcRtpTransceiver which provides handy methods for direction changes.

TransceiverDirection

Representation of RTCRtpTransceiverDirection.

TransitableStateController

Component managing all kinds of TransitableState.

Enums

MediaConnectionsError

Errors that may occur in MediaConnections storage.

MediaState

All media states which can be toggled in the MediaStateControllable.

PeerError

Errors that may occur in RTCPeerConnection.

PeerEvent

Events emitted from RtcPeerConnection.

RtcPeerConnectionError

Errors that may occur during signaling between this and remote RTCPeerConnection and event handlers setting errors.

SdpType

Representation of RTCSdpType.

TrackDirection

Direction of the MediaTrack.

TrackEvent

Events emitted from a Sender or a Receiver.

TracksRequestError

Errors that may occur when validating TracksRequest or parsing local::Tracks.

TransitableState

All media exchange states in which MediaStateControllable can be.

Traits

MediaStateControllable

Default functions for dealing with MediaExchangeStateController and MuteStateController for objects that use it.

PeerEventHandler

Handler of PeerEvent variants.

TransceiverSide

Transceiver’s sending (Sender) or receiving (Receiver) side.

Type Definitions

Component

Component responsible for a PeerConnection updating.

MediaExchangeState

TransitableState for the media_exchange_state::Stable.

MediaExchangeStateController

TransitableStateController for the media_exchange_state.

MuteState

TransitableState for the mute_state::Stable.

MuteStateController

TransitableStateController for the mute_state.