Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

remove headers

roryclear479fb78b0ee4
diff --git a/clearcam.py b/clearcam.py
index d5ccf44..9b7eb71 100644
--- a/clearcam.py
+++ b/clearcam.py
@@ -256,8 +256,6 @@ class VideoCapture:
command = [
ffmpeg_path,
*(["-rtsp_transport", "tcp"] if is_rtsp else []),
- "-headers", "Referer: https://www,earthcam.com\r\n",
- "-user_agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
"-fflags", "+genpts",
"-avoid_negative_ts", "make_zero",
"-i", self.src,