Unverified 提交 baf3f49e authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo 提交者: GitHub

Update Cargo mediasoup to 0.13.0 and mediasoup-sys to 0.7.0 (#1247)

上级 5db9b8ae
# Changelog # Changelog
# 0.13.0
* Updates from mediasoup TypeScript `3.13.0..=3.13.7`.
* General mediasoup changes:
* Switch from JSON based messages to `flatbuffers` (PR #1064).
* Enable `liburing` usage for Linux (kernel versions >= 6) (PR #1218).
* Add pause/resume API in `DataProducer` and `DataConsumer` (PR #1104).
* DataChannel subchannels feature (PR #1152).
* `Worker`: Make DTLS fragment stay within MTU size range (PR #1156).
* Replace make + Makefile with Python Invoke library + tasks.py (also fix installation under path with whitespaces) (PR #1239).
# 0.12.0 # 0.12.0
* Updates from mediasoup TypeScript `3.11.9..=3.12.16`. * Updates from mediasoup TypeScript `3.11.9..=3.12.16`.
...@@ -32,9 +43,9 @@ ...@@ -32,9 +43,9 @@
# 0.9.3 # 0.9.3
* Fix a segfaults in tests and under multithreaded executor * Fix a segfaults in tests and under multithreaded executor.
* Fix another racy deadlock situation * Fix another racy deadlock situation.
* Expose hierarchical dependencies of ownership of Rust data structures, now it is possible to call `consumer.transport().router().worker().worker_manager()` * Expose hierarchical dependencies of ownership of Rust data structures, now it is possible to call `consumer.transport().router().worker().worker_manager()`.
* General mediasoup changes: * General mediasoup changes:
* ICE renomination support (PR #756). * ICE renomination support (PR #756).
* Update `libuv` to 1.43.0. * Update `libuv` to 1.43.0.
...@@ -52,20 +63,20 @@ ...@@ -52,20 +63,20 @@
# 0.9.1 # 0.9.1
* Fix cleanup of build artifacts * Fix cleanup of build artifacts.
* Make `Transport` implement `Send` * Make `Transport` implement `Send`.
* Another fix to rare deadlock * Another fix to rare deadlock.
* Improved Windows support (doesn't require MSVS activation) * Improved Windows support (doesn't require MSVS activation).
# 0.9.0 # 0.9.0
* Fix for receiving data over payload channel * Fix for receiving data over payload channel.
* Support thread initializer function for worker threads, can be used for pinning worker threads to CPU cores * Support thread initializer function for worker threads, can be used for pinning worker threads to CPU cores.
* Significant worker communication optimizations (especially latency) * Significant worker communication optimizations (especially latency).
* Switch from file descriptors to function calls when communicating with worker * Switch from file descriptors to function calls when communicating with worker.
* Various optimizations that caused minor breaking changes to public API * Various optimizations that caused minor breaking changes to public API.
* Requests no longer have internal timeout, but they can now be cancelled, add your own timeouts on top if needed * Requests no longer have internal timeout, but they can now be cancelled, add your own timeouts on top if needed.
* Windows support * Windows support.
* General mediasoup changes: * General mediasoup changes:
* Replaces GYP build system with fully-functional Meson build system (PR #622). * Replaces GYP build system with fully-functional Meson build system (PR #622).
* `Consumer`: Modification of bitrate allocation algorithm (PR #708). * `Consumer`: Modification of bitrate allocation algorithm (PR #708).
...@@ -73,54 +84,54 @@ ...@@ -73,54 +84,54 @@
# 0.8.5 # 0.8.5
* Fix types for `round_trip_time` and `bitrate_by_layer` fields `ProducerStat` and `ConsumerStat` * Fix types for `round_trip_time` and `bitrate_by_layer` fields `ProducerStat` and `ConsumerStat`.
* Accumulation of worker fixes * Accumulation of worker fixes.
# 0.8.4 # 0.8.4
* Add Active Speaker Observer to prelude * Add Active Speaker Observer to prelude.
* Fix consumers preventing producers from being closed (regression introduced in 0.8.3) * Fix consumers preventing producers from being closed (regression introduced in 0.8.3).
# 0.8.3 # 0.8.3
* prelude module containing traits and structs that should be sufficient for most basic mediasoup-based apps * prelude module containing traits and structs that should be sufficient for most basic mediasoup-based apps.
* Dominant Speaker Event (PR #603 by @SteveMcFarlin). * Dominant Speaker Event (PR #603 by @SteveMcFarlin).
### 0.8.2 ### 0.8.2
* Support for optional fixed port on transports * Support for optional fixed port on transports.
### 0.8.1 ### 0.8.1
* Add convenience methods for getting information from `TransportTuple` enum, especially local IP/port * Add convenience methods for getting information from `TransportTuple` enum, especially local IP/port.
* Add `mid` option in `ConsumerOptions` to provide way to override MID * Add `mid` option in `ConsumerOptions` to provide way to override MID
* Add convenience method `ConsumerStats::consumer_stat()` * Add convenience method `ConsumerStats::consumer_stat()`.
### 0.8.0 ### 0.8.0
* `NonClosingProducer` removed (use `PipedProducer` instead, they were identical) * `NonClosingProducer` removed (use `PipedProducer` instead, they were identical).
* `RtpHeaderExtensionUri::as_str()` now takes `self` instead of `&self` * `RtpHeaderExtensionUri::as_str()` now takes `self` instead of `&self`.
* `kind` field of `RtpHeaderExtension` is no longer optional * `kind` field of `RtpHeaderExtension` is no longer optional.
* Refactor `ScalabilityMode` from being a string to enum, make sure layers are not zero on type system level * Refactor `ScalabilityMode` from being a string to enum, make sure layers are not zero on type system level.
* Concrete types for info field of tracing events * Concrete types for info field of tracing events.
### 0.7.2 ### 0.7.2
* Thread and memory safety fixes in mediasoup-sys * Thread and memory safety fixes in mediasoup-sys.
* macOS support * macOS support.
* `NonClosingProducer` renamed into `PipedProducer` with better docs * `NonClosingProducer` renamed into `PipedProducer` with better docs.
* Internal restructuring of modules for better compatibility with IDEs * Internal restructuring of modules for better compatibility with IDEs.
* Feature level updated to mediasoup `3.7.6` * Feature level updated to mediasoup `3.7.6`.
### 0.7.0 ### 0.7.0
* Switch from running C++ worker processes to worker threads using mediasoup-sys that wraps mediasoup-worker into library * Switch from running C++ worker processes to worker threads using mediasoup-sys that wraps mediasoup-worker into library.
* Simplify `WorkerManager::new()` and `WorkerManager::with_executor()` API as the result of above * Simplify `WorkerManager::new()` and `WorkerManager::with_executor()` API as the result of above.
* Support `rtxPacketsDiscarded` in `Producer` stats * Support `rtxPacketsDiscarded` in `Producer` stats.
* Enable Rust 2018 idioms warnings * Enable Rust 2018 idioms warnings.
* Make sure all public types have `Debug` implementation on them * Make sure all public types have `Debug` implementation on them.
* Enforce docs on public types and add missing documentation * Enforce docs on public types and add missing documentation.
* Remove `RtpCodecParametersParameters::new()` (`RtpCodecParametersParameters::default()` does the same thing) * Remove `RtpCodecParametersParameters::new()` (`RtpCodecParametersParameters::default()` does the same thing).
### 0.6.0 ### 0.6.0
......
[package] [package]
name = "mediasoup" name = "mediasoup"
version = "0.12.0" version = "0.13.0"
description = "Cutting Edge WebRTC Video Conferencing in Rust" description = "Cutting Edge WebRTC Video Conferencing in Rust"
categories = ["api-bindings", "multimedia", "network-programming"] categories = ["api-bindings", "multimedia", "network-programming"]
authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"] authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"]
...@@ -46,7 +46,7 @@ version = "0.8.1" ...@@ -46,7 +46,7 @@ version = "0.8.1"
[dependencies.mediasoup-sys] [dependencies.mediasoup-sys]
path = "../worker" path = "../worker"
version = "0.6.0" version = "0.7.0"
[dependencies.parking_lot] [dependencies.parking_lot]
version = "0.12.1" version = "0.12.1"
......
[package] [package]
name = "mediasoup-sys" name = "mediasoup-sys"
version = "0.6.0" version = "0.7.0"
description = "FFI bindings to C++ libmediasoup-worker" description = "FFI bindings to C++ libmediasoup-worker"
authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"] authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"]
edition = "2021" edition = "2021"
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论