Phases 0–18: core meetings, webinar, breakouts, team chat, live streaming, town hall, billing, and Ladill Mail calendar wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Jobs;
|
||||
|
||||
use App\Models\Recording;
|
||||
use App\Services\Meet\RecordingService;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Queue\Queueable;
|
||||
|
||||
class ProcessRecording implements ShouldQueue
|
||||
{
|
||||
use Queueable;
|
||||
|
||||
public function __construct(
|
||||
public int $recordingId,
|
||||
) {}
|
||||
|
||||
public function handle(RecordingService $recordings): void
|
||||
{
|
||||
$recording = Recording::find($this->recordingId);
|
||||
if (! $recording || $recording->status !== 'processing') {
|
||||
return;
|
||||
}
|
||||
|
||||
$recordings->process($recording);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user