ZoneMinder / zmNinja

High performance, cross platform ionic app for Home/Commerical Security Surveillance using ZoneMinder
http://zmninja.zoneminder.com
Other
1.01k stars 268 forks source link

Recorded Events Viewing - Difference In Behavior Between Desktop And Mobile ZMNinja #1016

Closed incompetent-nerd closed 3 years ago

incompetent-nerd commented 3 years ago

Hello,

I travel frequently and the recent commit to ZM to re-enable fragmented MP4s requires that ZMNinja download the entire MP4 recorded event before displaying. On a slow 3G link it could take up to 10 minutes to download the 100MB-200MB videos.

In ZM, for each camera, I added "movflags=frag_custom+dash+delay_moov" to the optional encoder settings and now ZMNinja Desktop version behaves as before, i.e. the video appears nearly instantly and I am able to seek even on slow connections. However the ZMNinja mobile version still requires the full download.

Would it be possible to make the mobile version behave as the desktop version? Or is there some underlying mechanism that is causing the difference in behavior?

Thank you.

ZMNinja Versions: Desktop - 1.4.009 - Windows x64 (On Windows 10) Mobile - 1.6.000 (IOS) - iPhone 10 - IOS 14.2

Zoneminder Version: 1.34.22 - On CentOS 7.X

welcome[bot] commented 3 years ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you follow the issue template or I may not respond.

pliablepixels commented 3 years ago

Hi, thanks for the issue. The code between mobile and desktop is the same - that is, the video player is just an overlay and it relies on the underlying video player of the platform. So there really isn't much I can do to change it. This may well be an encoding issue and that videos need some other form of encoding for mobile devices. Also, you're right - I see the same thing, but don't know what I can do app side to fix it.