[asterisk-bugs] [JIRA] (ASTERISK-29606) garbled or absent bluetooth audio due to hardcoded frame size

Benjamin Keith Ford (JIRA) noreply at issues.asterisk.org
Mon Aug 23 08:52:33 CDT 2021


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

Benjamin Keith Ford updated ASTERISK-29606:
-------------------------------------------

    Status: Open  (was: Triage)

> garbled or absent bluetooth audio due to hardcoded frame size
> -------------------------------------------------------------
>
>                 Key: ASTERISK-29606
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29606
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Addons/chan_mobile
>    Affects Versions: GIT
>         Environment: raspberry pi (as tested), most modern Bluetooth implementations
>            Reporter: V S
>            Severity: Major
>
> Asterisk chan_mobile uses a hard-coded Bluetooth (e)SCO packet size of 48 bytes, instead of using the packet size negotiated at the eSCO connect (ex 60 bytes). As a result, depending on Bluetooth adapter, audio may be one-way, missing at all or garbled.
> Quick fix: Change #define DEVICE_FRAME_SIZE in chan_mobile.c to match specific setup and recompile
> https://github.com/asterisk/asterisk/blob/master/addons/chan_mobile.c#L81
> Proper fix: Implement packet size detection negotiated at the eSCO connect



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



More information about the asterisk-bugs mailing list