|
@@ -332,7 +332,7 @@ class HaiKangController extends BaseController
|
|
|
$url = $this->artemis.'/api/video/v1/cameras/previewURLs';
|
|
|
$params['cameraIndexCode'] = $query->index_code;
|
|
|
$params['streamType'] = $code_stream; //0主码流 1子码流 2第三码流
|
|
|
- $params['protocol'] = 'rtsp';
|
|
|
+ $params['protocol'] = 'rtmp';//rtsp
|
|
|
$params['transmode'] = 1; //0:UDP 1:TCP
|
|
|
$params['expand'] = 'streamform=rtp';
|
|
|
|