Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
59c968e1
提交
59c968e1
authored
5月 19, 2020
作者:
José Luis Millán
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
worker: Add pointer and const qualifications to auto-typed variables
上级
be8fb3fd
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
7 行增加
和
7 行删除
+7
-7
RtpListener.cpp
worker/src/RTC/RtpListener.cpp
+1
-1
RtpStreamSend.cpp
worker/src/RTC/RtpStreamSend.cpp
+2
-2
SctpAssociation.cpp
worker/src/RTC/SctpAssociation.cpp
+1
-1
SctpListener.cpp
worker/src/RTC/SctpListener.cpp
+1
-1
Transport.cpp
worker/src/RTC/Transport.cpp
+2
-2
没有找到文件。
worker/src/RTC/RtpListener.cpp
浏览文件 @
59c968e1
...
@@ -54,7 +54,7 @@ namespace RTC
...
@@ -54,7 +54,7 @@ namespace RTC
{
{
MS_TRACE
();
MS_TRACE
();
auto
&
rtpParameters
=
producer
->
GetRtpParameters
();
const
auto
&
rtpParameters
=
producer
->
GetRtpParameters
();
// Add entries into the ssrcTable.
// Add entries into the ssrcTable.
for
(
auto
&
encoding
:
rtpParameters
.
encodings
)
for
(
auto
&
encoding
:
rtpParameters
.
encodings
)
...
...
worker/src/RTC/RtpStreamSend.cpp
浏览文件 @
59c968e1
...
@@ -182,8 +182,8 @@ namespace RTC
...
@@ -182,8 +182,8 @@ namespace RTC
if
(
this
->
transmissionCounter
.
GetPacketCount
()
==
0u
)
if
(
this
->
transmissionCounter
.
GetPacketCount
()
==
0u
)
return
nullptr
;
return
nullptr
;
auto
ntp
=
Utils
::
Time
::
TimeMs2Ntp
(
nowMs
);
auto
ntp
=
Utils
::
Time
::
TimeMs2Ntp
(
nowMs
);
auto
report
=
new
RTC
::
RTCP
::
SenderReport
();
auto
*
report
=
new
RTC
::
RTCP
::
SenderReport
();
// Calculate TS difference between now and maxPacketMs.
// Calculate TS difference between now and maxPacketMs.
auto
diffMs
=
nowMs
-
this
->
maxPacketMs
;
auto
diffMs
=
nowMs
-
this
->
maxPacketMs
;
...
...
worker/src/RTC/SctpAssociation.cpp
浏览文件 @
59c968e1
...
@@ -306,7 +306,7 @@ namespace RTC
...
@@ -306,7 +306,7 @@ namespace RTC
len
,
len
,
this
->
maxSctpMessageSize
);
this
->
maxSctpMessageSize
);
auto
&
parameters
=
dataConsumer
->
GetSctpStreamParameters
();
const
auto
&
parameters
=
dataConsumer
->
GetSctpStreamParameters
();
// Fill stcp_sendv_spa.
// Fill stcp_sendv_spa.
struct
sctp_sendv_spa
spa
;
// NOLINT(cppcoreguidelines-pro-type-member-init)
struct
sctp_sendv_spa
spa
;
// NOLINT(cppcoreguidelines-pro-type-member-init)
...
...
worker/src/RTC/SctpListener.cpp
浏览文件 @
59c968e1
...
@@ -32,7 +32,7 @@ namespace RTC
...
@@ -32,7 +32,7 @@ namespace RTC
{
{
MS_TRACE
();
MS_TRACE
();
auto
&
sctpParameters
=
dataProducer
->
GetSctpStreamParameters
();
const
auto
&
sctpParameters
=
dataProducer
->
GetSctpStreamParameters
();
// Add entries into the streamIdTable.
// Add entries into the streamIdTable.
auto
streamId
=
sctpParameters
.
streamId
;
auto
streamId
=
sctpParameters
.
streamId
;
...
...
worker/src/RTC/Transport.cpp
浏览文件 @
59c968e1
...
@@ -807,8 +807,8 @@ namespace RTC
...
@@ -807,8 +807,8 @@ namespace RTC
request
->
Accept
(
data
);
request
->
Accept
(
data
);
// Check if Transport Congestion Control client must be created.
// Check if Transport Congestion Control client must be created.
auto
&
rtpHeaderExtensionIds
=
consumer
->
GetRtpHeaderExtensionIds
();
const
auto
&
rtpHeaderExtensionIds
=
consumer
->
GetRtpHeaderExtensionIds
();
auto
&
codecs
=
consumer
->
GetRtpParameters
().
codecs
;
auto
&
codecs
=
consumer
->
GetRtpParameters
().
codecs
;
// Set TransportCongestionControlClient.
// Set TransportCongestionControlClient.
if
(
!
this
->
tccClient
)
if
(
!
this
->
tccClient
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论