Authored by 陈轩

直播: 弹幕暂时不上wss

@@ -284,7 +284,8 @@ function get_websocket_server(type) { @@ -284,7 +284,8 @@ function get_websocket_server(type) {
284 var arr = data.data[0].split(':'); 284 var arr = data.data[0].split(':');
285 var ip = arr[0]; 285 var ip = arr[0];
286 var port = arr[1]; 286 var port = arr[1];
287 - var protocol = location.protocol === 'https:' ? 'wss' :'ws' 287 + var protocol = 'ws'
  288 + // var protocol = location.protocol === 'https:' ? 'wss' :'ws'
288 289
289 if (is_live) { 290 if (is_live) {
290 291