Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
6efcd723
提交
6efcd723
authored
6月 21, 2016
作者:
Iñaki Baz Castillo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
optimize stuff
上级
27c98ce1
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
10 行增加
和
16 行删除
+10
-16
gulpfile.js
gulpfile.js
+3
-3
Notifier.cpp
worker/src/Channel/Notifier.cpp
+0
-1
Request.cpp
worker/src/Channel/Request.cpp
+2
-2
DtlsTransport.cpp
worker/src/RTC/DtlsTransport.cpp
+4
-1
IceServer.cpp
worker/src/RTC/IceServer.cpp
+1
-5
Room.cpp
worker/src/RTC/Room.cpp
+0
-1
SrtpSession.cpp
worker/src/RTC/SrtpSession.cpp
+0
-2
Transport.cpp
worker/src/RTC/Transport.cpp
+0
-1
没有找到文件。
gulpfile.js
浏览文件 @
6efcd723
...
...
@@ -10,13 +10,13 @@ const shell = require('gulp-shell');
let
tests
=
[
//
'test/test_mediasoup.js',
//
'test/test_Server.js',
'test/test_mediasoup.js'
,
'test/test_Server.js'
,
'test/test_Room.js'
,
'test/test_Peer.js'
,
'test/test_Transport.js'
,
'test/test_RtpReceiver.js'
,
//
'test/test_extra.js'
'test/test_extra.js'
// NOTE: Disable this test until fixed
// 'test/test_scene_1.js'
];
...
...
worker/src/Channel/Notifier.cpp
浏览文件 @
6efcd723
...
...
@@ -29,7 +29,6 @@ namespace Channel
{
MS_TRACE
();
static
Json
::
Value
empty_data
(
Json
::
objectValue
);
static
const
Json
::
StaticString
k_targetId
(
"targetId"
);
static
const
Json
::
StaticString
k_event
(
"event"
);
...
...
worker/src/Channel/Request.cpp
浏览文件 @
6efcd723
...
...
@@ -101,7 +101,7 @@ namespace Channel
static
const
Json
::
StaticString
k_accepted
(
"accepted"
);
static
const
Json
::
StaticString
k_data
(
"data"
);
MS_ASSERT
(
!
this
->
replied
,
"Request already replied"
);
MS_ASSERT
(
this
->
replied
==
false
,
"Request already replied"
);
this
->
replied
=
true
;
Json
::
Value
json
(
Json
::
objectValue
);
...
...
@@ -136,7 +136,7 @@ namespace Channel
static
const
Json
::
StaticString
k_rejected
(
"rejected"
);
static
const
Json
::
StaticString
k_reason
(
"reason"
);
MS_ASSERT
(
!
this
->
replied
,
"Request already replied"
);
MS_ASSERT
(
this
->
replied
==
false
,
"Request already replied"
);
this
->
replied
=
true
;
Json
::
Value
json
(
Json
::
objectValue
);
...
...
worker/src/RTC/DtlsTransport.cpp
浏览文件 @
6efcd723
...
...
@@ -608,15 +608,16 @@ namespace RTC
SendPendingOutgoingDtlsData
();
SetTimeout
();
break
;
case
Role
:
:
SERVER
:
MS_DEBUG
(
"running [role:server]"
);
SSL_set_accept_state
(
this
->
ssl
);
SSL_do_handshake
(
this
->
ssl
);
break
;
default
:
MS_ABORT
(
"invalid local DTLS role"
);
break
;
}
}
...
...
@@ -792,6 +793,8 @@ namespace RTC
case
SSL_ERROR_WANT_ACCEPT
:
MS_DEBUG
(
"SSL status: SSL_ERROR_WANT_ACCEPT"
);
break
;
default
:
MS_WARN
(
"SSL status: unknown error"
);
}
// Check if the handshake (or re-handshake) has been done right now.
...
...
worker/src/RTC/IceServer.cpp
浏览文件 @
6efcd723
...
...
@@ -184,13 +184,9 @@ namespace RTC
{
MS_TRACE
();
if
(
HasTuple
(
tuple
))
return
true
;
else
return
false
;
return
HasTuple
(
tuple
)
?
true
:
false
;
}
void
IceServer
::
RemoveTuple
(
RTC
::
TransportTuple
*
tuple
)
{
auto
it
=
this
->
tuples
.
begin
();
...
...
worker/src/RTC/Room.cpp
浏览文件 @
6efcd723
...
...
@@ -24,7 +24,6 @@ namespace RTC
{
Json
::
CharReaderBuilder
builder
;
Json
::
Value
settings
=
Json
::
nullValue
;
Json
::
Value
invalid_settings
;
builder
.
strictMode
(
&
settings
);
...
...
worker/src/RTC/SrtpSession.cpp
浏览文件 @
6efcd723
...
...
@@ -84,8 +84,6 @@ namespace RTC
case
Type
:
:
OUTBOUND
:
policy
.
ssrc
.
type
=
ssrc_any_outbound
;
break
;
default
:
MS_ABORT
(
"unknown SrtpSession::Type"
);
}
policy
.
ssrc
.
value
=
0
;
...
...
worker/src/RTC/Transport.cpp
浏览文件 @
6efcd723
...
...
@@ -389,7 +389,6 @@ namespace RTC
case
Channel
:
:
Request
::
MethodId
::
transport_setRemoteDtlsParameters
:
{
static
const
Json
::
StaticString
k_role
(
"role"
);
static
const
Json
::
StaticString
v_auto
(
"auto"
);
static
const
Json
::
StaticString
v_client
(
"client"
);
static
const
Json
::
StaticString
v_server
(
"server"
);
static
const
Json
::
StaticString
k_fingerprint
(
"fingerprint"
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论