demo · v131
simulcast tower: three target sizes
An SFU receives three encoded layers per stream and chooses one for each subscriber. The classic problem with scaleResolutionDownBy: a 4:3 source vs a 16:9 source got different absolute sizes for the same scale factor. v131's scaleResolutionDownTo takes maxWidth × maxHeight directly and fits the aspect ratio inside.