Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
a242d21d
提交
a242d21d
authored
4月 20, 2020
作者:
Iñaki Baz Castillo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cosmetic
上级
1be3f4f9
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
5 行增加
和
9 行删除
+5
-9
FeedbackRtpTransport.hpp
worker/include/RTC/RTCP/FeedbackRtpTransport.hpp
+1
-1
FeedbackRtpTransport.cpp
worker/src/RTC/RTCP/FeedbackRtpTransport.cpp
+2
-2
SenderBandwidthEstimator.cpp
worker/src/RTC/SenderBandwidthEstimator.cpp
+2
-6
没有找到文件。
worker/include/RTC/RTCP/FeedbackRtpTransport.hpp
浏览文件 @
a242d21d
...
@@ -52,7 +52,7 @@ namespace RTC
...
@@ -52,7 +52,7 @@ namespace RTC
uint16_t
sequenceNumber
;
// Wide sequence number.
uint16_t
sequenceNumber
;
// Wide sequence number.
int16_t
delta
{
0
};
// Delta.
int16_t
delta
{
0
};
// Delta.
bool
received
{
false
};
// Packet received or not.
bool
received
{
false
};
// Packet received or not.
int
32
_t
receivedAtMs
{
0
};
// Received time (ms) in remote timestamp reference.
int
64
_t
receivedAtMs
{
0
};
// Received time (ms) in remote timestamp reference.
};
};
public
:
public
:
...
...
worker/src/RTC/RTCP/FeedbackRtpTransport.cpp
浏览文件 @
a242d21d
...
@@ -243,7 +243,7 @@ namespace RTC
...
@@ -243,7 +243,7 @@ namespace RTC
if
(
packetResult
.
received
)
if
(
packetResult
.
received
)
{
{
MS_DUMP
(
MS_DUMP
(
" seq:%"
PRIu16
", received:yes, receivedAtMs:%"
PRIi
32
,
" seq:%"
PRIu16
", received:yes, receivedAtMs:%"
PRIi
64
,
packetResult
.
sequenceNumber
,
packetResult
.
sequenceNumber
,
packetResult
.
receivedAtMs
);
packetResult
.
receivedAtMs
);
}
}
...
@@ -431,7 +431,7 @@ namespace RTC
...
@@ -431,7 +431,7 @@ namespace RTC
}
}
size_t
deltaIdx
{
0u
};
size_t
deltaIdx
{
0u
};
int
32_t
currentReceivedAtMs
=
this
->
referenceTime
*
64
;
int
64_t
currentReceivedAtMs
=
static_cast
<
int64_t
>
(
this
->
referenceTime
*
64
)
;
for
(
size_t
idx
{
0u
};
idx
<
packetResults
.
size
();
++
idx
)
for
(
size_t
idx
{
0u
};
idx
<
packetResults
.
size
();
++
idx
)
{
{
...
...
worker/src/RTC/SenderBandwidthEstimator.cpp
浏览文件 @
a242d21d
...
@@ -110,16 +110,12 @@ namespace RTC
...
@@ -110,16 +110,12 @@ namespace RTC
if
(
!
sentInfo
.
isProbation
)
if
(
!
sentInfo
.
isProbation
)
{
{
this
->
cummulativeResult
.
AddPacket
(
this
->
cummulativeResult
.
AddPacket
(
sentInfo
.
size
,
sentInfo
.
size
,
static_cast
<
int64_t
>
(
sentInfo
.
sentAtMs
),
result
.
receivedAtMs
);
static_cast
<
int64_t
>
(
sentInfo
.
sentAtMs
),
static_cast
<
int64_t
>
(
result
.
receivedAtMs
));
}
}
else
else
{
{
this
->
probationCummulativeResult
.
AddPacket
(
this
->
probationCummulativeResult
.
AddPacket
(
sentInfo
.
size
,
sentInfo
.
size
,
static_cast
<
int64_t
>
(
sentInfo
.
sentAtMs
),
result
.
receivedAtMs
);
static_cast
<
int64_t
>
(
sentInfo
.
sentAtMs
),
static_cast
<
int64_t
>
(
result
.
receivedAtMs
));
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论