Back to Mediasoup

mediasoup-types v3

rust/types/README.md

3.19.22905 B
Original Source

mediasoup-types v3

Type definitions and shared data structures for the mediasoup crate.

Overview

mediasoup-types provides core types, enums, and data structures used throughout the mediasoup Rust crates. This crate is intended for use by both the main mediasoup implementation and any libraries, tools, or applications that interact with mediasoup in Rust.

Usage

Add mediasoup-types to your Cargo.toml:

toml
[dependencies]
mediasoup-types = "X.Y.Z"

Import and use the types in your Rust code:

rust
use mediasoup_types::{RtpCodecParameters, RtpCapabilities, MediaKind};

Documentation

You can support mediasoup by sponsoring it. Thanks!

License

ISC