Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

MediaInfo setBitrate() does not work in Firefox #21

Open
ahmed-hararaa opened this issue Nov 22, 2018 · 1 comment
Open

MediaInfo setBitrate() does not work in Firefox #21

ahmed-hararaa opened this issue Nov 22, 2018 · 1 comment

Comments

@ahmed-hararaa
Copy link

No description provided.

@hthetiot
Copy link

hthetiot commented Mar 20, 2019

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;
            }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants