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

V S (JIRA) noreply at issues.asterisk.org
Sun Aug 22 10:14:33 CDT 2021


V S created ASTERISK-29606:
------------------------------

             Summary: 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