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
2013-12-18 13:48:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6e4795ee5c95815ffffa114b657218cbfa087e85
6e4795ee
1 parent
ff4b28f4
extract the srs.js
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
5 行增加
和
1 行删除
trunk/research/players/js/srs.js
trunk/research/players/js/srs.js
查看文件 @
6e4795e
...
...
@@ -25,10 +25,14 @@ function parse_query_string(){
function
build_default_url
()
{
var
query
=
parse_query_string
();
var
schema
=
(
query
.
schema
==
undefined
)?
"rtmp"
:
query
.
schema
;
var
port
=
(
query
.
port
==
undefined
)?
1935
:
query
.
port
;
var
vhost
=
(
query
.
vhost
==
undefined
)?
window
.
location
.
hostname
:
query
.
vhost
;
var
app
=
(
query
.
app
==
undefined
)?
"live"
:
query
.
app
;
var
stream
=
(
query
.
stream
==
undefined
)?
"livestream"
:
query
.
stream
;
return
"rtmp://"
+
vhost
+
":"
+
port
+
"/live/livestream"
;
return
schema
+
"://"
+
vhost
+
":"
+
port
+
"/"
+
app
+
"/"
+
stream
;
}
function
srs_init
(
url_obj
)
{
...
...
请
注册
或
登录
后发表评论