Skip to content
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

question of multiperiod hack to resolve time-shift of stream #1501

Closed
kuznetcoff777 opened this issue Jul 20, 2018 · 4 comments
Closed

question of multiperiod hack to resolve time-shift of stream #1501

kuznetcoff777 opened this issue Jul 20, 2018 · 4 comments
Labels
status: archived Archived and locked; will not be updated

Comments

@kuznetcoff777
Copy link

kuznetcoff777 commented Jul 20, 2018

Have you read the FAQ and checked for duplicate open issues?:

What version of Shaka Player are you using?:

Can you reproduce the issue with our latest release version?:

Can you reproduce the issue with the latest code from master?:

Are you using the demo app or your own custom app?:

If custom app, can you reproduce the issue using our demo app?:

What browser and OS are you using?:

What are the manifest and license server URIs?:

What did you do?

What did you expect to happen?

What actually happened?

Question is realted to case #899

Im attempting to get how can i hack my time-shift of a stream problem. I have an encoder that makes stream that is for some reasons go back for 3 seconds per 24 hours (after some time a have to restart encoder procces but it is pain because of we keep DVR 24 hours). I attempted to make another periods in mpd with period starts and presentationTimeOffset that takes into accont that shift but no luck. I get two kind of results:
-from some shift (it depends on presentation delay) player get 404 for segments( it feteches segmetns, that did not appear)
-time shows correctly, but real stream is out of real time (i see that for example newews segment is 1001, but player asks for 900, so real presentation delay is too huge)

Can you give me a hint how can i win this time-shift issue?

@joeyparrish
Copy link
Member

Are you referring to encoder drift? That's when the duration of what the encoder outputs is less than the time it took. For example, every 24 hours, only 23.9 hours of content is output.

@joeyparrish joeyparrish added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jul 20, 2018
@joeyparrish
Copy link
Member

If this is a question about encoder drift, we are planning a solution to that in #999.

@kuznetcoff777
Copy link
Author

kuznetcoff777 commented Jul 20, 2018

Yes, it seems to be this is it! It is great that you refactoring player!
Im attempting to resolve it via multi-period at the moment, but no luck at the moment.
When approximately this solution will be ready at your side?

@shaka-bot shaka-bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jul 20, 2018
@vaage
Copy link
Contributor

vaage commented Jul 25, 2018

@kuznetcoff777 Thank you for your patiences. Right now @joeyparrish is working on #999. While the initial approach was a larger-scaled solution (addressing many other problems), he is now working on identifying a smaller scale-scale solution that would resolve #999 in a smaller time window and then later bring in the larger-scale solution.

Last I talked with him, a strategy for this is still being developed as it #999 has been a difficult problem to navigate. Going forward I would suggest following #999 as it will allow you to get more direct updates on the progress.

If following #999 resolves all your needs, please feel free to close this issue.

@vaage vaage added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jul 25, 2018
@shaka-bot shaka-bot removed needs triage status: waiting on response Waiting on a response from the reporter(s) of the issue labels Jul 26, 2018
@shaka-project shaka-project locked and limited conversation to collaborators Sep 24, 2018
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

No branches or pull requests

4 participants