Embed: WebRTC improvements:
- make webrtc obey autoplay = false; when video is paused, disable autoplay and vise versa - silenced some unneccesary webrtc errors - webrtc: pause player on stop, so that "stream offline" message is shown - improved webrtc wrapper robustness - more webrtc don't autoplay when paused - when not yet connected during a seek, wait until connected and seek then
This commit is contained in:
parent
01b957d136
commit
214b584956
6 changed files with 51 additions and 10 deletions
|
@ -421,7 +421,7 @@ var MistUtil = {
|
|||
sanitizeHost: function(host){
|
||||
var split = MistUtil.http.url.split(host);
|
||||
var out = split.protocol + "//" + split.host + (split.port && (split.port != "") ? ":"+split.port : "") + (split.hash && (split.hash != "") ? "#"+split.hash : "") + (split.path ? (split.path.charAt(0) == "/" ? split.path : "/"+split.path) : "");
|
||||
console.log("converted",host,"to",out);
|
||||
//console.log("converted",host,"to",out);
|
||||
return out;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue