Replies: 2 comments
-
Can anyone help with this issue, please? |
Beta Was this translation helpful? Give feedback.
-
Hello, segments are not meant to be as compatible as possible but to be as robust as possible in case of crashes. The playback server is the component in charge of converting segments on disk into something as compatible as possible. Therefore, enable the playback server, use the playback server to view recordings and also append
http://localhost:9996/get?path=[mypath]&start=[start_date]&duration=[duration]&format=mp4 |
Beta Was this translation helpful? Give feedback.
-
Question
As the title says, when a recorded stream (formatted as an fragmented MP4 video file and located on a remote machine) is viewed through a web browser, it takes a very long time (10-20 seconds) for the video to load in Chrome whilst less than a second in Firefox. From the console, I can see Chrome is downloading a large number of video fragments.
The behaviour is the same both when the mp4 file is viewed directly (ie URL ending with mp4) and when viewed through a simple html file with a video element (including when using a library such as videojs). The video has audio.
I have tried to search for the issue on the web and with ChatGPT to no avail.
Is it possible to tweak the html file so that Chrome behaves nicely and loads the video quickly, just as Firefox?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions