Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
fcbf9fc7
提交
fcbf9fc7
authored
12月 22, 2023
作者:
Iñaki Baz Castillo
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'v3' of github.com:versatica/mediasoup into v3
上级
7ec6d293
8365c62f
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
16 行增加
和
10 行删除
+16
-10
CHANGELOG.md
CHANGELOG.md
+5
-0
SenderBandwidthEstimator.hpp
worker/include/RTC/SenderBandwidthEstimator.hpp
+1
-1
TransportCongestionControlClient.hpp
worker/include/RTC/TransportCongestionControlClient.hpp
+1
-1
SenderBandwidthEstimator.cpp
worker/src/RTC/SenderBandwidthEstimator.cpp
+1
-1
Transport.cpp
worker/src/RTC/Transport.cpp
+6
-6
TransportCongestionControlClient.cpp
worker/src/RTC/TransportCongestionControlClient.cpp
+2
-1
没有找到文件。
CHANGELOG.md
浏览文件 @
fcbf9fc7
# Changelog
# Changelog
### NEXT
*
worker: Do not use references for async callbacks (
[
PR #1274
](
https://github.com/versatica/mediasoup/pull/1274
)
).
### 3.13.12
### 3.13.12
*
worker: Disable
`RtcLogger`
usage if not enabled (
[
PR #1264
](
https://github.com/versatica/mediasoup/pull/1264
)
).
*
worker: Disable
`RtcLogger`
usage if not enabled (
[
PR #1264
](
https://github.com/versatica/mediasoup/pull/1264
)
).
...
...
worker/include/RTC/SenderBandwidthEstimator.hpp
浏览文件 @
fcbf9fc7
...
@@ -89,7 +89,7 @@ namespace RTC
...
@@ -89,7 +89,7 @@ namespace RTC
public
:
public
:
void
TransportConnected
();
void
TransportConnected
();
void
TransportDisconnected
();
void
TransportDisconnected
();
void
RtpPacketSent
(
SentInfo
&
sentInfo
);
void
RtpPacketSent
(
const
SentInfo
&
sentInfo
);
void
ReceiveRtcpTransportFeedback
(
const
RTC
::
RTCP
::
FeedbackRtpTransportPacket
*
feedback
);
void
ReceiveRtcpTransportFeedback
(
const
RTC
::
RTCP
::
FeedbackRtpTransportPacket
*
feedback
);
void
EstimateAvailableBitrate
(
CummulativeResult
&
cummulativeResult
);
void
EstimateAvailableBitrate
(
CummulativeResult
&
cummulativeResult
);
void
UpdateRtt
(
float
rtt
);
void
UpdateRtt
(
float
rtt
);
...
...
worker/include/RTC/TransportCongestionControlClient.hpp
浏览文件 @
fcbf9fc7
...
@@ -69,7 +69,7 @@ namespace RTC
...
@@ -69,7 +69,7 @@ namespace RTC
void
TransportDisconnected
();
void
TransportDisconnected
();
void
InsertPacket
(
webrtc
::
RtpPacketSendInfo
&
packetInfo
);
void
InsertPacket
(
webrtc
::
RtpPacketSendInfo
&
packetInfo
);
webrtc
::
PacedPacketInfo
GetPacingInfo
();
webrtc
::
PacedPacketInfo
GetPacingInfo
();
void
PacketSent
(
webrtc
::
RtpPacketSendInfo
&
packetInfo
,
int64_t
nowMs
);
void
PacketSent
(
const
webrtc
::
RtpPacketSendInfo
&
packetInfo
,
int64_t
nowMs
);
void
ReceiveEstimatedBitrate
(
uint32_t
bitrate
);
void
ReceiveEstimatedBitrate
(
uint32_t
bitrate
);
void
ReceiveRtcpReceiverReport
(
RTC
::
RTCP
::
ReceiverReportPacket
*
packet
,
float
rtt
,
int64_t
nowMs
);
void
ReceiveRtcpReceiverReport
(
RTC
::
RTCP
::
ReceiverReportPacket
*
packet
,
float
rtt
,
int64_t
nowMs
);
void
ReceiveRtcpTransportFeedback
(
const
RTC
::
RTCP
::
FeedbackRtpTransportPacket
*
feedback
);
void
ReceiveRtcpTransportFeedback
(
const
RTC
::
RTCP
::
FeedbackRtpTransportPacket
*
feedback
);
...
...
worker/src/RTC/SenderBandwidthEstimator.cpp
浏览文件 @
fcbf9fc7
...
@@ -47,7 +47,7 @@ namespace RTC
...
@@ -47,7 +47,7 @@ namespace RTC
this
->
cummulativeResult
.
Reset
();
this
->
cummulativeResult
.
Reset
();
}
}
void
SenderBandwidthEstimator
::
RtpPacketSent
(
SentInfo
&
sentInfo
)
void
SenderBandwidthEstimator
::
RtpPacketSent
(
const
SentInfo
&
sentInfo
)
{
{
MS_TRACE
();
MS_TRACE
();
...
...
worker/src/RTC/Transport.cpp
浏览文件 @
fcbf9fc7
...
@@ -2493,7 +2493,7 @@ namespace RTC
...
@@ -2493,7 +2493,7 @@ namespace RTC
sentInfo
.
sendingAtMs
=
DepLibUV
::
GetTimeMs
();
sentInfo
.
sendingAtMs
=
DepLibUV
::
GetTimeMs
();
auto
*
cb
=
new
onSendCallback
(
auto
*
cb
=
new
onSendCallback
(
[
tccClientWeakPtr
,
&
packetInfo
,
senderBweWeakPtr
,
&
sentInfo
](
bool
sent
)
[
tccClientWeakPtr
,
packetInfo
,
senderBweWeakPtr
,
sentInfo
](
bool
sent
)
{
{
if
(
sent
)
if
(
sent
)
{
{
...
@@ -2517,7 +2517,7 @@ namespace RTC
...
@@ -2517,7 +2517,7 @@ namespace RTC
SendRtpPacket
(
consumer
,
packet
,
cb
);
SendRtpPacket
(
consumer
,
packet
,
cb
);
#else
#else
const
auto
*
cb
=
new
onSendCallback
(
const
auto
*
cb
=
new
onSendCallback
(
[
tccClientWeakPtr
,
&
packetInfo
](
bool
sent
)
[
tccClientWeakPtr
,
packetInfo
](
bool
sent
)
{
{
if
(
sent
)
if
(
sent
)
{
{
...
@@ -2582,7 +2582,7 @@ namespace RTC
...
@@ -2582,7 +2582,7 @@ namespace RTC
sentInfo
.
sendingAtMs
=
DepLibUV
::
GetTimeMs
();
sentInfo
.
sendingAtMs
=
DepLibUV
::
GetTimeMs
();
auto
*
cb
=
new
onSendCallback
(
auto
*
cb
=
new
onSendCallback
(
[
tccClientWeakPtr
,
&
packetInfo
,
senderBweWeakPtr
,
&
sentInfo
](
bool
sent
)
[
tccClientWeakPtr
,
packetInfo
,
senderBweWeakPtr
,
sentInfo
](
bool
sent
)
{
{
if
(
sent
)
if
(
sent
)
{
{
...
@@ -2606,7 +2606,7 @@ namespace RTC
...
@@ -2606,7 +2606,7 @@ namespace RTC
SendRtpPacket
(
consumer
,
packet
,
cb
);
SendRtpPacket
(
consumer
,
packet
,
cb
);
#else
#else
const
auto
*
cb
=
new
onSendCallback
(
const
auto
*
cb
=
new
onSendCallback
(
[
tccClientWeakPtr
,
&
packetInfo
](
bool
sent
)
[
tccClientWeakPtr
,
packetInfo
](
bool
sent
)
{
{
if
(
sent
)
if
(
sent
)
{
{
...
@@ -2982,7 +2982,7 @@ namespace RTC
...
@@ -2982,7 +2982,7 @@ namespace RTC
sentInfo
.
sendingAtMs
=
DepLibUV
::
GetTimeMs
();
sentInfo
.
sendingAtMs
=
DepLibUV
::
GetTimeMs
();
auto
*
cb
=
new
onSendCallback
(
auto
*
cb
=
new
onSendCallback
(
[
tccClientWeakPtr
,
&
packetInfo
,
senderBweWeakPtr
,
&
sentInfo
](
bool
sent
)
[
tccClientWeakPtr
,
packetInfo
,
senderBweWeakPtr
,
sentInfo
](
bool
sent
)
{
{
if
(
sent
)
if
(
sent
)
{
{
...
@@ -3006,7 +3006,7 @@ namespace RTC
...
@@ -3006,7 +3006,7 @@ namespace RTC
SendRtpPacket
(
nullptr
,
packet
,
cb
);
SendRtpPacket
(
nullptr
,
packet
,
cb
);
#else
#else
const
auto
*
cb
=
new
onSendCallback
(
const
auto
*
cb
=
new
onSendCallback
(
[
tccClientWeakPtr
,
&
packetInfo
](
bool
sent
)
[
tccClientWeakPtr
,
packetInfo
](
bool
sent
)
{
{
if
(
sent
)
if
(
sent
)
{
{
...
...
worker/src/RTC/TransportCongestionControlClient.cpp
浏览文件 @
fcbf9fc7
...
@@ -152,7 +152,8 @@ namespace RTC
...
@@ -152,7 +152,8 @@ namespace RTC
return
this
->
rtpTransportControllerSend
->
packet_sender
()
->
GetPacingInfo
();
return
this
->
rtpTransportControllerSend
->
packet_sender
()
->
GetPacingInfo
();
}
}
void
TransportCongestionControlClient
::
PacketSent
(
webrtc
::
RtpPacketSendInfo
&
packetInfo
,
int64_t
nowMs
)
void
TransportCongestionControlClient
::
PacketSent
(
const
webrtc
::
RtpPacketSendInfo
&
packetInfo
,
int64_t
nowMs
)
{
{
MS_TRACE
();
MS_TRACE
();
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论