Fine grained control of simulcast layers

The mediasoup-client setMaxSpatialLayer works very nice, but I was wondering if it would be possible to enhance this functionality to give more fine grained control of which layers to enable/disable? It would be nice to disable a layer in between the top and bottom. That way you would be able to configure more layers, but change them more dynamically. Is this possible?

const params = producer.rtpSender.getParameters();

// mangle params.

producer.rtpSender.setParameters(params);
1 Like

Great, thanks!