[asterisk-bugs] [JIRA] (ASTERISK-26520) codec_opus: Generated fmtp line has no content

Alexander Traud (JIRA) noreply at issues.asterisk.org
Wed Nov 2 15:33:10 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=233351#comment-233351 ] 

Alexander Traud commented on ASTERISK-26520:
--------------------------------------------

Have a look at {{opus_generate_sdp_fmtp}}, the variable {{size}}, and the condition {{size == ast_str_strlen(*str)}}.
* What is the value of {{size}}?
* Is {{ast_str_reset}} executed in your case?

I doubt this is ever executed, because the initial {{str}} is never empty but comes with previous SDP data. In the old version, the logic worked. Anyway, please, double-check the values of {{CODEC_OPUS_DEFAULT_FEC}} and {{attr->fec}} as well. I wonder why that case is not matched in your scenario.

> codec_opus: Generated fmtp line has no content
> ----------------------------------------------
>
>                 Key: ASTERISK-26520
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26520
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Codecs/codec_opus
>    Affects Versions: 13.12.0
>            Reporter: scgm11
>            Assignee: Unassigned
>         Attachments: fullverboselog.txt, LogSIPDEBUG.txt, newSDPs.txt, OSSDP.txt
>
>
> As reported at https://github.com/eface2face/rtcninja.js/issues/35 we somehow generated an fmtp line with no attributes. We should not do that.



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



More information about the asterisk-bugs mailing list