medea-client-api-proto

Crates.iomedea-client-api-proto
lib.rsmedea-client-api-proto
version0.7.0
sourcesrc
created_at2019-08-21 15:16:16.690227
updated_at2024-10-29 14:48:31.371053
descriptionClient API protocol implementation for Medea media server.
homepagehttps://github.com/instrumentisto/medea-jason/tree/master/proto/client-api
repositoryhttps://github.com/instrumentisto/medea-jason
max_upload_size
id158666
size125,854
Kai Ren (tyranron)

documentation

https://docs.rs/medea-client-api-proto

README

Medea Client API protocol

Latest version Rust 1.65+ 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-2024 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.

Commit count: 216

cargo fmt