Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
a177b795
提交
a177b795
authored
9月 06, 2017
作者:
Iñaki Baz Castillo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Use Node 6,7,8 in Travis and make clang-tify happy.
上级
07b549c5
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
11 行增加
和
11 行删除
+11
-11
.travis.yml
.travis.yml
+3
-3
Transport.hpp
worker/include/RTC/Transport.hpp
+1
-1
AimdRateControl.cpp
worker/src/RTC/RemoteBitrateEstimator/AimdRateControl.cpp
+1
-1
RemoteBitrateEstimatorAbsSendTime.cpp
...oteBitrateEstimator/RemoteBitrateEstimatorAbsSendTime.cpp
+1
-1
Router.cpp
worker/src/RTC/Router.cpp
+4
-4
Transport.cpp
worker/src/RTC/Transport.cpp
+1
-1
没有找到文件。
.travis.yml
浏览文件 @
a177b795
...
@@ -12,7 +12,7 @@ language: node_js
...
@@ -12,7 +12,7 @@ language: node_js
# DOC: http://genbattle.bitbucket.org/blog/2016/01/17/c++-travis-ci/
# DOC: http://genbattle.bitbucket.org/blog/2016/01/17/c++-travis-ci/
matrix
:
matrix
:
include
:
include
:
-
node_js
:
4
-
node_js
:
6
compiler
:
gcc
compiler
:
gcc
addons
:
addons
:
apt
:
apt
:
...
@@ -21,7 +21,7 @@ matrix:
...
@@ -21,7 +21,7 @@ matrix:
packages
:
packages
:
-
g++-4.8
-
g++-4.8
env
:
COMPILER=g++-4.8
env
:
COMPILER=g++-4.8
-
node_js
:
6
-
node_js
:
7
compiler
:
gcc
compiler
:
gcc
addons
:
addons
:
apt
:
apt
:
...
@@ -30,7 +30,7 @@ matrix:
...
@@ -30,7 +30,7 @@ matrix:
packages
:
packages
:
-
g++-4.9
-
g++-4.9
env
:
COMPILER=g++-4.9
env
:
COMPILER=g++-4.9
-
node_js
:
7
-
node_js
:
8
compiler
:
gcc
compiler
:
gcc
addons
:
addons
:
apt
:
apt
:
...
...
worker/include/RTC/Transport.hpp
浏览文件 @
a177b795
...
@@ -78,7 +78,7 @@ namespace RTC
...
@@ -78,7 +78,7 @@ namespace RTC
void
HandleRequest
(
Channel
::
Request
*
request
);
void
HandleRequest
(
Channel
::
Request
*
request
);
void
HandleProducer
(
RTC
::
Producer
*
producer
);
void
HandleProducer
(
RTC
::
Producer
*
producer
);
void
HandleConsumer
(
RTC
::
Consumer
*
consumer
);
void
HandleConsumer
(
RTC
::
Consumer
*
consumer
);
RTC
::
DtlsTransport
::
Role
s
etRemoteDtlsParameters
(
RTC
::
DtlsTransport
::
Role
S
etRemoteDtlsParameters
(
RTC
::
DtlsTransport
::
Fingerprint
&
fingerprint
,
RTC
::
DtlsTransport
::
Role
role
);
RTC
::
DtlsTransport
::
Fingerprint
&
fingerprint
,
RTC
::
DtlsTransport
::
Role
role
);
void
SetMaxBitrate
(
uint32_t
bitrate
);
void
SetMaxBitrate
(
uint32_t
bitrate
);
void
ChangeUfragPwd
(
std
::
string
&
usernameFragment
,
std
::
string
&
password
);
void
ChangeUfragPwd
(
std
::
string
&
usernameFragment
,
std
::
string
&
password
);
...
...
worker/src/RTC/RemoteBitrateEstimator/AimdRateControl.cpp
浏览文件 @
a177b795
...
@@ -135,7 +135,7 @@ namespace RTC
...
@@ -135,7 +135,7 @@ namespace RTC
const
float
incomingBitrateKbps
=
incomingBitrateBps
/
1000.0
f
;
const
float
incomingBitrateKbps
=
incomingBitrateBps
/
1000.0
f
;
// Calculate the max bit rate std dev given the normalized
// Calculate the max bit rate std dev given the normalized
// variance and the current incoming bit rate.
// variance and the current incoming bit rate.
const
float
stdMaxBitRate
=
sqrt
(
this
->
varMaxBitrateKbps
*
this
->
avgMaxBitrateKbps
);
const
float
stdMaxBitRate
=
s
td
::
s
qrt
(
this
->
varMaxBitrateKbps
*
this
->
avgMaxBitrateKbps
);
switch
(
this
->
rateControlState
)
switch
(
this
->
rateControlState
)
{
{
...
...
worker/src/RTC/RemoteBitrateEstimator/RemoteBitrateEstimatorAbsSendTime.cpp
浏览文件 @
a177b795
...
@@ -67,7 +67,7 @@ namespace RTC
...
@@ -67,7 +67,7 @@ namespace RTC
float
clusterMean
=
clusterAggregate
.
sendMeanMs
/
static_cast
<
float
>
(
clusterAggregate
.
count
);
float
clusterMean
=
clusterAggregate
.
sendMeanMs
/
static_cast
<
float
>
(
clusterAggregate
.
count
);
return
fabs
(
static_cast
<
float
>
(
sendDeltaMs
)
-
clusterMean
)
<
2.5
f
;
return
std
::
fabs
(
static_cast
<
float
>
(
sendDeltaMs
)
-
clusterMean
)
<
2.5
f
;
}
}
void
RemoteBitrateEstimatorAbsSendTime
::
AddCluster
(
std
::
list
<
Cluster
>*
clusters
,
Cluster
*
cluster
)
void
RemoteBitrateEstimatorAbsSendTime
::
AddCluster
(
std
::
list
<
Cluster
>*
clusters
,
Cluster
*
cluster
)
...
...
worker/src/RTC/Router.cpp
浏览文件 @
a177b795
...
@@ -356,7 +356,7 @@ namespace RTC
...
@@ -356,7 +356,7 @@ namespace RTC
paused
=
request
->
data
[
JsonStringPaused
].
asBool
();
paused
=
request
->
data
[
JsonStringPaused
].
asBool
();
// Create a Producer instance.
// Create a Producer instance.
RTC
::
Producer
*
producer
=
new
RTC
::
Producer
(
auto
*
producer
=
new
RTC
::
Producer
(
this
->
notifier
,
producerId
,
kind
,
transport
,
rtpParameters
,
rtpMapping
,
paused
);
this
->
notifier
,
producerId
,
kind
,
transport
,
rtpParameters
,
rtpMapping
,
paused
);
// Add us as listener.
// Add us as listener.
...
@@ -445,7 +445,7 @@ namespace RTC
...
@@ -445,7 +445,7 @@ namespace RTC
return
;
return
;
}
}
RTC
::
Consumer
*
consumer
=
auto
*
consumer
=
new
RTC
::
Consumer
(
this
->
notifier
,
consumerId
,
kind
,
producer
->
producerId
);
new
RTC
::
Consumer
(
this
->
notifier
,
consumerId
,
kind
,
producer
->
producerId
);
// If the Producer is paused tell it to the new Consumer.
// If the Producer is paused tell it to the new Consumer.
...
@@ -622,7 +622,7 @@ namespace RTC
...
@@ -622,7 +622,7 @@ namespace RTC
try
try
{
{
// This may throw.
// This may throw.
localRole
=
transport
->
s
etRemoteDtlsParameters
(
remoteFingerprint
,
remoteRole
);
localRole
=
transport
->
S
etRemoteDtlsParameters
(
remoteFingerprint
,
remoteRole
);
}
}
catch
(
const
MediaSoupError
&
error
)
catch
(
const
MediaSoupError
&
error
)
{
{
...
@@ -1241,7 +1241,7 @@ namespace RTC
...
@@ -1241,7 +1241,7 @@ namespace RTC
}
}
void
Router
::
OnTransportReceiveRtcpFeedback
(
void
Router
::
OnTransportReceiveRtcpFeedback
(
RTC
::
Transport
*
transport
,
RTC
::
Consumer
*
consumer
,
RTC
::
RTCP
::
FeedbackPsPacket
*
packet
)
RTC
::
Transport
*
/*transport*/
,
RTC
::
Consumer
*
consumer
,
RTC
::
RTCP
::
FeedbackPsPacket
*
packet
)
{
{
MS_TRACE
();
MS_TRACE
();
...
...
worker/src/RTC/Transport.cpp
浏览文件 @
a177b795
...
@@ -445,7 +445,7 @@ namespace RTC
...
@@ -445,7 +445,7 @@ namespace RTC
}
}
}
}
RTC
::
DtlsTransport
::
Role
Transport
::
s
etRemoteDtlsParameters
(
RTC
::
DtlsTransport
::
Role
Transport
::
S
etRemoteDtlsParameters
(
RTC
::
DtlsTransport
::
Fingerprint
&
fingerprint
,
RTC
::
DtlsTransport
::
Role
role
)
RTC
::
DtlsTransport
::
Fingerprint
&
fingerprint
,
RTC
::
DtlsTransport
::
Role
role
)
{
{
MS_TRACE
();
MS_TRACE
();
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论