Jump to content
  • 0

How to control/observe where the loop player is in its playlist?


Conspyre
 Share

Question

Can't find anything in the docs. I'm looking for get/set for current file/time index.

Long versions is I'm running a 24/7/365 loop stacking 12 hour mp4 files into the loop player & starting @ noon so I can clock sync the media. (big files are to avoid client disconnects)

Last night @9pm, after stream has been running for several days, I find it out of sync by ≈+ 3 hours. Restarted the stream today, had an issue, restarted it a couple of times - and I find that it has skipped ahead in the file list by 2 days worth of media. It seems I need to blow out the playlist & create a new one to reset the play head…

Link to comment
Share on other sites

  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

7 answers to this question

Recommended Posts

  • 0

Hi @Conspyre,

Thanks for your report. I am snot sure if I understood correctly. Please correct me if I misunderstood.

You have a long playlist running, after a while the real time and video time sync is broken. Am I right? If not, pleasw write me a clear step by step reproduce scenario and expected and actual behavior.  

Link to comment
Share on other sites

  • 0

Correct. We were several days into this playlist which alternates between 12 hours of media and 12 hours of “static”. 
 

3 hours before midnight (when the stream should have been playing media) I observed it playing static  No idea how this happened.

Subsequently I believe I have characterized it further, it seems to remember the file position, as stopping and starting the stream is advancing by 12 hours. Or maybe it’s 24 hours. It’s hard to tell. Last night at midnight it did not switch correctly. Instead of the static loop it had jumped ahead to the next media file. 
 

Ant seems very unreliable for this use case. I went to mixing 12 hour loops in premiere as all of the RTMP clients I’ve tried disconnect at  file boundaries on the playlist.
 

At minimum the UI should offer some indication where in the playlist it is playing and a way to control it. 

Link to comment
Share on other sites

  • 0

Imagine a TV station from forty years ago. They stop broadcasting during part of the day. If you tune the TV to that station you get “static”. White noise. 
 

The media player is loaded with 50 12-hour loops. Loop one contains media to watch. Loop two contains static. Repeat the pattern. From midnight to noon (local time) the station is “off air” so plays “static”. From noon till midnight the station plays media (podcasts documentaries commercials etc)

my 25 day playlist is running for 8 days. I noticed it being three hours out of sync. I stopped and started the stream a few times. I am now playing day 12 media when I should be playing media from day 8. 
 

I don’t know how to explain it better without repeating myself, and I’m a little bit confused by how the ant media player works & am trying to characterize it. Please ask for specific clarifications if that wasn’t clear. 

Link to comment
Share on other sites

  • 0

By RTMP client I mean anyone watching the stream. Initially I loaded ant with mixed media files, a two minute clip, a five minute clip, a 30 minute clip. At the boundary of each clip the client (viewer of the stream) disconnects. Has to reconnect. Glitches stalls buffers and has anything but a good experience. 
 

How long have you been doing this? “client” is an incredibly common term. 

Link to comment
Share on other sites

  • 0

Thank you @Conspyre,
I understood the use case now. The "Client" word confused me because it is used for publisher and also for viewers in different use cases. Now with the understanding of the use case it is clear now. Also the word RTMP also confused me because we haven't maintained the RTMP playback feature for a while. But it seems we will do again.

Now returning to the issue, the only way that we can understand the issue is checking the logs and compare it with the playlist. Can you provide them to me? If you think they contain any private data, you can send them to support@antmedia.io.

Again I am sorry to understand late.

Link to comment
Share on other sites

  • 0

Sorry, I updated this back on the GitHub thread. Pasting again here. 

-----

Coming back to this, I've given up tracking down the previous issue, but it hasn't gone away.

I am creating a 24/7/365 podcast, trying to run it in the cloud from Ant Media Player.

Setup is Ant has four identical playlists, all started at the same time. Those playlists are going to one RTMP endpoint each. Those identical playlists are loaded with 12 hour files. I started the four loop players at midnight, so, we are 15 hours into the playlist (e.g. hour 3 of the second file in the playlist).

I have the stream on in the living room, and, it switches to the next loop. I check, and on multiple platforms (e.g. DLive, Rumble, Twitch, Pilled, Conspyre•TV) they have all skipped playing file #2 and gone to file #3.

I quickly stopped/deleted/reloaded/restarted the playlists. Which is a terrible thing to do on a livestream when you have people watching. They tend to not want to watch your stream when you yank their chain like that, but I digress.

I do not believe Ant Media Player is stable enough for my use case. In two weeks of running this stream, Ant has lost the plot multiple times. Good luck fixing your media server. I'm putting a ton of log file in Pastebin. Maybe there is some gold in there for you to mine. https://pastebin.com/KWCEU2ie

I did one better & zipped up all of the logs:

https://adserver.conspyre.tv/logs.zip

Here is the file that was playing & Ant aborted playing it at about 3 hours + some minutes into playing it:

https://tv1.s3.wasabisys.com/Conspyre-1.017.mp4

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...