|
@@ -80,6 +80,10 @@ class Handle
|
|
|
|
|
|
$method = $this->method($config);
|
|
|
|
|
|
+ $rtmp = $method->getRtmp($info['key'], $info['times'] * 3600);
|
|
|
+
|
|
|
+ $url = $method->getPlay($info['key']);
|
|
|
+
|
|
|
$stream = $method->getInfo($info['key']);
|
|
|
|
|
|
$live = $method->getLiveStatus($info['key']);
|
|
@@ -87,6 +91,12 @@ class Handle
|
|
|
$hitory = $method->history($info['key']);
|
|
|
|
|
|
$data['where_id'] = $id;
|
|
|
+ $data['live'] = $rtmp;
|
|
|
+ $data['url_rtmp'] = $url['rtmp'];
|
|
|
+ $data['url_hls'] = $url['hls'];
|
|
|
+ $data['url_hdl'] = $url['hdl'];
|
|
|
+ $data['url_pic'] = $url['pic'];
|
|
|
+
|
|
|
$live = Dever::json_decode($info['info']);
|
|
|
$live['info'] = $stream;
|
|
|
$live['live'] = $live;
|