cal-overflow / security-system

Custom built security system that can alert users via email when motion has been detected. The system also records video streams when motion is detected for later viewing.
https://youtu.be/tWyITpOT6WE
3 stars 0 forks source link

Faulty Video Playback on Desktop Browsers #3

Open cal-overflow opened 3 years ago

cal-overflow commented 3 years ago

Video playback of the recorded videos produced by the server is not functioning on Desktop Browsers. avi video playback is not natively supported on iOS devices, yet mp4 video playback is. I have left mp4 as the default option, since I use an iPhone, and am able to view the video through the webserver on my phone. Desktop Browsers (Google Chrome and Firefox), on the other hand, do not support video playback of mp4v. There is a 'Download Video' option on the page, that works as a backup solution.

The solution to this will probably be installing the required FFMPEG codec encoder (possibly H264).

Fixing this is not a primary objective right now, as I am more concerned with implementing other necessary features, but this is a serious issue for anyone who considers viewing the recordings on desktop browsers a necessity.

For the time being, I suggest relying on the 'Download Video' button if you are on desktop, and enjoying the functional video playback if you are on iOS like me.