We have a implementation of mediasoup.
When the video window size gets smaller, or on mobile devices, I want to set Spatial and Temporal layers to be 0 0
However, when I set it using following code, in the video stats, it still is 1 2
await consumer.setPreferredLayers({ spatialLayer: 0, temporalLayer:0 });
What am I missing here? Do I need to pause video stream before setting preferred layers ?
I am new to mediasoup and if my question is very basic, please forgive me.
I think I am looking at correct place.
This is implementation of Multiparty-meet ( edumeet ) which in advanced mode, has consumer stats overlayed to each peer video.