Does EMS support an "always growing" playlist?

Does EMS support an "always growing" playlist?

Support ForumCategory: Integration and CustomizationDoes EMS support an "always growing" playlist?
admin Staff asked 10 years ago
Hi Evostream, does EMS have the ability to support a "always growing" playlist easily? For example, suppose we are generating ongoing segmented files using the Record feature where the source is from a surveillance camera. I.e. Segmented files are always getting added. Then imagine the viewer wants to start viewing the files from a selected point of time in the past (starttime), and let the viewing session run for hours and hours. Now, at the time he/she selects the starttime to view, I know we can create a playlist with a list of the files that were on and after that starttime that existed at that time. But new segmented files are still getting created, and we don’t want the user’s viewing experience to stop when the list of files in the playlist run out. We want that playlist to keep adding new segmented files to that list. Can this be done? Now, I beleive that the insertPlaylistItem is able to insert files to a playlist. But it appears we have to give the exact millisecond offset for each new file since the beginning of the playlist – which is very hard to keep track of as some of the segemented files might know all be the same exact length. I.e. It would be nice if we can just append a file to the list and not worry about providing the duration. If we were, and assuming the playlist has no file limit, then it appears this would solve the need. mcrn



Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.