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 crash with invalid arrival_time in libwebrtc bwe #985

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

ggarber
Copy link
Contributor

@ggarber ggarber commented Jan 23, 2023

Tentative fix for #357

According to the assert complete_time_ms is <0 and it cannot be -1 because there is a check before for that. So the value is probably int64.min().

This fix try to avoid ever setting complete_time_ms to any negative value what should prevent the crash from happening.

@ibc ibc merged commit ce3d567 into versatica:v3 Jan 24, 2023
@nazar-pc
Copy link
Collaborator

What concerns me is the root cause of this. It does prevent crash, but why was it set to invalid value in the first place? Maybe #357 should not be closed yet?

@ibc
Copy link
Member

ibc commented Jan 24, 2023

Since there is an ongoing effort to update libwebrtc, IMHO it's better to forget about this bug. If it happens once libwebrtc is updated in mediasoup, we'll have to investigate it from scratch anyway.

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.

4 participants