Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
cb8a393d
提交
cb8a393d
authored
5月 09, 2019
作者:
José Luis Millán
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
gulp:format
上级
b221f1eb
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
6 行增加
和
6 行删除
+6
-6
PipeConsumer.cpp
worker/src/RTC/PipeConsumer.cpp
+4
-4
SimpleConsumer.cpp
worker/src/RTC/SimpleConsumer.cpp
+2
-2
没有找到文件。
worker/src/RTC/PipeConsumer.cpp
浏览文件 @
cb8a393d
...
@@ -144,9 +144,9 @@ namespace RTC
...
@@ -144,9 +144,9 @@ namespace RTC
return
;
return
;
}
}
auto
*
rtpStream
=
this
->
mapMappedSsrcRtpStream
.
at
(
packet
->
GetSsrc
());
auto
*
rtpStream
=
this
->
mapMappedSsrcRtpStream
.
at
(
packet
->
GetSsrc
());
auto
&
syncRequired
=
this
->
mapRtpStreamSyncRequired
.
at
(
rtpStream
);
auto
&
syncRequired
=
this
->
mapRtpStreamSyncRequired
.
at
(
rtpStream
);
auto
&
rtpSeqManager
=
this
->
mapRtpStreamRtpSeqManager
.
at
(
rtpStream
);
auto
&
rtpSeqManager
=
this
->
mapRtpStreamRtpSeqManager
.
at
(
rtpStream
);
// If we need to sync, support key frames and this is not a key frame, ignore
// If we need to sync, support key frames and this is not a key frame, ignore
// the packet.
// the packet.
...
@@ -173,7 +173,7 @@ namespace RTC
...
@@ -173,7 +173,7 @@ namespace RTC
rtpSeqManager
.
Input
(
packet
->
GetSequenceNumber
(),
seq
);
rtpSeqManager
.
Input
(
packet
->
GetSequenceNumber
(),
seq
);
// Save original packet fields.
// Save original packet fields.
auto
origSeq
=
packet
->
GetSequenceNumber
();
auto
origSeq
=
packet
->
GetSequenceNumber
();
// Rewrite packet.
// Rewrite packet.
// NOTE: Do not override the ssrc because we want to honor the consumable ssrcs.
// NOTE: Do not override the ssrc because we want to honor the consumable ssrcs.
...
...
worker/src/RTC/SimpleConsumer.cpp
浏览文件 @
cb8a393d
...
@@ -167,8 +167,8 @@ namespace RTC
...
@@ -167,8 +167,8 @@ namespace RTC
this
->
rtpSeqManager
.
Input
(
packet
->
GetSequenceNumber
(),
seq
);
this
->
rtpSeqManager
.
Input
(
packet
->
GetSequenceNumber
(),
seq
);
// Save original packet fields.
// Save original packet fields.
auto
origSsrc
=
packet
->
GetSsrc
();
auto
origSsrc
=
packet
->
GetSsrc
();
auto
origSeq
=
packet
->
GetSequenceNumber
();
auto
origSeq
=
packet
->
GetSequenceNumber
();
// Rewrite packet.
// Rewrite packet.
packet
->
SetSsrc
(
this
->
rtpParameters
.
encodings
[
0
].
ssrc
);
packet
->
SetSsrc
(
this
->
rtpParameters
.
encodings
[
0
].
ssrc
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论