RTSP Fully Implemented
This commit is contained in:
@@ -91,8 +91,8 @@ export const VideoModal: React.FC<Props> = ({ fileId, onClose }) => {
|
||||
<p className="text-xs text-gray-500 dark:text-gray-400 mt-0.5">Watch your recording</p>
|
||||
</div>
|
||||
<a
|
||||
href={src}
|
||||
download
|
||||
href={`${BASE}/videos/stream?file_id=${encodeURIComponent(fileId)}`}
|
||||
download={fileId.split('/').pop() || 'video.mp4'}
|
||||
className="px-3 py-1.5 text-xs bg-blue-600 hover:bg-blue-700 text-white rounded-md transition-colors"
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user