Giter VIP home page Giter VIP logo

Comments (8)

atoppi avatar atoppi commented on July 18, 2024

Is audio level RTP extension being negotiated?

from janus-gateway.

lminiero avatar lminiero commented on July 18, 2024

Not only that. The room must have been created with support for the extension, and the related properties must be tweaked to use good values for detecting users talking. By default this is disabled, and the default properties are probably not sensitive enough for most use cases (meaning no speech could ever be detected). In both cases, this is not an issue (so out of scope here) but a matter of properly configuring rooms and participants.

from janus-gateway.

mail2mhossain avatar mail2mhossain commented on July 18, 2024

The room is configured correctly, and other devices, such as the Android app, are receiving Talking events. I am using the desktop version of our WebRTC client with the SIPSorcery WebRTC library.

from janus-gateway.

mail2mhossain avatar mail2mhossain commented on July 18, 2024

Is audio level RTP extension being negotiated?

Would you please explain a bit.

from janus-gateway.

lminiero avatar lminiero commented on July 18, 2024

The room is configured correctly, and other devices, such as the Android app, are receiving Talking events. I am using the desktop version of our WebRTC client with the SIPSorcery WebRTC library.

Janus has no idea if the client is a mobile endpoint or something else: if the feature is available, it will be used. As Alessandro pointed out, though, this will only work if the audio-level extension is negotiated by the WebRTC endpoint, as we use that to detect voice activity. You should check iif SIP Sorcery does negotiate them in the SDP: if not, you have your answer.

from janus-gateway.

lminiero avatar lminiero commented on July 18, 2024

@mail2mhossain have you checked if SIP Sorcery negotiates the audio-levels RTP extension, and if the extension is indeed present in RTP packets?

from janus-gateway.

mail2mhossain avatar mail2mhossain commented on July 18, 2024

In Android SDP, there are audio-level RTP mappings:

a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level

However, this mapping is missing in the desktop SDP.

I have manually added it to the desktop SDP, but I'm still not receiving the talking events.

from janus-gateway.

lminiero avatar lminiero commented on July 18, 2024

That's because, as I said in my previous messages, the extension must be negotiated but also present in RTP packets. Closing as not an issue.

from janus-gateway.

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.