[asterisk-bugs] [JIRA] (ASTERISK-28263) codec_opus: errors setting max_playback_rate and bitrate to "sdp"
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Mon Jan 28 07:49:47 CST 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246074#comment-246074 ]
Friendly Automation commented on ASTERISK-28263:
------------------------------------------------
Change 10926 merged by George Joseph:
codecs.conf.sample: update codec opus docs
[https://gerrit.asterisk.org/10926|https://gerrit.asterisk.org/10926]
> 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
>
> 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