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

Videoroom: switch operation and simulcast (VP8) #2219

Closed
mtbramo opened this issue Jun 11, 2020 · 4 comments
Closed

Videoroom: switch operation and simulcast (VP8) #2219

mtbramo opened this issue Jun 11, 2020 · 4 comments

Comments

@mtbramo
Copy link
Contributor

mtbramo commented Jun 11, 2020

I'm using switch operation to change from one publisher to another (using same codec, only video VP8).
I was surprised that we doesn't have "substream" and "temporal" present in the list of paremeters for that request. I have also checked the code and doesn't see any operation to reinitialize janus_rtp_simulcast_context on that operation (seen reinit of VP9 parameters but no VP8).

After some test, I think that we should have trouble, doesn't return to initial request substream_target if we get "falling back" (janus_rtp_simulcasting_context_process_rtp) during initial feed relay, then perform a switch to new one.

Regards.

@lminiero
Copy link
Member

It's likely we didn't update "switch" when simulcast support was added at the time, or SVC for that matter. No time to look into it right now, sorry. If you can prepare a pull request with a fix, I'll be glad to review.

@mtbramo
Copy link
Contributor Author

mtbramo commented Jun 11, 2020

Thanks, I'll try to find some time to prepare a fix.

@lminiero
Copy link
Member

I ended up working on a patch myself, as it seemed easy enough to add. I didn't test it, so you may want to do that yourself.

@mtbramo
Copy link
Contributor Author

mtbramo commented Jun 11, 2020

I have done it too, so I could compare and check (I could only check VP8 with our platform).

Thanks.

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

No branches or pull requests

2 participants