Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-05-27 16:17:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
384687a36dc9dbb5813f5f6313c876931c2daa5c
384687a3
1 parent
e39eed65
add server ip to flash client.
隐藏空白字符变更
内嵌
并排对比
正在显示
6 个修改的文件
包含
21 行增加
和
0 行删除
trunk/research/players/srs_bwt/release/srs_bwt.swf
trunk/research/players/srs_bwt/src/srs_bwt.as
trunk/research/players/srs_player/release/srs_player.swf
trunk/research/players/srs_player/src/srs_player.as
trunk/research/players/srs_publisher/release/srs_publisher.swf
trunk/research/players/srs_publisher/src/srs_publisher.as
trunk/research/players/srs_bwt/release/srs_bwt.swf
查看文件 @
384687a
不能预览此文件类型
trunk/research/players/srs_bwt/src/srs_bwt.as
查看文件 @
384687a
...
...
@@ -138,6 +138,7 @@ package
private
var
srs_primary_authors
:
String
=
null
;
private
var
srs_id
:
String
=
null
;
private
var
srs_pid
:
String
=
null
;
private
var
srs_server_ip
:
String
=
null
;
private
function
update_context_items
()
:
void
{
// for context menu
var
customItems
:
Array
=
[
new
ContextMenuItem
(
"SrsPlayer"
)]
;
...
...
@@ -147,6 +148,9 @@ package
if
(
srs_primary_authors
!=
null
)
{
customItems
.
push
(
new
ContextMenuItem
(
"PrimaryAuthors: "
+
srs_primary_authors
))
;
}
if
(
srs_server_ip
!=
null
)
{
customItems
.
push
(
new
ContextMenuItem
(
"SrsIp: "
+
srs_server_ip
))
;
}
if
(
srs_pid
!=
null
)
{
customItems
.
push
(
new
ContextMenuItem
(
"SrsPid: "
+
srs_pid
))
;
}
...
...
@@ -173,6 +177,9 @@ package
if
(
evt
.
info
.
data
.
hasOwnProperty
(
"srs_pid"
))
{
srs_pid
=
evt
.
info
.
data
.
srs_pid
;
}
if
(
evt
.
info
.
data
.
hasOwnProperty
(
"srs_server_ip"
))
{
srs_server_ip
=
evt
.
info
.
data
.
srs_server_ip
;
}
update_context_items
()
;
}
...
...
trunk/research/players/srs_player/release/srs_player.swf
查看文件 @
384687a
不能预览此文件类型
trunk/research/players/srs_player/src/srs_player.as
查看文件 @
384687a
...
...
@@ -270,6 +270,7 @@ package
private
var
srs_primary_authors
:
String
=
null
;
private
var
srs_id
:
String
=
null
;
private
var
srs_pid
:
String
=
null
;
private
var
srs_server_ip
:
String
=
null
;
private
function
update_context_items
()
:
void
{
// for context menu
var
customItems
:
Array
=
[
new
ContextMenuItem
(
"SrsPlayer"
)]
;
...
...
@@ -279,6 +280,9 @@ package
if
(
srs_primary_authors
!=
null
)
{
customItems
.
push
(
new
ContextMenuItem
(
"PrimaryAuthors: "
+
srs_primary_authors
))
;
}
if
(
srs_server_ip
!=
null
)
{
customItems
.
push
(
new
ContextMenuItem
(
"SrsIp: "
+
srs_server_ip
))
;
}
if
(
srs_pid
!=
null
)
{
customItems
.
push
(
new
ContextMenuItem
(
"SrsPid: "
+
srs_pid
))
;
}
...
...
@@ -323,6 +327,9 @@ package
if
(
evt
.
info
.
data
.
hasOwnProperty
(
"srs_pid"
))
{
srs_pid
=
evt
.
info
.
data
.
srs_pid
;
}
if
(
evt
.
info
.
data
.
hasOwnProperty
(
"srs_server_ip"
))
{
srs_server_ip
=
evt
.
info
.
data
.
srs_server_ip
;
}
update_context_items
()
;
}
...
...
trunk/research/players/srs_publisher/release/srs_publisher.swf
查看文件 @
384687a
不能预览此文件类型
trunk/research/players/srs_publisher/src/srs_publisher.as
查看文件 @
384687a
...
...
@@ -139,6 +139,7 @@ package
private
var
srs_primary_authors
:
String
=
null
;
private
var
srs_id
:
String
=
null
;
private
var
srs_pid
:
String
=
null
;
private
var
srs_server_ip
:
String
=
null
;
private
function
update_context_items
()
:
void
{
// for context menu
var
customItems
:
Array
=
[
new
ContextMenuItem
(
"SrsPlayer"
)]
;
...
...
@@ -148,6 +149,9 @@ package
if
(
srs_primary_authors
!=
null
)
{
customItems
.
push
(
new
ContextMenuItem
(
"PrimaryAuthors: "
+
srs_primary_authors
))
;
}
if
(
srs_server_ip
!=
null
)
{
customItems
.
push
(
new
ContextMenuItem
(
"SrsIp: "
+
srs_server_ip
))
;
}
if
(
srs_pid
!=
null
)
{
customItems
.
push
(
new
ContextMenuItem
(
"SrsPid: "
+
srs_pid
))
;
}
...
...
@@ -222,6 +226,9 @@ package
if
(
evt
.
info
.
data
.
hasOwnProperty
(
"srs_pid"
))
{
srs_pid
=
evt
.
info
.
data
.
srs_pid
;
}
if
(
evt
.
info
.
data
.
hasOwnProperty
(
"srs_server_ip"
))
{
srs_server_ip
=
evt
.
info
.
data
.
srs_server_ip
;
}
update_context_items
()
;
}
...
...
请
注册
或
登录
后发表评论