[asterisk-bugs] [JIRA] (ASTERISK-28263) codec_opus: errors setting max_playback_rate and bitrate to "sdp"

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Aug 28 11:53:53 CDT 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-28263:
-------------------------------------

    Target Release Version/s: 17.0.0

> codec_opus: errors setting max_playback_rate and bitrate to "sdp"
> -----------------------------------------------------------------
>
>                 Key: ASTERISK-28263
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28263
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Codecs/codec_opus
>    Affects Versions: 16.1.1
>         Environment: codec_opus: Remote package version 16.0_1.3.0 (263680) from http://downloads.digium.com/pub/telephony/codec_opus/asterisk-16.0/x86-64/codec_opus-16.0_1.3.0-x86_64.tar.gz
> Automatically installed during "make install"
>            Reporter: Gianluca Merlo
>            Assignee: Kevin Harwell
>            Severity: Minor
>      Target Release: 13.25.0, 16.2.0, 17.0.0
>
>
> Hello,
> configuration samples ({{configs/samples/codecs.conf.sample}}) provide the following explanation for two {{codec_opus}} options:
> {noformat}
> ;max_playback_rate= ; Override the maximum playback rate in the offer's SDP.
>                     ; Any value between 8000 and 48000 (inclusive) is valid,
>                     ; however typically it should match one of the usual opus
>                     ; bandwidths. A value of "sdp" is also allowed. When set
>                     ; to "sdp" then the value from the offer's SDP is used.
>                     ; (default: "sdp")
> ;bitrate= ; Override the maximum average bitrate in the offer's SDP. Any value
>           ; between 500 and 512000 is valid. The following values are also
>           ; allowed: auto, max, sdp. When set to "sdp" then the value from
>           ; the offer's sdp is used. (default: "sdp")
> {noformat}
> but explicitly setting
> {noformat}
> max_playback_rate=sdp
> bitrate=sdp
> {noformat}
> in a valid {{type=opus}} section results in an error like
> {noformat}
> config_options.c:798 aco_process_var: Error parsing bitrate=sdp [...]
> {noformat}
> when left to the default values, set to numeric values or to other documented values, there are no errors.
> Maybe the samples are outdated or {{codec_opus}} needs to be fixed to correctly parse these options?
> Thank you in advance for your help.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list