Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
59cc3dec
提交
59cc3dec
authored
11月 05, 2022
作者:
Nazar Mokrynskyi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update dependencies and prepare for new Rust release
上级
5dea7211
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
23 行增加
和
16 行删除
+23
-16
CHANGELOG.md
rust/CHANGELOG.md
+4
-0
Cargo.toml
rust/Cargo.toml
+14
-14
channel.rs
rust/src/worker/channel.rs
+4
-1
Cargo.toml
worker/Cargo.toml
+1
-1
没有找到文件。
rust/CHANGELOG.md
浏览文件 @
59cc3dec
# Changelog
# Changelog
# 0.11.2
*
Updates from mediasoup TypeScript
`3.10.11..=3.11.2`
.
# 0.11.1
# 0.11.1
*
Updates from mediasoup TypeScript
`3.10.7..=3.10.10`
.
*
Updates from mediasoup TypeScript
`3.10.7..=3.10.10`
.
...
...
rust/Cargo.toml
浏览文件 @
59cc3dec
[package]
[package]
name
=
"mediasoup"
name
=
"mediasoup"
version
=
"0.11.
1
"
version
=
"0.11.
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>"
]
...
@@ -23,9 +23,9 @@ targets = []
...
@@ -23,9 +23,9 @@ targets = []
[dependencies]
[dependencies]
async-channel
=
"1.7.1"
async-channel
=
"1.7.1"
async-executor
=
"1.4.1"
async-executor
=
"1.4.1"
async-lock
=
"2.
5
.0"
async-lock
=
"2.
6
.0"
async-oneshot
=
"0.5.0"
async-oneshot
=
"0.5.0"
async-trait
=
"0.1.5
7
"
async-trait
=
"0.1.5
8
"
atomic-take
=
"1.0.0"
atomic-take
=
"1.0.0"
event-listener-primitives
=
"2.0.1"
event-listener-primitives
=
"2.0.1"
fastrand
=
"1.8.0"
fastrand
=
"1.8.0"
...
@@ -34,18 +34,18 @@ h264-profile-level-id = "0.1.1"
...
@@ -34,18 +34,18 @@ h264-profile-level-id = "0.1.1"
hash_hasher
=
"2.0.3"
hash_hasher
=
"2.0.3"
log
=
"0.4.17"
log
=
"0.4.17"
nohash-hasher
=
"0.2.0"
nohash-hasher
=
"0.2.0"
once_cell
=
"1.1
3.1
"
once_cell
=
"1.1
6.0
"
serde_json
=
"1.0.8
5
"
serde_json
=
"1.0.8
7
"
serde_repr
=
"0.1.9"
serde_repr
=
"0.1.9"
thiserror
=
"1.0.3
2
"
thiserror
=
"1.0.3
7
"
[dependencies.lru]
[dependencies.lru]
default-features
=
false
default-features
=
false
version
=
"0.
7.8
"
version
=
"0.
8.1
"
[dependencies.mediasoup-sys]
[dependencies.mediasoup-sys]
path
=
"../worker"
path
=
"../worker"
version
=
"0.5.
1
"
version
=
"0.5.
3
"
[dependencies.parking_lot]
[dependencies.parking_lot]
version
=
"0.12.1"
version
=
"0.12.1"
...
@@ -58,24 +58,24 @@ version = "1.6.0"
...
@@ -58,24 +58,24 @@ version = "1.6.0"
[dependencies.serde]
[dependencies.serde]
features
=
["derive"]
features
=
["derive"]
version
=
"1.0.14
4
"
version
=
"1.0.14
7
"
[dependencies.uuid]
[dependencies.uuid]
features
=
[
"serde"
,
"v4"
]
features
=
[
"serde"
,
"v4"
]
version
=
"1.
1.2
"
version
=
"1.
2.1
"
[dev-dependencies]
[dev-dependencies]
actix
=
"0.13.0"
actix
=
"0.13.0"
actix-web-actors
=
"4.1.0"
actix-web-actors
=
"4.1.0"
async-io
=
"1.
8
.0"
async-io
=
"1.
10
.0"
criterion
=
"0.
3.6
"
criterion
=
"0.
4.0
"
env_logger
=
"0.9.
0
"
env_logger
=
"0.9.
1
"
portpicker
=
"0.1.1"
portpicker
=
"0.1.1"
[dev-dependencies.actix-web]
[dev-dependencies.actix-web]
default-features
=
false
default-features
=
false
features
=
["macros"]
features
=
["macros"]
version
=
"4.
1.0
"
version
=
"4.
2.1
"
[[bench]]
[[bench]]
name
=
"direct_data"
name
=
"direct_data"
...
...
rust/src/worker/channel.rs
浏览文件 @
59cc3dec
...
@@ -14,6 +14,7 @@ use serde_json::Value;
...
@@ -14,6 +14,7 @@ use serde_json::Value;
use
std
::
any
::
TypeId
;
use
std
::
any
::
TypeId
;
use
std
::
collections
::
VecDeque
;
use
std
::
collections
::
VecDeque
;
use
std
::
fmt
::{
Debug
,
Display
};
use
std
::
fmt
::{
Debug
,
Display
};
use
std
::
num
::
NonZeroUsize
;
use
std
::
sync
::
atomic
::{
AtomicBool
,
Ordering
};
use
std
::
sync
::
atomic
::{
AtomicBool
,
Ordering
};
use
std
::
sync
::{
Arc
,
Weak
};
use
std
::
sync
::{
Arc
,
Weak
};
...
@@ -214,7 +215,9 @@ impl Channel {
...
@@ -214,7 +215,9 @@ impl Channel {
let
buffered_notifications_for
=
Arc
::
clone
(
&
buffered_notifications_for
);
let
buffered_notifications_for
=
Arc
::
clone
(
&
buffered_notifications_for
);
// This this contain cache of targets that are known to not have buffering, so
// This this contain cache of targets that are known to not have buffering, so
// that we can avoid Mutex locking overhead for them
// that we can avoid Mutex locking overhead for them
let
mut
non_buffered_notifications
=
LruCache
::
<
SubscriptionTarget
,
()
>
::
new
(
1000
);
let
mut
non_buffered_notifications
=
LruCache
::
<
SubscriptionTarget
,
()
>
::
new
(
NonZeroUsize
::
new
(
1000
)
.expect
(
"Not zero; qed"
),
);
move
|
message
|
{
move
|
message
|
{
trace!
(
"received raw message: {}"
,
String
::
from_utf8_lossy
(
message
));
trace!
(
"received raw message: {}"
,
String
::
from_utf8_lossy
(
message
));
...
...
worker/Cargo.toml
浏览文件 @
59cc3dec
[package]
[package]
name
=
"mediasoup-sys"
name
=
"mediasoup-sys"
version
=
"0.5.
2
"
version
=
"0.5.
3
"
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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论