Foscam Add prompt language and modify the default port to a more compatible (#150536)

This commit is contained in:
Foscam-wangzhengyu
2025-08-13 19:21:39 +08:00
committed by GitHub
parent eea04558a9
commit ff694a0058
2 changed files with 7 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ from .const import CONF_RTSP_PORT, CONF_STREAM, DOMAIN, LOGGER
STREAMS = ["Main", "Sub"]
DEFAULT_PORT = 88
DEFAULT_RTSP_PORT = 554
DEFAULT_RTSP_PORT = 88
DATA_SCHEMA = vol.Schema(

View File

@@ -11,7 +11,12 @@
"stream": "Stream"
},
"data_description": {
"host": "The hostname or IP address of your Foscam camera."
"host": "The hostname or IP address of your Foscam camera.",
"port": "The port of your Foscam camera, default is 88.",
"username": "The username to log in to your Foscam camera.",
"password": "The password to log in to your Foscam camera.",
"rtsp_port": "The RTSP protocol port of the camera, used to pull the camera's real-time video stream. New model cameras only support RTSP ports 88 and 554, while old model cameras only support ports 88 and 65534.",
"stream": "Select the video stream type to pull. The main stream offers higher clarity but requires a better network environment."
}
}
},