-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synchronizing multiple live streams with dynamic bitrate #4014
Comments
You mean you'd like the playback speed to depend on the available buffer? This is not a supported feature, but I suppose you could try implementing this yourself.
The fps don't depend on the player or the start time, it depends on the stream you are playing. On the other hand, if you mean playback speed, synchronization should not be affected by an altered playback speed (speed is a player attribute, not a renderer attribute). Does this answer your question? |
I'm not sure about changing playback speed would help me with this. The issue I'm trying to resolve is that the player have difficulty synchronizing two stream that have different bitrate using mergingMediaSource. (The bitrate isn't constant, it varies depends on the content of the video) Thank you for the quick response. |
Sounds like a bug to me, but in order to look into it we will need the information requested in the issue template |
Please let me know if you need more info, thanks |
Does this reproduce locally? Have you ruled out the possibilty of bandwidth just not being enough to handle that many videos?
Stuck for how long? Endlessly or for a brief period of time?
Please provide content that reproduces the issue, you can do this at [email protected] if you'd like it to remain undisclosed. It is not convenient for us to spend time searching for content that reproduces the issue, without the guarantee of it having the correct characteristics. |
I tried streaming 4 identical live streams and it works pretty well so the bandwidth should not be the problem. It tend to happen when streaming multiple live stream with different source.
Do you think it has something to do with the allocator size that cause the infinite buffering? I'm working on providing content for this, will email to you as soon as possible. |
@AquilesCanta I have sent the content & sample project to [email protected] Thanks |
@AquilesCanta, just wanted to follow up with you on this issue, thanks! |
I will do my best to look at this late next week. There are a few things I need to do with some urgency, first. Thanks for your patience! |
Not a problem, thanks for looking into this. |
Hi @AquilesCanta, I just sent another email to [email protected] with an updated project and streaming url; however the session with the url might expire, please let me know if it is and I will provide a new one. Thanks |
I am getting a 401 from the server for both URLs. I must insist that it might be faster if you try to diagnose this issue yourself. I am pretty confident that the issue will be easy to identify. |
@AquilesCanta I have just send the updated content url to [email protected]. There is an expiration with the urls, it usually last ~20-24 hours. Please give it another try, I have been looking into this for weeks. If you could take a quick look at this would be greatly appreciated. Sorry for all the back and forth on this. |
Please try the following and let me know if this fixes your issue:
This fix will not eliminate buffering, but it should fix your issue. Let me know if it does. |
Adjusting max buffer and set a smaller value for continueLoadingCheckIntervalBytes works! Again, thank you so much for your help. |
Something you can try is implementing your own MergingMediaSource. The issue now is that |
Thank you for your thorough explanation and the investigation for the buffering issue I had. Yes, we can close this. |
Hi,
I'm working on building a custom Exoplayer that allows user to stream multiple live video in synchronize matter. I used the solution in #2855 which works great if all streams has the same bitrate; however if the bitrate start to fluctuate (some of the stream has dynamic bitrate), all streams will start to buffer frequent and becomes unwatchable.
Is there a flag I can set to have player to render frames as fast as they can without buffering?
My assumption is, as long as all streams start at the same time; the fps should stays the same across all streams.
Thanks in advance!
The text was updated successfully, but these errors were encountered: