@extends('layouts.admin') @section('styles') {{-- Embed stream_url as HLS using Video.js --}} @endsection @section('content')
Live View
@if(str_starts_with($cctv->stream_url, 'rtsp://')) @else @endif
{{ trans('global.show') }} {{ trans('cruds.cctv.title') }}
{{ trans('cruds.cctv.fields.id') }} {{ $cctv->id }}
{{ trans('cruds.cctv.fields.name') }} {{ $cctv->name }}
{{ trans('cruds.cctv.fields.stream_url') }} {{ $cctv->stream_url }}
{{ trans('cruds.cctv.fields.lat') }} {{ $cctv->lat }}
{{ trans('cruds.cctv.fields.lat') }} {{ $cctv->lat }}
{{ trans('cruds.cctv.fields.vendor') }} {{ App\Models\Cctv::VENDOR_SELECT[$cctv->vendor] ?? '' }}
Detection Types {{ $cctv->detection_types ? implode(', ', json_decode($cctv->detection_types, true)) : '-' }}
{{ trans('cruds.cctv.fields.status') }} {{ App\Models\Cctv::STATUS_SELECT[$cctv->status] ?? '' }}
Capture
@foreach($cctv->images as $media)
@endforeach
@endsection