mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Player: Change default HTTP-API port to 1985 for WebRTC
This commit is contained in:
parent
cb4c668249
commit
efca38cd89
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
* depends: jquery1.10
|
||||
* https://gitee.com/winlinvip/codes/rpn0c2ewbomj81augzk4y59
|
||||
* @see: http://blog.csdn.net/win_lin/article/details/17994347
|
||||
* v 1.0.22
|
||||
* v 1.0.23
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -357,7 +357,8 @@ function parse_rtmp_url(rtmp_url) {
|
|||
} else if (window.location.href.indexOf('https://') === 0) {
|
||||
ret.port = 443;
|
||||
} else {
|
||||
ret.port = 80;
|
||||
// For WebRTC, SRS use 1985 as default API port.
|
||||
ret.port = 1985;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue