Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
3193c767
Unverified
提交
3193c767
authored
5月 31, 2021
作者:
Nazar Mokrynskyi
提交者:
GitHub
5月 31, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Rust release 0.7.2 (#568)
上级
66cbcae4
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
32 行增加
和
64 行删除
+32
-64
README.md
README.md
+7
-4
CHANGELOG.md
rust/CHANGELOG.md
+8
-0
Cargo.toml
rust/Cargo.toml
+8
-4
README.md
rust/README.md
+2
-0
package.json
rust/examples-frontend/echo/package.json
+6
-6
readme.md
rust/examples/readme.md
+0
-3
readme.md
rust/readme.md
+0
-46
Cargo.toml
worker/Cargo.toml
+1
-1
没有找到文件。
README.md
浏览文件 @
3193c767
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
[
![
][
mediasoup-banner
]
]
[
mediasoup-website
]
[
![
][
mediasoup-banner
]
]
[
mediasoup-website
]
[
![
][
npm-shield-mediasoup
]
]
[
npm-mediasoup
]
[
![
][
npm-shield-mediasoup
]
]
[
npm-mediasoup
]
[
![
][
crates-shield-mediasoup
]
]
[
crates-mediasoup
]
[
![
][
github-actions-shield-mediasoup-node
]
]
[
github-actions-mediasoup-node
]
[
![
][
github-actions-shield-mediasoup-node
]
]
[
github-actions-mediasoup-node
]
[
![
][
github-actions-shield-mediasoup-worker
]
]
[
github-actions-mediasoup-worker
]
[
![
][
github-actions-shield-mediasoup-worker
]
]
[
github-actions-mediasoup-worker
]
[
![
][
github-actions-shield-mediasoup-rust
]
]
[
github-actions-mediasoup-rust
]
[
![
][
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
...
@@ -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).
*
Be a
[
SFU
](
https://webrtcglossary.com/sfu/
)
(
Selective
Forwarding Unit).
*
Support both WebRTC and plain RTP input and output.
*
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 a tiny JavaScript and C++ libraries in client side.
*
Be minimalist: just handle the media layer.
*
Be minimalist: just handle the media layer.
*
Be signaling agnostic: do not mandate any signaling protocol.
*
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
...
@@ -51,15 +52,15 @@ mediasoup and its client side libraries provide a super low level API. They are
## Features
## 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.
*
Multi-stream: multiple audio/video streams over a single ICE + DTLS transport.
*
IPv6 ready.
*
IPv6 ready.
*
ICE / DTLS / RTP / RTCP over UDP and TCP.
*
ICE / DTLS / RTP / RTCP over UDP and TCP.
*
Simulcast and SVC support.
*
Simulcast and SVC support.
*
Congestion control.
*
Congestion control.
*
Sender and receiver bandwidth estimation with spatial/temporal layers distribution algorithm.
*
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).
*
Data message exchange (via WebRTC DataChannels, SCTP over plain UDP, and direct termination in Node.js
/Rust
).
*
Extremely powerful (media worker subprocess coded in C++ on top of
[
libuv
](
https://libuv.org
)
).
*
Extremely powerful (media worker
thread/
subprocess coded in C++ on top of
[
libuv
](
https://libuv.org
)
).
## Demo Online
## Demo Online
...
@@ -92,6 +93,8 @@ You can support mediasoup by [sponsoring][sponsor] it. Thanks!
...
@@ -92,6 +93,8 @@ You can support mediasoup by [sponsoring][sponsor] it. Thanks!
[
mediasoup-discourse
]:
https://mediasoup.discourse.group
[
mediasoup-discourse
]:
https://mediasoup.discourse.group
[
npm-shield-mediasoup
]:
https://img.shields.io/npm/v/mediasoup.svg
[
npm-shield-mediasoup
]:
https://img.shields.io/npm/v/mediasoup.svg
[
npm-mediasoup
]:
https://npmjs.org/package/mediasoup
[
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-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-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
[
github-actions-shield-mediasoup-worker
]:
https://github.com/versatica/mediasoup/actions/workflows/mediasoup-worker.yaml/badge.svg
...
...
rust/
changelog
.md
→
rust/
CHANGELOG
.md
浏览文件 @
3193c767
# Changelog
# 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
### 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
...
...
rust/Cargo.toml
浏览文件 @
3193c767
[package]
[package]
name
=
"mediasoup"
name
=
"mediasoup"
version
=
"0.7.
1
"
version
=
"0.7.
2
"
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>"
]
...
@@ -8,8 +8,12 @@ edition = "2018"
...
@@ -8,8 +8,12 @@ edition = "2018"
license
=
"ISC"
license
=
"ISC"
keywords
=
[
"webrtc"
,
"ortc"
,
"sfu"
]
keywords
=
[
"webrtc"
,
"ortc"
,
"sfu"
]
documentation
=
"https://docs.rs/mediasoup"
documentation
=
"https://docs.rs/mediasoup"
repository
=
"https://github.com/versatica/mediasoup/tree/v3/rust"
repository
=
"https://github.com/versatica/mediasoup"
readme
=
"readme.md"
readme
=
"README.md"
include
=
[
"/src"
,
"/README.md"
]
[package.metadata.docs.rs]
[package.metadata.docs.rs]
default-target
=
"x86_64-unknown-linux-gnu"
default-target
=
"x86_64-unknown-linux-gnu"
...
@@ -41,7 +45,7 @@ version = "0.6.5"
...
@@ -41,7 +45,7 @@ version = "0.6.5"
[dependencies.mediasoup-sys]
[dependencies.mediasoup-sys]
path
=
"../worker"
path
=
"../worker"
version
=
"0.1.
1
"
version
=
"0.1.
2
"
[dependencies.parking_lot]
[dependencies.parking_lot]
version
=
"0.11.1"
version
=
"0.11.1"
...
...
rust/README.md
0 → 120000
浏览文件 @
3193c767
../README.md
\ No newline at end of file
rust/examples-frontend/echo/package.json
浏览文件 @
3193c767
...
@@ -9,13 +9,13 @@
...
@@ -9,13 +9,13 @@
},
},
"author"
:
"Nazar Mokrynskyi <nazar@mokrynskyi.com>"
,
"author"
:
"Nazar Mokrynskyi <nazar@mokrynskyi.com>"
,
"dependencies"
:
{
"dependencies"
:
{
"mediasoup-client"
:
"^3.6.
25
"
"mediasoup-client"
:
"^3.6.
30
"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"ts-loader"
:
"^
8.0.13
"
,
"ts-loader"
:
"^
9.2.2
"
,
"typescript"
:
"^4.
1.3
"
,
"typescript"
:
"^4.
2.4
"
,
"webpack"
:
"^5.
11
.1"
,
"webpack"
:
"^5.
37
.1"
,
"webpack-cli"
:
"^4.
3.1
"
,
"webpack-cli"
:
"^4.
7.0
"
,
"webpack-dev-server"
:
"^
4.0.0-beta.0
"
"webpack-dev-server"
:
"^
3.11.2
"
}
}
}
}
rust/examples/readme.md
浏览文件 @
3193c767
...
@@ -4,9 +4,6 @@ This directory contains examples of using mediasoup Rust library.
...
@@ -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
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.
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`
.
In order to run server-side part of examples (this directory) use
`cargo run --example EXAMPLE_NAME`
.
# Echo
# Echo
...
...
rust/readme.md
deleted
100644 → 0
浏览文件 @
66cbcae4
# Rust port of [mediasoup](https://github.com/versatica/mediasoup) TypeScript library
[

](https://crates.io/crates/mediasoup)
[

](https://docs.rs/mediasoup)
[

](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
worker/Cargo.toml
浏览文件 @
3193c767
[package]
[package]
name
=
"mediasoup-sys"
name
=
"mediasoup-sys"
version
=
"0.1.
1
"
version
=
"0.1.
2
"
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
=
"2018"
edition
=
"2018"
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论