@php $isHost = $role === 'host'; $recordingConfig = $isHost ? [ 'role' => 'host', 'csrf' => csrf_token(), 'chunk_bytes' => $recordingUpload['chunk_bytes'] ?? 2097152, 'max_label' => $recordingUpload['max_label'] ?? '2 GB', 'routes' => $recordingUpload['routes'] ?? [], ] : ['role' => 'student']; @endphp
@if ($isHost) ← Back @else ← Back @endif

{{ $isHost ? 'You are hosting' : 'You joined' }}

@if ($isHost) @else Live @endif

{{ $liveClass->course?->title }}

@if ($isHost)
View recording

Recording streams to the LMS in chunks (up to {{ $recordingUpload['max_label'] ?? '2 GB' }}). Students can watch it after upload finishes.

@else

Connected to mock live room

The mentor’s session is being recorded. After class, open this live class page to watch the recording.

@endif

Meeting ID {{ $liveClass->zoom_meeting_id }} · Password {{ $liveClass->zoom_password ?: '—' }}