GithubHelp home page GithubHelp logo

Comments (4)

ncsu1 avatar ncsu1 commented on June 8, 2024 1

More context: Just tried it, and I do not see a change in behavior in 2.9.0. Same issue.

from ant-media-server.

ncsu1 avatar ncsu1 commented on June 8, 2024

Possibly also relevant:

All WebRTC traffic routes through a TURN server

Audio bitrate is raised up from the default upon publish:
`var audioBitrate = 256000;

function setAudioBitrate() {
    var state = webRTCAdaptor.signallingState(streamId);
        if (state != null && state != "closed") {
            var iceState = webRTCAdaptor.iceConnectionState(streamId);
            if (iceState != null && iceState != "failed" && iceState != "disconnected") {
                var params = webRTCAdaptor.remotePeerConnection[streamId].getSenders()[0].getParameters();
                params.encodings[0].maxBitrate=audioBitrate;
                webRTCAdaptor.remotePeerConnection[streamId].getSenders()[0].setParameters(params);
            }
        }
    console.warn("Changing outbound audio bitrate to "+(audioBitrate/1000)+"kbps");
}

`

Everything else is pretty standard from the default configuration.

from ant-media-server.

lastpeony avatar lastpeony commented on June 8, 2024

Looks like ı Fixed this. Will test more. Pr soon

from ant-media-server.

lastpeony avatar lastpeony commented on June 8, 2024

https://gitlab.com/Ant-Media/Ant-Media-Enterprise/-/merge_requests/682

from ant-media-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.