[asterisk-bugs] [JIRA] (ASTERISK-25583) [patch] format-attribute module: RFC 7587 (Opus Codec)

Alexander Traud (JIRA) noreply at issues.asterisk.org
Sat Nov 21 05:45:33 CST 2015


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

Alexander Traud updated ASTERISK-25583:
---------------------------------------

    Attachment: res_format_attr_opus.c

> [patch] format-attribute module: RFC 7587 (Opus Codec)
> ------------------------------------------------------
>
>                 Key: ASTERISK-25583
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25583
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_format_attr_opus
>    Affects Versions: 13.6.0
>            Reporter: Alexander Traud
>            Severity: Minor
>         Attachments: res_format_attr_opus.c, rfc7587.patch
>
>
> [RFC 7587|https://tools.ietf.org/html/rfc7587#section-6] for the Opus Codec was finalized in June 2015. Beside that, the current format-attribute module has the following issues:
> * minptime should not be forwarded anymore (removed from RFC).
> * stereo is not parsed, if first parameter in fmtp.
> * {{get_joint}} should join all parameters.
> This allows to forward the bit-rate. For an internal transcoding module, this allows whether to use OPUS_SET_INBAND_FEC, OPUS_SET_DTX, and OPUS_APPLICATION_VOIP (!stereo). possible since ASTERISK-25545
> * {{generate_sdp_fmtp}} does not work when used internally with a transcoding module: "if (!attr)" returns NULL instead of default. possible since ASTERISK-25160
> * {{generate_sdp_fmtp}} should return only non-default parameters.
> This saves up to 149 bytes. For example, when many codecs are allowed in SDP, specifying all parameters might overrun the MTU bearer of 1300 bytes of SIP over UDP.
> * {{parse_sdp_fmtp}} should differentiate between the defaults of the RFC and best-practice for a B2BUA (= enable FEC). Therefore, the defaults of the RFC should be set in parse_sdp_fmtp explicitly. possible since ASTERISK-25537



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



More information about the asterisk-bugs mailing list