Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mod_opus] FS ignores mono in conf and creates stereo channel #2503

Open
admin-toneca opened this issue Jun 25, 2024 · 0 comments
Open

[mod_opus] FS ignores mono in conf and creates stereo channel #2503

admin-toneca opened this issue Jun 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@admin-toneca
Copy link

Describe the bug
Freeswitch ignore param mono in opus.conf.xml for mono call and send stereo=1 in SDP to B-leg.

To Reproduce
Steps to reproduce the behavior:

  1. Set mono in opus.conf.xml
    <param name="mono" value="1"/>
  2. Set inbound-late-negotiation=true and inbound-codec-negotiation=generous
  3. Send SDP in INVITE to A-leg:
    a=rtpmap:96 opus/48000/2
    a=fmtp:96 useinbandfec=1;maxaveragebitrate=64000; stereo=0; sprop-stereo=0
  4. FreeSWITCH send to B-leg:
    a=rtpmap:102 opus/48000/2
    a=fmtp:102 useinbandfec=1; maxaveragebitrate=30000; maxplaybackrate=48000; ptime=20; minptime=10; maxptime=40; stereo=1

Expected behavior
FreeSWITCH should send INVITE to B-leg without stereo=1

Package version or git hash

  • Version 1.10.9, 1.10.11

Trace logs
opus_log.txt

@admin-toneca admin-toneca added the bug Something isn't working label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant