Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

Reduce complexity due to seeks in append / transmux pipline #5

Open
AxelDelmas opened this issue Feb 23, 2016 · 0 comments
Open

Reduce complexity due to seeks in append / transmux pipline #5

AxelDelmas opened this issue Feb 23, 2016 · 0 comments

Comments

@AxelDelmas
Copy link

Seek adds a lot of complexity in the appending/transmuxing pipeline: NetStream has limitations and will crash quite spectacularly if you append segments out of order.
That's why we need to make sure every segment is properly flushed, at every step of the pipeline, and we added a lot of state variables along the way to handle situations like: "do I need to discard this segment when it comes out of the worker?"
It would be great to improve the SourceBuffer.as class to handle segments out of order, from disjoint time intervals.

We would need to account for #4 : if we don't be careful about this some segments could have their first frames squashed if they were appended during a seek

AxelDelmas pushed a commit that referenced this issue Apr 6, 2016
…ementation.

This part should be removed when we figure out #5
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant