{{-- bootstrap icon --}}
Go Back
@csrf()

Create Virtual Wall Presets

{{-- @dd($presets) --}} @if (isset($presets) && count($presets) > 0) @foreach ($presets as $index => $preset) @endforeach @endif {{-- @if (count($presets) < 3) --}} {{-- @endif --}}
# Preset Lebel Select Region Select Cameras
{{ $index + 1 }} {{ $preset->label }} {{ $preset->region_details['region'] ?? 'No Region' }} @php $cameraDetails = $preset['camera_details'] ?? []; @endphp @if (!empty($cameraDetails)) @php $cameraNames = []; // foreach ($cameraDetails as $camera) { // if ($camera instanceof MongoDB\Model\BSONDocument) { // // If it's a BSONDocument, extract the cameraname // $cameraNames[] = $camera['cameraname'] ?? 'Unknown'; // } elseif (is_array($camera)) { // // If it's an array, extract the cameraname // $cameraNames[] = $camera['cameraname'] ?? 'Unknown'; // } else { // // If it's something else, convert to string // $cameraNames[] = (string) $camera; // } // } foreach ($cameraDetails as $camera) { if ($camera instanceof MongoDB\Model\BSONDocument) { // If it's a BSONDocument, extract the cameraname $cameraNames[] = $camera['cameraname'] ?? 'Unknown'; } elseif (is_array($camera)) { // If it's an array, extract the cameraname $cameraNames[] = $camera['cameraname'] ?? 'Unknown'; } else { // If it's something else, convert to string $cameraNames[] = (string) $camera; } } echo implode(', ', $cameraNames); @endphp @else No cameras available @endif Load Delete
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{-- @foreach ($cameras as $list)
Camera Stream 1
@if (sizeOf($list['joined_data']) > 0)
Warning: Undefined variable $list in C:\xampp\htdocs\surveillance\resources\views\virtualwall\view_virtial_wall.blade copy.php on line 334

Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\surveillance\resources\views\virtualwall\view_virtial_wall.blade copy.php on line 334

Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\surveillance\resources\views\virtualwall\view_virtial_wall.blade copy.php on line 334
@if ($joined_data['info'])
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\surveillance\resources\views\virtualwall\view_virtial_wall.blade copy.php on line 337
Video Format {{ $info['format']['format_long_name'] }}
Status:{{ $list['status'] == 1 ? 'Active' : 'Disabled' }}
Black Screen: Yes
Blur Screen: Yes
Threshold: {{ isset($info['format']['bit_rate']) ? $info['format']['bit_rate'] : '' }}
Latency: {{ isset($info['latency_seconds']) ? $info['latency_seconds'] : '' }}
@endif @endif
@endforeach --}}
@if (session()->has('error')) @endif @if (session()->has('success')) @endif