|
@@ -32,6 +32,11 @@ class Live
|
|
|
$data['stream_hdl'] = $stream['url_hdl'];
|
|
|
$data['stream_pic'] = $stream['url_pic'];
|
|
|
$data['url'] = $data['stream_hls'];
|
|
|
+
|
|
|
+ $source_type = Dever::input('source_type');
|
|
|
+ if ($source_type != 'ios' && $source_type != 'android') {
|
|
|
+ $data['stream_rtmp'] = $data['stream_hdl'];
|
|
|
+ }
|
|
|
} elseif (isset($data['stream_link']) && $data['stream_link']) {
|
|
|
$data['stream'] = $data['stream_link'];
|
|
|
$data['stream_rtmp'] = $data['stream_link'];
|