mirror of
https://github.com/home-assistant/core.git
synced 2025-09-05 12:51:37 +02:00
Foscam Add prompt language and modify the default port to a more compatible (#150536)
This commit is contained in:
committed by
GitHub
parent
eea04558a9
commit
ff694a0058
@@ -26,7 +26,7 @@ from .const import CONF_RTSP_PORT, CONF_STREAM, DOMAIN, LOGGER
|
|||||||
STREAMS = ["Main", "Sub"]
|
STREAMS = ["Main", "Sub"]
|
||||||
|
|
||||||
DEFAULT_PORT = 88
|
DEFAULT_PORT = 88
|
||||||
DEFAULT_RTSP_PORT = 554
|
DEFAULT_RTSP_PORT = 88
|
||||||
|
|
||||||
|
|
||||||
DATA_SCHEMA = vol.Schema(
|
DATA_SCHEMA = vol.Schema(
|
||||||
|
@@ -11,7 +11,12 @@
|
|||||||
"stream": "Stream"
|
"stream": "Stream"
|
||||||
},
|
},
|
||||||
"data_description": {
|
"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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user