issues
search
webrtc-sdk
/
webrtc
BSD 3-Clause "New" or "Revised" License
225
stars
89
forks
source link
fix: correctly map selected layers to simulcast layers
#134
Open
holzgeist
opened
2 months ago
holzgeist
commented
2 months ago
this partly fixes #133. Quick summary:
on lower resolutions, simulcast only sends 2 (or even 1) layer.
The layers are ordered from low to high resolution (downscale factors 4, 2, 1)
previously, when only sending 2 layers (factors 2, 1), the layer with factor 2 was mapped to the layer with factor 4, i.e. scaled down again)
with this patch, the layers are mapped to the correct factor and not scaled down again
this partly fixes #133. Quick summary: