Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
f8fb2ff4
Unverified
提交
f8fb2ff4
authored
2月 09, 2022
作者:
Jagger Yu
提交者:
GitHub
2月 09, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix some typo (#765)
上级
d014f540
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
4 行增加
和
4 行删除
+4
-4
RtpStream.hpp
worker/include/RTC/RtpStream.hpp
+2
-2
RtpStreamRecv.cpp
worker/src/RTC/RtpStreamRecv.cpp
+1
-1
RtpStreamSend.cpp
worker/src/RTC/RtpStreamSend.cpp
+1
-1
没有找到文件。
worker/include/RTC/RtpStream.hpp
浏览文件 @
f8fb2ff4
...
@@ -148,7 +148,7 @@ namespace RTC
...
@@ -148,7 +148,7 @@ namespace RTC
}
}
uint32_t
GetSenderReportTs
()
const
uint32_t
GetSenderReportTs
()
const
{
{
return
this
->
lastSenderReporTs
;
return
this
->
lastSenderRepor
t
Ts
;
}
}
uint8_t
GetScore
()
const
uint8_t
GetScore
()
const
{
{
...
@@ -198,7 +198,7 @@ namespace RTC
...
@@ -198,7 +198,7 @@ namespace RTC
0u
0u
};
// Packets retransmitted at last interval for score calculation.
};
// Packets retransmitted at last interval for score calculation.
uint64_t
lastSenderReportNtpMs
{
0u
};
// NTP timestamp in last Sender Report (in ms).
uint64_t
lastSenderReportNtpMs
{
0u
};
// NTP timestamp in last Sender Report (in ms).
uint32_t
lastSenderRepor
Ts
{
0u
};
// RTP timestamp in last Sender Report.
uint32_t
lastSenderRepor
tTs
{
0u
};
// RTP timestamp in last Sender Report.
float
rtt
{
0
};
float
rtt
{
0
};
bool
hasRtt
{
false
};
bool
hasRtt
{
false
};
// Instance of RtxStream.
// Instance of RtxStream.
...
...
worker/src/RTC/RtpStreamRecv.cpp
浏览文件 @
f8fb2ff4
...
@@ -523,7 +523,7 @@ namespace RTC
...
@@ -523,7 +523,7 @@ namespace RTC
ntp
.
fractions
=
report
->
GetNtpFrac
();
ntp
.
fractions
=
report
->
GetNtpFrac
();
this
->
lastSenderReportNtpMs
=
Utils
::
Time
::
Ntp2TimeMs
(
ntp
);
this
->
lastSenderReportNtpMs
=
Utils
::
Time
::
Ntp2TimeMs
(
ntp
);
this
->
lastSenderRepor
Ts
=
report
->
GetRtpTs
();
this
->
lastSenderRepor
tTs
=
report
->
GetRtpTs
();
// Update the score with the current RR.
// Update the score with the current RR.
UpdateScore
();
UpdateScore
();
...
...
worker/src/RTC/RtpStreamSend.cpp
浏览文件 @
f8fb2ff4
...
@@ -209,7 +209,7 @@ namespace RTC
...
@@ -209,7 +209,7 @@ namespace RTC
// Update info about last Sender Report.
// Update info about last Sender Report.
this
->
lastSenderReportNtpMs
=
nowMs
;
this
->
lastSenderReportNtpMs
=
nowMs
;
this
->
lastSenderRepor
Ts
=
this
->
maxPacketTs
+
diffTs
;
this
->
lastSenderRepor
tTs
=
this
->
maxPacketTs
+
diffTs
;
return
report
;
return
report
;
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论