From b55e91d1e38ed0d69c28a1084258bb120c6538a9 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 26 Jun 2022 20:15:52 -0600 Subject: [PATCH] Update LiveStreamController, add stream end event to deleteStream --- app/Http/Controllers/LiveStreamController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/LiveStreamController.php b/app/Http/Controllers/LiveStreamController.php index 25c1baace..d423c415e 100644 --- a/app/Http/Controllers/LiveStreamController.php +++ b/app/Http/Controllers/LiveStreamController.php @@ -147,6 +147,7 @@ class LiveStreamController extends Controller ->each(function($stream) { Storage::deleteDirectory("public/live-hls/{$stream->stream_id}"); LiveStreamService::clearChat($stream->profile_id); + StreamEnd::dispatch($stream); $stream->delete(); });