Hi all,

Trying to make a workaround for TIAS bandwidth control problem, I was using 
degradationPreference for the resolution to be fixed. But there were no effect 
- resolution still was changing in big range, from 1280x720 to 352x288.

I was calling this from setLocalDescription success callback :

    setDegradationPreference: function (pc) {
        pc.getSenders().forEach(function (sender) {
            if (sender.track && sender.track.kind == "video") {
                var params = {degradationPreference: "maintain-resolution"};
                sender.setParameters(params);
            }
        });
    },



_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to