guino / ppsapp-rtsp

This repository is to keep rtsp patches for camera ppsapp files
24 stars 4 forks source link

I bought this camera from some onlinewebshop, could you take a look? onvif is available. Is there a patch? #7

Open guino opened 3 years ago

guino commented 3 years ago

I bought this camera from some onlinewebshop, could you take a look? onvif is available. Is there a patch?

model | "Speed 3S" serialno | "--" softwareversion | "2.9.7" hardwareversion | "S3S_H1_V10_F23" firmwareversion | "ppstrong-c51-tuya2_laxihub-2.9.7.20201028" authkey | "--" deviceid | "--" identity | "--" pid | "aaa"

Originally posted by @danielsan79 in https://github.com/guino/ppsapp-rtsp/issues/1#issuecomment-832991785

guino commented 3 years ago

@danielsan79 There's no patch for this ppsapp yet - just post a zip of the ppsapp here in github and I can patch it for you.

danielsan79 commented 3 years ago

https://www90.zippyshare.com/v/VZKrKzT1/file.html

I hope it will work on my synology nas!

guino commented 3 years ago

@danielsan79 you should be able to use it in Synology nas -- just make sure to select RTSP over TCP on the settings.

This firmware does seem to have ONVIF without patching -- but I have seen people reporting the ONVIF doesn't work right and/or has issues with different software/hardware.

Here's the patch to enable the RTSP server on port 8555 (onvif RTSP port is 8554 which is enabled in tuya_config.json): https://github.com/guino/ppsapp-rtsp/issues/1#issuecomment-833617518

danielsan79 commented 3 years ago

No luck, no fun time :(

Onvif is stil not working, synology supports (also) RTSP but also have no connection. I also use the patch it will connect the snap.cgi and mjpeg.cgi but not play.cgi request address: 0x05540ec.

of course i use diffrent players and clients.

guino commented 3 years ago

@danielsan79 does rtsp work anywhere else (vlc, phone app, etc)? Please note the rtsp on port 8555 from the patched version uses no user/password.

How did you try play.cgi ? that is for playing audio files so it requires parameters and won’t work from an application like vlc, etc. very few people use this feature.

danielsan79 commented 3 years ago

Yes, little fun time!

I can acces the RTSP addres but, after exactly 19 minutes the camera reboot itself, with the annoying boot sounds. ONVIF doesnt work. I do block all connection with pihole, but it doesnt seems to matter if i dont. any advise?

guino commented 3 years ago

@danielsan79 please always try without blocking connections. The patch I made is not meant to work “offline”. The camera will likely not boot entirely if you block internet to it. The ONVIF may require user/password (admin/admin), so try that on VLC first.

The 19 minutes reboot issue you are describing is a common symptom of using UDP instead of TCP for the RTSP stream. Just adjust the settings in VLC (or app) and it should stop rebooting.

If RTSP is working on VLC but not on synology I assume it is just incompatible with it.

danielsan79 commented 3 years ago

It was the UDP, so i config the client and it work! ONVIF may not be supported.

RTSP is working on my nas, i blocked all traffic from the camera to WAN, only control (the camera) inside the network, and use vpn server to connect my network, when im outside. Thanx for the help, coffee is on the way!

guino commented 3 years ago

@danielsan79 glad you got it working! Thanks for the feedback and for the coffee! Cheers!