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

Simplify backupCodec setting. #396

Merged
merged 5 commits into from
Dec 13, 2023
Merged

Conversation

cloudwebrtc
Copy link
Contributor

No description provided.

@davidzhao davidzhao requested review from lukasIO and davidliu November 9, 2023 06:47
lib/src/options.dart Outdated Show resolved Hide resolved
lib/src/options.dart Outdated Show resolved Hide resolved
@cloudwebrtc cloudwebrtc force-pushed the chore/simplify-backup-codec-setting branch from e5915cf to e1be6af Compare December 12, 2023 05:10
@davidzhao
Copy link
Member

how would someone explicitly disable this?

@cloudwebrtc
Copy link
Contributor Author

okay, updated the BackupVideoCodec structure,
It will be enabled when backupVideoCodec != null and backupVideoCodec.enabled == true. Do we need to set default for backupCodec? Enabled by default unless the user wants to disable

@lukasIO
Copy link
Contributor

lukasIO commented Dec 12, 2023

yeah, by default it should be enabled unless e2ee is enabled (which automatically needs to disable backup codecs)

@cloudwebrtc cloudwebrtc requested a review from lukasIO December 13, 2023 00:41
Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cloudwebrtc cloudwebrtc merged commit 1db1439 into main Dec 13, 2023
8 checks passed
@cloudwebrtc cloudwebrtc deleted the chore/simplify-backup-codec-setting branch December 13, 2023 07:43
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.

3 participants