Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect RTSP Stream #305

Open
Fillip38 opened this issue Oct 12, 2024 · 1 comment
Open

Can't connect RTSP Stream #305

Fillip38 opened this issue Oct 12, 2024 · 1 comment

Comments

@Fillip38
Copy link

Hello everyone,
I've been trying to get the add-on to work for two days now, according to the log everything is working, but I can't connect to it using either the VLC player or the "Generic Camera" plugin...
I've created a suitable config.toml, which is also read (port set to 8445 because the standard 8554 is already used) and added the camera... I've also adjusted the port accordingly under the AddOn Configuration tab...

My .toml looks like this:

bind = "0.0.0.0"

bind_port = 8445

[[cameras]]
name = "Kinderzimmer"
username = "admin"
password = "XXXX"
uid = "9527000XXXXXXXXX"
address = "192.168.19.211"

The Log says:

--- VERSIONS ---
add-on version: 0.0.9
[2024-09-29T18:17:09Z INFO  neolink] Neolink e47a0d5734b0a06b53bd8d78be9ca2f6b8396480 release
neolink version: neolink 0.6.2
neolink mode: rtsp
neolink log: info
ATTENTION: if you expected a newer Neolink version, please reinstall this Add-on!
--- Neolink ---
[2024-09-29T18:17:09Z INFO  neolink] Neolink e47a0d5734b0a06b53bd8d78be9ca2f6b8396480 release
[2024-09-29T18:17:10Z INFO  neolink::rtsp] Starting RTSP Server at 0.0.0.0:8445
[2024-09-29T18:17:10Z INFO  neolink::rtsp] Kinderzimmer: Rtsp Staring
[2024-09-29T18:17:10Z INFO  neolink::utils] Kinderzimmer: Connecting to camera at Address: 192.168.19.211, UID: 9527000XXXXXXXXX
[2024-09-29T18:17:10Z INFO  neolink_core::bc_protocol] Kinderzimmer: Trying TCP discovery
[2024-09-29T18:17:10Z INFO  neolink_core::bc_protocol] Kinderzimmer: TCP Discovery success at 192.168.19.211:9000
[2024-09-29T18:17:10Z INFO  neolink::utils] Kinderzimmer: Logging in
[2024-09-29T18:17:10Z INFO  neolink::utils] Kinderzimmer: Connected and logged in
[2024-09-29T18:17:10Z INFO  neolink::common::camthread] Kinderzimmer: Camera time is already set: 2024-09-29 20:17:12.0 -01:00:00
[2024-09-29T18:17:10Z INFO  neolink::common::neocam] Kinderzimmer: Model Reolink Lumus
[2024-09-29T18:17:10Z INFO  neolink::common::neocam] Kinderzimmer: Firmware Version v2.0.0.705_21052800
[2024-09-29T18:17:10Z INFO  neolink::rtsp] Kinderzimmer: Avaliable at /Kinderzimmer/sub, /Kinderzimmer/Sub, /Kinderzimmer/subStream, /Kinderzimmer/SubStream, /Kinderzimmer/Substream, /Kinderzimmer/substream
[2024-09-29T18:17:10Z INFO  neolink::rtsp] Kinderzimmer: Avaliable at /Kinderzimmer/main, /Kinderzimmer/Main, /Kinderzimmer/mainStream, /Kinderzimmer/MainStream, /Kinderzimmer/Mainstream, /Kinderzimmer/mainstream, /Kinderzimmer
@QuantumEntangledAndy
Copy link
Owner

Your logs say everything in the neolink end is ok. The HA addon uses a docker container so you need to do port mapping.

You can try more in-depth logs to see if any connection was started at all with GST_DEBUG=3, this is the logs from gstreamer (it's quite verbose). Gstreamer handles all rtsp connections, all neolink does is pass the frames to gstreamer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants