Commit b6cc65d
authored
Use maintain-resolution as the default video degradation preference (#1106)
## Summary
- Align Flutter default local-video degradation behavior with the Swift
SDK.
- Default unset `VideoPublishOptions.degradationPreference` to
`maintainResolution` for camera and screen-share publishing.
- Keep explicit degradation preferences overrideable by apps.
## Context
Related to #1097, which explores preserving video quality through a
live-streaming option. This PR takes the smaller SDK-default approach
instead: use maintain-resolution by default, matching Swift, without
adding a separate app-facing toggle for this behavior.
## Testing
- `dart analyze`
- `flutter test test/core/room_e2e_test.dart`1 parent 707792b commit b6cc65d
2 files changed
Lines changed: 3 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
| 389 | + | |
393 | 390 | | |
394 | 391 | | |
395 | 392 | | |
| |||
487 | 484 | | |
488 | 485 | | |
489 | 486 | | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
| 487 | + | |
494 | 488 | | |
495 | 489 | | |
496 | 490 | | |
| |||
593 | 587 | | |
594 | 588 | | |
595 | 589 | | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | 590 | | |
608 | 591 | | |
609 | 592 | | |
| |||
0 commit comments