Screen share: a 1920x1046 window is sent as 1920x1044; an H.265 share was published as VP8 #842

Open
opened 2026-11-17 23:45:21 +00:00 by charles · 0 comments
Owner

Left over from #764 (PR #838):

  1. A 1920×1046 share is received as 1920×1044. NVENC is configured with 1044 rows and OpenH264's stream is 1044 too, so two rows are cropped in libwebrtc before the encoder (probably alignment to a multiple of 4), not by the decoder. Find where and whether padding instead of cropping is possible.
  2. In the measurement session a share asked for as H.265 was published as VP8 (libvpx), so NVENC H.265 never ran. Cause not investigated (codec negotiation with the test server, or the codec preference not applied).
  3. Not verified in #838: Chromium/Electron and Android receivers of a level 4.2/5.1 Constrained Baseline stream under a 3.1 offer; the hardware-fallback notice in the running app; VAAPI.
Left over from #764 (PR #838): 1. A 1920×1046 share is received as 1920×1044. NVENC is configured with 1044 rows and OpenH264's stream is 1044 too, so two rows are cropped in libwebrtc before the encoder (probably alignment to a multiple of 4), not by the decoder. Find where and whether padding instead of cropping is possible. 2. In the measurement session a share asked for as H.265 was published as VP8 (libvpx), so NVENC H.265 never ran. Cause not investigated (codec negotiation with the test server, or the codec preference not applied). 3. Not verified in #838: Chromium/Electron and Android receivers of a level 4.2/5.1 Constrained Baseline stream under a 3.1 offer; the hardware-fallback notice in the running app; VAAPI.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#842
No description provided.