Closed Banditen01 closed 2 years ago
It seems that it is unable to discover the camera over UDP.
Might I ask about the network topology? Is the docker host and the camera on the same network. Does the switch (router) support UDP broadcasts?
For a successful UDP discovery:
[2021-11-28T20:11:25Z INFO neolink::rtsp] Office: Connecting to camera at UID: xxx
[2021-11-28T20:11:25Z INFO neolink::rtsp] Office: Logging in
[2021-11-28T20:11:26Z INFO neolink::rtsp] Office: Connecting to camera at UID: xxx
[2021-11-28T20:11:26Z INFO neolink::rtsp] Office: Logging in
[2021-11-28T20:11:26Z INFO neolink::rtsp] Office: Connected and logged in
[2021-11-28T20:11:26Z INFO neolink::rtsp] Office: Connected and logged in
[2021-11-28T20:11:26Z INFO neolink::rtsp] Office: Starting video stream Sub Stream (Fluent)
[2021-11-28T20:11:26Z INFO neolink::rtsp] Office: Camera time is already set: 2021-11-28 21:11:25 +1
[2021-11-28T20:11:27Z INFO neolink::rtsp] Office: Camera reports firmware version 1221_246_237_21
How did you solve the connection problem to battery cameras via UDP? If I use the Ubuntu package I have no problem while if I use Doker, neolink tries to connect via UDP but times out and does not connect.
Tried all different docker versions like udp, udp_docker, udp_proto
docker-compose: neolink: container_name: neolink image: quantumentangledandy/neolink:udp_proto restart: unless-stopped environment:
Simple neolink.toml config: bind = "0.0.0.0" [[cameras]] name = "Office" username = "xxxx" password = "xxxx" uid = "xxxxxx" channel_id = 0 stream = "both"
Get this error: [2021-11-28T11:31:48Z ERROR neolink::rtsp] Error streaming from camera Office, will retry in 15s: Failed to connect to camera Office at UID: xxxxxx on channel 0