dever %!s(int64=5) %!d(string=hai) anos
pai
achega
388a711eaf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      video/lib/Live.php

+ 1 - 1
video/lib/Live.php

@@ -29,7 +29,7 @@ class Live
                 $stream = Dever::db('live/stream')->one($data['stream_id']);
                 $data['stream'] = $stream['live'];
                 $data['stream_rtmp'] = $stream['url_rtmp'];
-                $data['stream_hls'] = $stream['url_hls'];
+                $data['stream_hls'] = str_replace('http://', 'https://', $stream['url_hls']);
                 $data['stream_hdl'] = $stream['url_hdl'];
                 $data['stream_pic'] = $stream['url_pic'];
                 $data['url'] = $data['stream_hls'];