Crate medea_jason[][src]

Client library for Medea media server.

Modules

api

External Jason API accessible from JS.

media

Adapters to Media Capture and Streams API.

peer

Adapters to RTCPeerConnection and related objects.

rpc

Abstraction over RPC transport.

utils

Miscellaneous utility structs and functions.

Structs

AudioTrackConstraints

Constraints applicable to audio tracks.

ConnectionHandle

Connection with a specific remote Member, that is used on JS side.

DeviceVideoTrackConstraints

Constraints applicable to video tracks that are sourced from some media device.

DisplayVideoTrackConstraints

Constraints applicable to video tracks sourced from screen capture.

Jason

General library interface.

JsTrack

Wrapper around strongly referenced Track for JS side.

MediaStreamSettings

MediaStreamConstraints wrapper.

RoomCloseReason

Reason of why Room has been closed.

RoomHandle

JS side handle to Room where all the media happens.

Track

Wrapper around MediaStreamTrack received from the remote.

Enums

FacingMode

Describes the directions that the camera can face, as seen from the user’s perspective. Representation of VideoFacingModeEnum.

JsMediaSourceKind

Media source type.

MediaKind

MediaStreamTrack.kind representation.

Functions

set_panic_hook

Set the console.error panic hook the first time this is called. Subsequent invocations do nothing.