-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Chunks are not being refreshed with new Manifest response's SegmentTemplates. #6996
Comments
You are using an unsupported and very old version. I'm sure this has been resolved in newer versions, can you try 4.10.2? Thanks! |
Hello, I upgraded the Shaka version to 4.10.2 as you suggested, but the problem is still not fixed. Even though a new MPD request is made, it continues to read the old manifest file. |
Can you send your manifest url to test it? |
Hello, this manifest URL is closed to the outside due to company policy and cannot be accessed externally. Maybe if you can provide me with a sample content, I can test it on my end to see if the transition works correctly. |
We do not have content with these characteristics. Since you can't provide an example to help you, we'd be happy to review your PR in case you want to contribute to fixing this. I'm sorry! |
Hello, as you mentioned, I updated the Shaka version and continued testing. After MPD refreshes, it continues to download chunks from the old mode, and after a while, it switches to the new MPD after receiving a 410 error from the existing mode and continues downloading chunks. However, after a while, it encounters issues during these transitions and fails to switch to the new mode. Is there a configuration we can use to force the player to switch to the new MPD after receiving it? |
Hi @avelad , i am waiting for your response. Thanks. |
@shaka-bot reopen |
Here i am sharing my registerRequestFilter function , to update header parameters with new ones . MTC.registerRequestFilterFunction = (type, request) => {
} I observe that request.uris is growing in size after each call, even if i have only 1 uri in the beginning. |
So I understand that you have solved the problem with your filter. The growth of the uris size is expected if you frequently change the final url of the mpd (including tokens) |
Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including |
@shaka-bot reopen |
I reopened the topic because I want to ask something. I upgraded my Shaka Player version to 4.10.2. What I want to ask is: In dynamic manifest requests, after each manifest request, shouldn't it continue with the updated data from the manifest (segment templates)? What I see is that even though manifest requests are made, the new segments from the updated manifest are not immediately used. I also noticed that sometimes, when a 410 is received from the server, it automatically switches to one of the next manifests, but this is not stable. I couldn't understand how it decides which manifest to switch to. In short, my question is, after each manifest request, can we ensure that Shaka continues with the latest manifest? Or, based on which tags or properties does Shaka make decisions during these transitions in the response? |
Have you read the Tutorials?
Have you read the FAQ and checked for duplicate open issues?
If the question is related to FairPlay, have you read the tutorial?
What version of Shaka Player are you using?
2.5.23
What browser and OS are you using?
MacOs, Firefox
Please ask your question
Hello,
I am currently playing a live channel using DASH and for additional security, I am adding some search parameters to the new manifest requests. As a response to the manifest request, I receive new segments and a new token parameter within the media object. However, while the ts chunks are being downloaded, the token parameter appended to the media chunks from the initial manifest request is still being used.
In short:
However, Shaka Player continues to use the old st tokens from the initial manifest request when downloading segment chunks.
How can I ensure that Shaka Player uses the new st tokens for segment chunks after a new manifest is loaded? What would be the best approach to solve this issue?
The text was updated successfully, but these errors were encountered: