Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
375c1498
提交
375c1498
authored
9月 13, 2017
作者:
José Luis Millán
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
RTX: remove extra debug line
上级
13ca7f07
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
0 行增加
和
18 行删除
+0
-18
RtpPacket.cpp
worker/src/RTC/RtpPacket.cpp
+0
-4
RtpStreamRecv.cpp
worker/src/RTC/RtpStreamRecv.cpp
+0
-14
没有找到文件。
worker/src/RTC/RtpPacket.cpp
浏览文件 @
375c1498
...
@@ -410,11 +410,7 @@ namespace RTC
...
@@ -410,11 +410,7 @@ namespace RTC
// Chrome sends some RTX packets with no payload when the stream is started.
// Chrome sends some RTX packets with no payload when the stream is started.
// Just ignore them.
// Just ignore them.
if
(
this
->
payloadLength
<
2
)
if
(
this
->
payloadLength
<
2
)
{
MS_DEBUG_TAG
(
rtx
,
"ignoring RTX packet with empty payload"
);
return
false
;
return
false
;
}
// Rewrite the payload type.
// Rewrite the payload type.
this
->
SetPayloadType
(
payloadType
);
this
->
SetPayloadType
(
payloadType
);
...
...
worker/src/RTC/RtpStreamRecv.cpp
浏览文件 @
375c1498
...
@@ -99,9 +99,6 @@ namespace RTC
...
@@ -99,9 +99,6 @@ namespace RTC
// Get the original RTP packet.
// Get the original RTP packet.
if
(
!
packet
->
RtxDecode
(
this
->
params
.
payloadType
,
this
->
params
.
ssrc
))
if
(
!
packet
->
RtxDecode
(
this
->
params
.
payloadType
,
this
->
params
.
ssrc
))
{
// Ignore RTX packets with no payload.
if
(
packet
->
GetPayloadLength
()
<
2
)
{
{
MS_DEBUG_TAG
(
MS_DEBUG_TAG
(
rtx
,
rtx
,
...
@@ -113,17 +110,6 @@ namespace RTC
...
@@ -113,17 +110,6 @@ namespace RTC
return
false
;
return
false
;
}
}
MS_WARN_TAG
(
rtx
,
"ignoring malformed RTX packet [ssrc: %"
PRIu32
" seq: %"
PRIu16
" payload type: %"
PRIu8
"]"
,
packet
->
GetSsrc
(),
packet
->
GetSequenceNumber
(),
packet
->
GetPayloadType
());
return
false
;
}
MS_DEBUG_TAG
(
MS_DEBUG_TAG
(
rtx
,
rtx
,
"received RTX packet [ssrc: %"
PRIu32
" seq: %"
PRIu16
"] recovering original [ssrc: %"
PRIu32
"received RTX packet [ssrc: %"
PRIu32
" seq: %"
PRIu16
"] recovering original [ssrc: %"
PRIu32
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论