keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.68k stars 235 forks source link

Unifi Protect app crashes (iOS and tvOS) #53

Closed ewolfe closed 3 years ago

ewolfe commented 3 years ago

After following the setup guide I am able to view the live steam of my IP camera from the Unifi Protect web app. So next I tested the iOS and tvOS app. I can see the live feed from the "thumbnail" view of cameras but when I open one of the cameras to go "fullscreen" the apps crash.

saschawerner commented 3 years ago

Same here - I suspect that it's due to the RTSP stream containing some illegal metadata.

You can try to add this to your arguments (tick_rate= twice your framerate) --ffmpeg-args '-c:v copy -vbsf "h264_metadata=tick_rate=30:fixed_frame_rate_flag=1" -ar 32000 -ac 2 -codec:a aac -b:a 32k'

keshavdv commented 3 years ago

Fix is already in the repo and confirmed in #28, will make a new release shortly