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

Update wrapper for deprecated methods in libdatachannel #247

Merged
merged 1 commit into from
May 6, 2024

Conversation

paullouisageneau
Copy link
Contributor

This PR updates the wrapper for deprecated methods in libdatachannel, in particular the new datachannel reliability should be called instead of the legacy one for maxPacketLifeTime and maxRetransmits. It also fixes a few integer conversions on the way (Napi::Number isn't guaranteed to have conversion operators for integers other that int32_t, uint32_t, and int64_t).

This doesn't break compatibility since I haven't removed any exposed method.

@murat-dogan murat-dogan merged commit 368a740 into murat-dogan:master May 6, 2024
1 check passed
@murat-dogan
Copy link
Owner

Thanks.

@paullouisageneau paullouisageneau deleted the update-deprecated branch May 7, 2024 08:34
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

Successfully merging this pull request may close these issues.

2 participants