medooze / media-server-demo-node

Demo application for the Medooze Media Server for Node.js
MIT License
92 stars 48 forks source link

MediaInfo setBitrate() does not work in Firefox #21

Open ahmed-hararaa opened 6 years ago

hthetiot commented 5 years ago

This could be related to Firefox bandwidth limitation SDP header been different.

Via EasyRTC (I'm a maintainer)

            var bwLine;
            if (
                adapter && adapter.browserDetails &&
                     (adapter.browserDetails.browser === "firefox")
            ) {
                bitrate =  (bitrate >>> 0) * 1000;
                bwLine = 'b=TIAS:' + bitrate;
            } else {
                bwLine = 'b=AS:' + bitrate;
            }