#api-client #web-rtc #signalling #medea #protocols

medea-client-api-proto

Client API protocol implementation for Medea media server

8 breaking releases

Uses new Rust 2024

0.9.0 Mar 28, 2025
0.7.0 Oct 29, 2024
0.5.0 Jul 11, 2023
0.3.0 Apr 9, 2021
0.1.0 Aug 21, 2019

#1242 in Web programming

Download history 1/week @ 2025-01-04 3/week @ 2025-01-11 1/week @ 2025-01-25 3/week @ 2025-02-01 5/week @ 2025-02-08 11/week @ 2025-02-15 3/week @ 2025-02-22 127/week @ 2025-03-08 28/week @ 2025-03-15 27/week @ 2025-03-22 132/week @ 2025-03-29 18/week @ 2025-04-05 32/week @ 2025-04-12 6/week @ 2025-04-19

215 downloads per month
Used in 3 crates

BlueOak-1.0.0

130KB
1.5K SLoC

Medea Client API protocol

Latest version Rust 1.85+ Unsafe Forbidden Rust docs

API docs | Changelog

Client API protocol implementation for Medea media server.

Cargo features

  • client (default): Enables Deserialize implementation for Events, and Serialize implementation for Commands.
  • server: Enables Deserialize implementation for Commands, and Serialize implementation for Events.
  • extended-stats: Enables unused RTC Stats DTOs.

Contribution guide

Avoid using 64 bit types. medea-jason uses wasm-bindgen to interop with JS, and exposing 64 bit types to JS will make wasm-bindgen to use BigInt64Array / BigUint64Array in its JS glue, which are not implemented or were implemented too recently in some UAs.

So, it's better to keep protocol 64-bit-types-clean to avoid things breaking by accident.

License

Copyright © 2019-2025 Instrumentisto Team https://github.com/instrumentisto

This software is subject to the terms of the Blue Oak Model License 1.0.0. If a copy of the BlueOak-1.0.0 license was not distributed with this file, You can obtain one at https://blueoakcouncil.org/license/1.0.0.

Dependencies

~1.7–2.4MB
~47K SLoC