Unverified 提交 3193c767 authored 作者: Nazar Mokrynskyi's avatar Nazar Mokrynskyi 提交者: GitHub

Rust release 0.7.2 (#568)

上级 66cbcae4
......@@ -3,6 +3,7 @@
[![][mediasoup-banner]][mediasoup-website]
[![][npm-shield-mediasoup]][npm-mediasoup]
[![][crates-shield-mediasoup]][crates-mediasoup]
[![][github-actions-shield-mediasoup-node]][github-actions-mediasoup-node]
[![][github-actions-shield-mediasoup-worker]][github-actions-mediasoup-worker]
[![][github-actions-shield-mediasoup-rust]][github-actions-mediasoup-rust]
......@@ -26,7 +27,7 @@ mediasoup and its client side libraries are designed to accomplish with the foll
* Be a [SFU](https://webrtcglossary.com/sfu/) (Selective Forwarding Unit).
* Support both WebRTC and plain RTP input and output.
* Be a Node.js module in server side.
* Be a Node.js module/Rust crate in server side.
* Be a tiny JavaScript and C++ libraries in client side.
* Be minimalist: just handle the media layer.
* Be signaling agnostic: do not mandate any signaling protocol.
......@@ -51,15 +52,15 @@ mediasoup and its client side libraries provide a super low level API. They are
## Features
* ECMAScript 6 low level API.
* ECMAScript 6/Idiomatic Rust low level API.
* Multi-stream: multiple audio/video streams over a single ICE + DTLS transport.
* IPv6 ready.
* ICE / DTLS / RTP / RTCP over UDP and TCP.
* Simulcast and SVC support.
* Congestion control.
* Sender and receiver bandwidth estimation with spatial/temporal layers distribution algorithm.
* Data message exchange (via WebRTC DataChannels, SCTP over plain UDP, and direct termination in Node.js).
* Extremely powerful (media worker subprocess coded in C++ on top of [libuv](https://libuv.org)).
* Data message exchange (via WebRTC DataChannels, SCTP over plain UDP, and direct termination in Node.js/Rust).
* Extremely powerful (media worker thread/subprocess coded in C++ on top of [libuv](https://libuv.org)).
## Demo Online
......@@ -92,6 +93,8 @@ You can support mediasoup by [sponsoring][sponsor] it. Thanks!
[mediasoup-discourse]: https://mediasoup.discourse.group
[npm-shield-mediasoup]: https://img.shields.io/npm/v/mediasoup.svg
[npm-mediasoup]: https://npmjs.org/package/mediasoup
[crates-shield-mediasoup]: https://img.shields.io/crates/v/mediasoup.svg
[crates-mediasoup]: https://crates.io/crates/mediasoup
[github-actions-shield-mediasoup-node]: https://github.com/versatica/mediasoup/actions/workflows/mediasoup-node.yaml/badge.svg
[github-actions-mediasoup-node]: https://github.com/versatica/mediasoup/actions/workflows/mediasoup-node.yaml
[github-actions-shield-mediasoup-worker]: https://github.com/versatica/mediasoup/actions/workflows/mediasoup-worker.yaml/badge.svg
......
# Changelog
### 0.7.2
* Thread and memory safety fixes in mediasoup-sys
* macOS support
* `NonClosingProducer` renamed into `PipedProducer` with better docs
* Internal restructuring of modules for better compatibility with IDEs
* Feature level updated to mediasoup `3.7.6`
### 0.7.0
* Switch from running C++ worker processes to worker threads using mediasoup-sys that wraps mediasoup-worker into library
......
[package]
name = "mediasoup"
version = "0.7.1"
version = "0.7.2"
description = "Cutting Edge WebRTC Video Conferencing in Rust"
categories = ["api-bindings", "multimedia", "network-programming"]
authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"]
......@@ -8,8 +8,12 @@ edition = "2018"
license = "ISC"
keywords = ["webrtc", "ortc", "sfu"]
documentation = "https://docs.rs/mediasoup"
repository = "https://github.com/versatica/mediasoup/tree/v3/rust"
readme = "readme.md"
repository = "https://github.com/versatica/mediasoup"
readme = "README.md"
include = [
"/src",
"/README.md"
]
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
......@@ -41,7 +45,7 @@ version = "0.6.5"
[dependencies.mediasoup-sys]
path = "../worker"
version = "0.1.1"
version = "0.1.2"
[dependencies.parking_lot]
version = "0.11.1"
......
../README.md
\ No newline at end of file
......@@ -9,13 +9,13 @@
},
"author": "Nazar Mokrynskyi <nazar@mokrynskyi.com>",
"dependencies": {
"mediasoup-client": "^3.6.25"
"mediasoup-client": "^3.6.30"
},
"devDependencies": {
"ts-loader": "^8.0.13",
"typescript": "^4.1.3",
"webpack": "^5.11.1",
"webpack-cli": "^4.3.1",
"webpack-dev-server": "^4.0.0-beta.0"
"ts-loader": "^9.2.2",
"typescript": "^4.2.4",
"webpack": "^5.37.1",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^3.11.2"
}
}
......@@ -4,9 +4,6 @@ This directory contains examples of using mediasoup Rust library.
NOTE: These examples are simplified and provided for demo purposes only, they are by no means complete or representative
of production-grade software, use for educational purposes only and refer to documentation for all possible options.
Before running server-side examples you need to make sure `mediasoup-worker` is built, for this run `npm i` in the root
of the repository.
In order to run server-side part of examples (this directory) use `cargo run --example EXAMPLE_NAME`.
# Echo
......
# Rust port of [mediasoup](https://github.com/versatica/mediasoup) TypeScript library
[![Crates.io](https://img.shields.io/crates/v/mediasoup?style=flat-square)](https://crates.io/crates/mediasoup)
[![Docs](https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square)](https://docs.rs/mediasoup)
[![License](https://img.shields.io/github/license/nazar-pc/mediasoup?style=flat-square)](https://github.com/versatica/mediasoup/v3/rust)
# Support forum
* [mediasoup.discourse.group](https://mediasoup.discourse.group/)
# Design Goals
mediasoup and its client side libraries are designed to accomplish with the following goals:
* Be a [SFU](https://webrtcglossary.com/sfu/) (Selective Forwarding Unit).
* Support both WebRTC and plain RTP input and output.
* Be a Rust/Node.js module in server side.
* Be a tiny JavaScript and C++ libraries in client side.
* Be minimalist: just handle the media layer.
* Be signaling agnostic: do not mandate any signaling protocol.
* Be super low level API.
* Support all existing WebRTC endpoints.
* Enable integration with well known multimedia libraries/tools.
## Use Cases
mediasoup and its client side libraries provide a super low level API. They are intended to
enable different use cases and scenarios, without any constraint or assumption. Some of these
use cases are:
* Group video chat applications.
* One-to-many (or few-to-many) broadcasting applications in real-time.
* RTP streaming.
## Features
* Idiomatic Rust/ECMAScript 6 low level API.
* Multi-stream: multiple audio/video streams over a single ICE + DTLS transport.
* IPv6 ready.
* ICE / DTLS / RTP / RTCP over UDP and TCP.
* Simulcast and SVC support.
* Congestion control.
* Sender and receiver bandwidth estimation with spatial/temporal layers distribution algorithm.
* Data message exchange (via WebRTC DataChannels, SCTP over plain UDP, and direct termination in Rust/Node.js).
* Extremely powerful (media worker subprocess/thead coded in C++ on top of [libuv](https://libuv.org)).
## Authors
* Iñaki Baz Castillo [[website](https://inakibaz.me)|[github](https://github.com/ibc/)]
* José Luis Millán [[github](https://github.com/jmillan/)]
* Nazar Mokrynskyi (Rust port) [[github](https://github.com/nazar-pc)]
## License
ISC
[package]
name = "mediasoup-sys"
version = "0.1.1"
version = "0.1.2"
description = "FFI bindings to C++ libmediasoup-worker"
authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"]
edition = "2018"
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论