[asterisk-bugs] [JIRA] (ASTERISK-27748) Random webrtc calls without audio and ALAW<->OPUS transcoding errors

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Apr 3 07:21:50 CDT 2018


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

Joshua Colp updated ASTERISK-27748:
-----------------------------------

    Assignee: Fran Vicente  (was: Unassigned)
      Status: Waiting for Feedback  (was: Triage)

We use Opus daily on a mix of machines without any problems like this. It may be that the audio source feeding the Opus encoder is resulting in larger than normal sample sizes in Opus frames causing problems. Does this occur on multiple systems or just one?

> Random webrtc calls without audio and ALAW<->OPUS transcoding errors
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-27748
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27748
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Codecs/codec_opus, Core/CodecInterface
>    Affects Versions: 15.3.0
>         Environment: CentOS release 6.9 (Final)
> Linux fvicastwrtc.local 2.6.32-696.el6.x86_64 #1 SMP Tue Mar 21 19:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> Running on VMWare ESXi 6.0
>            Reporter: Fran Vicente
>            Assignee: Fran Vicente
>              Labels: opus, pjsip, webrtc
>         Attachments: capture2.zip, full, pjsip_extensions_pogp.conf
>
>
> I have an environment which uses an Asterisk 15.3.0 to bridge calls to WebRTC endpoints configured using OPUS codec. The calls are originated on another Asterisk, connected to this using ALAW codec.
> All the calls run the same dialplan (that simply calls the webrtc client) and the same webrtc endpoints, but randomly the following errors shows on the Asterisk console, and I get no audio on the calls. 
> {code}
> [Mar 19 11:53:25] WARNING[8195][C-00000002] translate.c: Out of buffer space
> [Mar 19 11:53:25] DEBUG[8194][C-00000002] translate.c: Sample size different 160 vs 960
> [Mar 19 11:53:25] DEBUG[8194][C-00000002] translate.c: Sample size different 160 vs 960
> [Mar 19 11:53:25] ERROR[8195][C-00000002] codec_opus.c: Opus: Unable to parse packet for number of samples: corrupted stream
> [Mar 19 11:53:25] WARNING[8195][C-00000002] translate.c: no samples for opustolin
> [Mar 19 11:53:25] ERROR[8195][C-00000002] codec_opus.c: Opus: decoding: corrupted stream
> [Mar 19 11:53:25] WARNING[8195][C-00000002] translate.c: Out of buffer space
> [Mar 19 11:53:25] DEBUG[8194][C-00000002] translate.c: Sample size different 160 vs 960
> [Mar 19 11:53:25] ERROR[8195][C-00000002] codec_opus.c: Opus: decoding: corrupted stream
> {code}
> The dialplan simply does:
> {code}
> exten => _X.,1,Dial(PJSIP/${EXTEN})
> {code}
> See the complete log and configuration attached.



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



More information about the asterisk-bugs mailing list