From 939a24a9a75ef44ea6b7fd1d170af09cd3792340 Mon Sep 17 00:00:00 2001 From: Jing Li Date: Sat, 30 Dec 2023 23:04:53 +0800 Subject: [PATCH] Update --- app/Http/Controllers/DeviceController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/DeviceController.php b/app/Http/Controllers/DeviceController.php index 7dc1c7b..0f08520 100644 --- a/app/Http/Controllers/DeviceController.php +++ b/app/Http/Controllers/DeviceController.php @@ -815,13 +815,13 @@ class DeviceController extends Controller if ($wsConfig['ssl'] && $wsConfig['host']) { $address = sprintf( - 'wss://%s/rtsp?url=%s', + 'https://%s/rtsp?url=%s', $wsConfig['host'], base64_encode($rtspUrl), ); } else { $address = sprintf( - 'wss://%s:%s/rtsp?url=%s', + 'http://%s:%s/rtsp?url=%s', $wsConfig['ip'], $wsConfig['port'], base64_encode($rtspUrl),