[asterisk-bugs] [JIRA] (ASTERISK-26085) app_mp3: results in timeout for streams

Michael Kuron (JIRA) noreply at issues.asterisk.org
Sat Aug 27 04:26:56 CDT 2016


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

Michael Kuron commented on ASTERISK-26085:
------------------------------------------

I have also had this problem for years and never submitted my patch for it. I have uploaded it now: https://gerrit.asterisk.org/3738 . I decided to keep the buffering, but make the buffer size really small so that it takes milliseconds to fill up instead of dozens of seconds.

> app_mp3: results in timeout for streams
> ---------------------------------------
>
>                 Key: ASTERISK-26085
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26085
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_mp3
>    Affects Versions: 11.21.2
>         Environment: Debian Linux 7
>            Reporter: Jens Bürger
>            Severity: Minor
>
> When trying to use MP3Player for playing streams, it constantly results in this error message:
> app_mp3.c:133 timed_read: Poll timed out/errored out with 0
> I tried with ~10 mp3-Streams.
> This error has been tackled already some years ago in this issue:
> ASTERISK-2384
> According to the source, mpg123 is called with "-b 1024". Removing this option solves the issue, audio is played instantly. So I guess there might be an imbalance between the buffer, stream data rate and the timeout.



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



More information about the asterisk-bugs mailing list