QuantumEntangledAndy / neolink

An RTSP bridge to Reolink IP cameras
GNU Affero General Public License v3.0
330 stars 45 forks source link

Control/remove the Reolink overlays? #181

Closed iam-TJ closed 5 months ago

iam-TJ commented 11 months ago

Having got neolink working with the Argus PT I see that there is a graphical "Reolink" logo top-left, date/time center top, and camera name bottom-right - is there any way to change or disable those? I also notice the timezone appears to be Pacific Standard Time (UTC -8) since it shows 16:40 when it is 00:40 UTC. example

QuantumEntangledAndy commented 11 months ago

You can use the offical app to remove those. I haven't added it into neolinks command set

iam-TJ commented 11 months ago

I've not been able to get the Reolink app to connect to the camera; I see communications between them (on port 9000 I think it was) but the app then reports connection failed. Is there some documentation on the command strings for those features - I can add them if so. Not being able to intercept the app using the dissector I can't do it via analysing the packets.

QuantumEntangledAndy commented 11 months ago

Have a look in dissector/messages.md most of our decoded messages are dumped into there

QuantumEntangledAndy commented 11 months ago

Probably - 45: <OsdChannelName> (write) on line 752

and maybe something to do with <SystemGeneral> for the time format but not sure I have the set command for that REd yet

QuantumEntangledAndy commented 11 months ago

Argus PT is a uid only camera so that means that the TCP port 9000 is closed. It only responsds on port UDP 2015 and 2018 to a handshake packet (nmap might not be able to get a reply).

The official clients sends out a broadcast to 255.255.255.255:2015 and 255.255.255.255:2018

If your switch is set to not allow broadcasts (or is on another subnet) then the official client will fail to connect unless allowed to contact reolink servers

QuantumEntangledAndy commented 11 months ago

I've got to go teach class, but give me a shout if you need anything. I can probably capture some packets if you want me to for my camera and send them on

iam-TJ commented 11 months ago

Many thanks for your informative and swift responses. As a fellow reverse-engineer I'm sure I can manage now I have the pointers from the issues I raised and you have responded to.

I'll contribute back, possibly with patches to add setter/getter logic if I'm successful.

QuantumEntangledAndy commented 5 months ago

I take it you were a bit to busy to look into this. I will close this but feel free to ask questions if you want to attempt this