Repository navigation
feat(video): add selectable video codecs - #194
ReenigneArcher wants to merge 3 commits into
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #194 +/- ##
==========================================
- Coverage 63.16% 62.83% -0.33%
==========================================
Files 35 33 -2
Lines 5261 5330 +69
Branches 2385 2417 +32
==========================================
+ Hits 3323 3349 +26
- Misses 935 964 +29
- Partials 1003 1017 +14
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 6 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
0927719 to
5320639
Compare
c00fc4c to
5a2991d
Compare
e8326cd to
dff1ed2
Compare
dff1ed2 to
7e1f16d
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #194 +/- ##
==========================================
+ Coverage 73.84% 74.00% +0.15%
==========================================
Files 68 69 +1
Lines 7922 8020 +98
Branches 3464 3497 +33
==========================================
+ Hits 5850 5935 +85
- Misses 1091 1092 +1
- Partials 981 993 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Harness.
|
7e1f16d to
738fc4b
Compare
bd1d409 to
0f96482
Compare
0f96482 to
1364172
Compare
1364172 to
e311e42
Compare
934387a to
9ae114e
Compare
Prefer advertised MPEG-2 by default and retain standard automatic negotiation as a fallback.
9ae114e to
b38b65d
Compare
|




Description
Add H.264, MPEG-2/H.262, and H.263+ codec selection in Settings → Display. Auto (Prefer MPEG-2) tries MPEG-2 when the host advertises it and uses standard negotiation when MPEG-2 is unavailable or its RTSP handshake fails. Standard Auto prefers H.264, then MPEG-2, then H.263+. An explicit codec choice requests that codec.
streaming.video_codecand continue reading legacystreaming.video_decodersettings.masteratdbecb06, including perf(video): hand off decoded frames by reference #349’s frame handoff and Software default at 640×480, 60 FPS, and 3 Mbps.The common-library pin remains
ed6b2da, based on upstream94c65fd. This PR depends on the open moonlight-common-c #175. Host encoder support is tracked in Sunshine #5194.TODO:
Screenshot
Issues Fixed or Closed
Roadmap Issues
Testing
ctest --test-dir cmake-build-release --output-on-failurepassed all 480 tests. The tests cover saved codec migration, explicit and preferred request masks, codec negotiation order, and the codec menu’s interaction with bitrate and presentation settings.git diff --checkpassed.cpp:S1820finding inSettingsState.Live Sunshine negotiation and physical Xbox playback remain unverified. Hosted checks will rerun for the published head.
Type of Change
Checklist
AI Usage
See our AI usage policy.
AI tools generated much of the feature and assisted with implementation review, the shared protocol changes, settings migration, rebasing, documentation, and tests.