AnlaAnla 3 өдөр өмнө
parent
commit
ab8886ca56

+ 1 - 1
app/core/config.py

@@ -20,7 +20,7 @@ def _get_int(name: str, default: int) -> int:
 
 class Settings:
     CAMERA_CONFIG = {
-        "cam01": "rtsp://admin:password@192.168.77.10:554/live/ch0",
+        "cam01": "rtsp://admin:password@192.168.1.10:554/live/ch0",
         # 可扩展多个摄像头
     }
 

+ 1 - 0
app/utils/init_network.py

@@ -6,6 +6,7 @@ def init_network():
     '''
     sudo ip route add 192.168.77.10/32 dev enx00e04c680042
     '''
+    "192.168.77.10中的77是因为linux是77, win的话不需要这个"
     subprocess.run([
         "sudo", "ip", "route", "add", "192.168.77.10/32", "dev", "enx00e04c680042"
     ])