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

Fix "SimulcastConsumer cannot switch layers if initial tsReferenceSpa… #500

Open
wants to merge 2 commits into
base: v3
Choose a base branch
from

Conversation

LewisWolfgang
Copy link

…tialLayer disappears" (#492)

  • Set tsReferenceSpatialLayer later, only after receiving an RTCP Sender Report.
  • Track and carry forward offset from tsReferenceSpatialLayer.

…tialLayer disappears" (versatica#492)

* Set tsReferenceSpatialLayer later, only after receiving an RTCP Sender Report.
* Track and carry forward offset from tsReferenceSpatialLayer.
…r when currentSpatialLayer and targetSpatialLayer

are the same.
@LewisWolfgang
Copy link
Author

I had an oversight in my first commit: we need to only set tsReferenceSpatialLayer when currentSpatialLayer and targetSpatialLayer are the same, in order to always maintain consistency with the conditions defined in CanSwitchToSpatialLayer().
We are continuing to test on our side, but I hope there are no remaining issues with this fix.

@ibc
Copy link
Member

ibc commented Jan 12, 2021

Actually we had something a bit different in mind. Unfortunately we are not gonna be able to review this PR no our planned approach for a while. Will notify here when possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

SimulcastConsumer cannot switch layers if initial tsReferenceSpatialLayer disappears
2 participants