@@ -449,6 +449,8 @@ class CameraServices
$cover_picture = CameraList::where('id', $camera_id)->value('cover_picture');
if ($file_exists && $ts_exists) {
+ //先修改已生成目录用户组
+ exec("chown -R www:www " . public_path() . '/' . CameraEnum::M3U8_FILE_PATH . $path);
//查询是否存在封面图
if (!$cover_picture) {
//获取第一帧作为封面图