RTC: Fix publish page

pull/1841/head
winlin 5 years ago
parent 8ae3ab0ba7
commit c6a68234cb

@ -28,7 +28,6 @@ rtc_server {
# The * means retrieving server IP automatically, from all network interfaces,
# @see https://github.com/ossrs/srs/issues/307#issuecomment-599028124
candidate $CANDIDATE;
#candidate 10.0.0.123;
}
vhost __defaultVhost__ {

@ -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.20
* v 1.0.21
*/
/**
@ -339,7 +339,7 @@ function parse_rtmp_url(rtmp_url) {
} else if (schema === 'rtmp') {
port = 1935;
} else if (schema === 'webrtc' || schema === 'rtc') {
port = 1985;
port = (window.location.href.indexOf('https://')==0)? 443:1985;
}
}

Loading…
Cancel
Save