Bluetooth Headphones switches from (A2DP sink) to (HSP/HFP) when starting VoIP applicationBluetooth HSP/HFP not working but A2DP isHow to keep bluetooth headphones from turning off?Default Bluetooth audio mode set to HSP/HFP instead of A2DP 17.04hsp/hfp doesn't work on Ubuntu 18.04.1 LTS with bluetooth headphones

How to delete a game file?

Can a verb be modified too many times?

Many if's with simple comparison. Feels very redundant

Patent Agreement in Order to Graduate

Locked folder with obscure app from Sourceforge, now cannot unlock folder

Why is oil used as as the lubricant in power generators, while water is the most available, cheapest and accessible lubricant?

What is the correct way for pilots to say the time?

SSD not reaching advertised speed

What's the best way for guitar and piano to play together in a jazz quartet?

Was Haile Selassie the world's only involuntary messiah?

UK visitors visa needed fast for badly injured family member

Car imitates dead battery but comes back to life ~30 minutes later and lets me start it

My PhD defense is next week and I am having negative thoughts about my work and knowledge. Any advice on how to tackle this?

How can I convince my child to write?

Magento 2 : Add custom field in customer registration form without customer attribute create

QGIS: create lines to connect points which are within a distance to each other

How would a medieval village protect themselves against dinosaurs?

Should I present forged documents in a Penetration Test/Red team engagement?

Are there any dishes that can only be cooked with a microwave?

What other tricks were there to get more data onto floppy disks?

If a photon truly goes through both slits (at the same time), then why can't we detect it at both slits (at the same time)?

How cryogenic oxygen was heated up for CM cabin repressurization?

How would you idiomatically translate the French saying "Il n’y a pas d'amour, il n’y a que des preuves d’amour" to English?

"Startup" working hours - is it normal to be asked to work 11 hours/ day?



Bluetooth Headphones switches from (A2DP sink) to (HSP/HFP) when starting VoIP application


Bluetooth HSP/HFP not working but A2DP isHow to keep bluetooth headphones from turning off?Default Bluetooth audio mode set to HSP/HFP instead of A2DP 17.04hsp/hfp doesn't work on Ubuntu 18.04.1 LTS with bluetooth headphones






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1


















since a few weeks I have some (more) trouble with my bluetooth headphones Sony WH-H900-N in Ubuntu 18.04 (but also in Linux Mint). It is a headphone with noice cancellation feature. So it does have a microphone for this purpose, but I doubt that it is good enough to use as input for VoIP applications. Instead I would like to use a webcam as microphone input.



So here are my problems:



-I am able to connect the headphones more or less properly, but I have to manually pair it in every session and manually set it to A2DP profile. Using this annoying workaround it works as an high quality audio sink.



-Whenever I connect to any VoIP application (Telegram call, connect to TeamSpeak Server, Skype) for some reason it automatically switches from A2DP audio sink profile to Headset Head Unit (HSP/HFP) Profile. The result is, that I can not hear anything anymore. Neither system sounds, nor the audio from the voice call. People hear me talking though and it seems like the correct microphone is used as input (the webcam, NOT the microphone from the headphones).



Strangely I had no problems with calls until some weeks ago. And this is true for two different systems (Ubuntu, Linux Mint). So I guess there was some recent common update that causes the problems.



Does anybody know how I can fix this issue? To me it seems like permanently setting the headphones as A2DP audio sink and permanently setting the webcam as default microphone input could solve this. But I am not sure how this noice cancellation thing interacts with all this. Plus I don't know how to set things up permanently and I read terrible stories of people trying to manually mess with pulseaudio :)



Any help is appreciated!










share|improve this question

























  • I have a similar problem under Kubuntu 18.04 with the difference that I always get HSP/HFP even if there is no VoIP application active. I have to manually switch to A2DP. Have you found a solution?

    – sola
    Dec 18 '18 at 9:00

















1


















since a few weeks I have some (more) trouble with my bluetooth headphones Sony WH-H900-N in Ubuntu 18.04 (but also in Linux Mint). It is a headphone with noice cancellation feature. So it does have a microphone for this purpose, but I doubt that it is good enough to use as input for VoIP applications. Instead I would like to use a webcam as microphone input.



So here are my problems:



-I am able to connect the headphones more or less properly, but I have to manually pair it in every session and manually set it to A2DP profile. Using this annoying workaround it works as an high quality audio sink.



-Whenever I connect to any VoIP application (Telegram call, connect to TeamSpeak Server, Skype) for some reason it automatically switches from A2DP audio sink profile to Headset Head Unit (HSP/HFP) Profile. The result is, that I can not hear anything anymore. Neither system sounds, nor the audio from the voice call. People hear me talking though and it seems like the correct microphone is used as input (the webcam, NOT the microphone from the headphones).



Strangely I had no problems with calls until some weeks ago. And this is true for two different systems (Ubuntu, Linux Mint). So I guess there was some recent common update that causes the problems.



Does anybody know how I can fix this issue? To me it seems like permanently setting the headphones as A2DP audio sink and permanently setting the webcam as default microphone input could solve this. But I am not sure how this noice cancellation thing interacts with all this. Plus I don't know how to set things up permanently and I read terrible stories of people trying to manually mess with pulseaudio :)



Any help is appreciated!










share|improve this question

























  • I have a similar problem under Kubuntu 18.04 with the difference that I always get HSP/HFP even if there is no VoIP application active. I have to manually switch to A2DP. Have you found a solution?

    – sola
    Dec 18 '18 at 9:00













1













1









1


1






since a few weeks I have some (more) trouble with my bluetooth headphones Sony WH-H900-N in Ubuntu 18.04 (but also in Linux Mint). It is a headphone with noice cancellation feature. So it does have a microphone for this purpose, but I doubt that it is good enough to use as input for VoIP applications. Instead I would like to use a webcam as microphone input.



So here are my problems:



-I am able to connect the headphones more or less properly, but I have to manually pair it in every session and manually set it to A2DP profile. Using this annoying workaround it works as an high quality audio sink.



-Whenever I connect to any VoIP application (Telegram call, connect to TeamSpeak Server, Skype) for some reason it automatically switches from A2DP audio sink profile to Headset Head Unit (HSP/HFP) Profile. The result is, that I can not hear anything anymore. Neither system sounds, nor the audio from the voice call. People hear me talking though and it seems like the correct microphone is used as input (the webcam, NOT the microphone from the headphones).



Strangely I had no problems with calls until some weeks ago. And this is true for two different systems (Ubuntu, Linux Mint). So I guess there was some recent common update that causes the problems.



Does anybody know how I can fix this issue? To me it seems like permanently setting the headphones as A2DP audio sink and permanently setting the webcam as default microphone input could solve this. But I am not sure how this noice cancellation thing interacts with all this. Plus I don't know how to set things up permanently and I read terrible stories of people trying to manually mess with pulseaudio :)



Any help is appreciated!










share|improve this question














since a few weeks I have some (more) trouble with my bluetooth headphones Sony WH-H900-N in Ubuntu 18.04 (but also in Linux Mint). It is a headphone with noice cancellation feature. So it does have a microphone for this purpose, but I doubt that it is good enough to use as input for VoIP applications. Instead I would like to use a webcam as microphone input.



So here are my problems:



-I am able to connect the headphones more or less properly, but I have to manually pair it in every session and manually set it to A2DP profile. Using this annoying workaround it works as an high quality audio sink.



-Whenever I connect to any VoIP application (Telegram call, connect to TeamSpeak Server, Skype) for some reason it automatically switches from A2DP audio sink profile to Headset Head Unit (HSP/HFP) Profile. The result is, that I can not hear anything anymore. Neither system sounds, nor the audio from the voice call. People hear me talking though and it seems like the correct microphone is used as input (the webcam, NOT the microphone from the headphones).



Strangely I had no problems with calls until some weeks ago. And this is true for two different systems (Ubuntu, Linux Mint). So I guess there was some recent common update that causes the problems.



Does anybody know how I can fix this issue? To me it seems like permanently setting the headphones as A2DP audio sink and permanently setting the webcam as default microphone input could solve this. But I am not sure how this noice cancellation thing interacts with all this. Plus I don't know how to set things up permanently and I read terrible stories of people trying to manually mess with pulseaudio :)



Any help is appreciated!







bluetooth voip a2dp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 20 '18 at 9:15









UbuntuNoobUbuntuNoob

611 silver badge6 bronze badges




611 silver badge6 bronze badges















  • I have a similar problem under Kubuntu 18.04 with the difference that I always get HSP/HFP even if there is no VoIP application active. I have to manually switch to A2DP. Have you found a solution?

    – sola
    Dec 18 '18 at 9:00

















  • I have a similar problem under Kubuntu 18.04 with the difference that I always get HSP/HFP even if there is no VoIP application active. I have to manually switch to A2DP. Have you found a solution?

    – sola
    Dec 18 '18 at 9:00
















I have a similar problem under Kubuntu 18.04 with the difference that I always get HSP/HFP even if there is no VoIP application active. I have to manually switch to A2DP. Have you found a solution?

– sola
Dec 18 '18 at 9:00





I have a similar problem under Kubuntu 18.04 with the difference that I always get HSP/HFP even if there is no VoIP application active. I have to manually switch to A2DP. Have you found a solution?

– sola
Dec 18 '18 at 9:00










1 Answer
1






active

oldest

votes


















1



















Been having this problem for months. Finally got around to googling for a solution and I found this answer on the arch linux forums (from user v1del):




From pulseaudio 10.0 release notes:



Pulse release notes wrote: Bluetooth headsets typically support both
the A2DP profile, which is suitable for music, and the HSP profile,
which is suitable for telephony use cases. module-bluetooth-policy
will now automatically switch the profile of a Bluetooth headset from
A2DP to HSP/HFP when an application creates a recording stream with
property media.role=phone (telephony applications should set that
property for their streams). When the stream goes away, the profile
gets restored back to A2DP. This way the user doesn't have to manually
switch the profiles when starting and stopping a call. This behaviour
can be disabled by giving argument auto_switch=false to
module-bluetooth-policy.




Basically you need to change this line in the file /etc/pulse/default.pa:



### Automatically load driver modules for Bluetooth hardware
ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif


To:



### Automatically load driver modules for Bluetooth hardware
ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy auto_switch=false
.endif





share|improve this answer





























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1085480%2fbluetooth-headphones-switches-from-a2dp-sink-to-hsp-hfp-when-starting-voip-a%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown


























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1



















    Been having this problem for months. Finally got around to googling for a solution and I found this answer on the arch linux forums (from user v1del):




    From pulseaudio 10.0 release notes:



    Pulse release notes wrote: Bluetooth headsets typically support both
    the A2DP profile, which is suitable for music, and the HSP profile,
    which is suitable for telephony use cases. module-bluetooth-policy
    will now automatically switch the profile of a Bluetooth headset from
    A2DP to HSP/HFP when an application creates a recording stream with
    property media.role=phone (telephony applications should set that
    property for their streams). When the stream goes away, the profile
    gets restored back to A2DP. This way the user doesn't have to manually
    switch the profiles when starting and stopping a call. This behaviour
    can be disabled by giving argument auto_switch=false to
    module-bluetooth-policy.




    Basically you need to change this line in the file /etc/pulse/default.pa:



    ### Automatically load driver modules for Bluetooth hardware
    ifexists module-bluetooth-policy.so
    load-module module-bluetooth-policy
    .endif


    To:



    ### Automatically load driver modules for Bluetooth hardware
    ifexists module-bluetooth-policy.so
    load-module module-bluetooth-policy auto_switch=false
    .endif





    share|improve this answer
































      1



















      Been having this problem for months. Finally got around to googling for a solution and I found this answer on the arch linux forums (from user v1del):




      From pulseaudio 10.0 release notes:



      Pulse release notes wrote: Bluetooth headsets typically support both
      the A2DP profile, which is suitable for music, and the HSP profile,
      which is suitable for telephony use cases. module-bluetooth-policy
      will now automatically switch the profile of a Bluetooth headset from
      A2DP to HSP/HFP when an application creates a recording stream with
      property media.role=phone (telephony applications should set that
      property for their streams). When the stream goes away, the profile
      gets restored back to A2DP. This way the user doesn't have to manually
      switch the profiles when starting and stopping a call. This behaviour
      can be disabled by giving argument auto_switch=false to
      module-bluetooth-policy.




      Basically you need to change this line in the file /etc/pulse/default.pa:



      ### Automatically load driver modules for Bluetooth hardware
      ifexists module-bluetooth-policy.so
      load-module module-bluetooth-policy
      .endif


      To:



      ### Automatically load driver modules for Bluetooth hardware
      ifexists module-bluetooth-policy.so
      load-module module-bluetooth-policy auto_switch=false
      .endif





      share|improve this answer






























        1















        1











        1









        Been having this problem for months. Finally got around to googling for a solution and I found this answer on the arch linux forums (from user v1del):




        From pulseaudio 10.0 release notes:



        Pulse release notes wrote: Bluetooth headsets typically support both
        the A2DP profile, which is suitable for music, and the HSP profile,
        which is suitable for telephony use cases. module-bluetooth-policy
        will now automatically switch the profile of a Bluetooth headset from
        A2DP to HSP/HFP when an application creates a recording stream with
        property media.role=phone (telephony applications should set that
        property for their streams). When the stream goes away, the profile
        gets restored back to A2DP. This way the user doesn't have to manually
        switch the profiles when starting and stopping a call. This behaviour
        can be disabled by giving argument auto_switch=false to
        module-bluetooth-policy.




        Basically you need to change this line in the file /etc/pulse/default.pa:



        ### Automatically load driver modules for Bluetooth hardware
        ifexists module-bluetooth-policy.so
        load-module module-bluetooth-policy
        .endif


        To:



        ### Automatically load driver modules for Bluetooth hardware
        ifexists module-bluetooth-policy.so
        load-module module-bluetooth-policy auto_switch=false
        .endif





        share|improve this answer
















        Been having this problem for months. Finally got around to googling for a solution and I found this answer on the arch linux forums (from user v1del):




        From pulseaudio 10.0 release notes:



        Pulse release notes wrote: Bluetooth headsets typically support both
        the A2DP profile, which is suitable for music, and the HSP profile,
        which is suitable for telephony use cases. module-bluetooth-policy
        will now automatically switch the profile of a Bluetooth headset from
        A2DP to HSP/HFP when an application creates a recording stream with
        property media.role=phone (telephony applications should set that
        property for their streams). When the stream goes away, the profile
        gets restored back to A2DP. This way the user doesn't have to manually
        switch the profiles when starting and stopping a call. This behaviour
        can be disabled by giving argument auto_switch=false to
        module-bluetooth-policy.




        Basically you need to change this line in the file /etc/pulse/default.pa:



        ### Automatically load driver modules for Bluetooth hardware
        ifexists module-bluetooth-policy.so
        load-module module-bluetooth-policy
        .endif


        To:



        ### Automatically load driver modules for Bluetooth hardware
        ifexists module-bluetooth-policy.so
        load-module module-bluetooth-policy auto_switch=false
        .endif






        share|improve this answer















        share|improve this answer




        share|improve this answer








        edited Sep 11 at 20:56









        cdupont

        1433 bronze badges




        1433 bronze badges










        answered Feb 20 at 20:22









        user1412135user1412135

        1111 bronze badge




        1111 bronze badge































            draft saved

            draft discarded















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1085480%2fbluetooth-headphones-switches-from-a2dp-sink-to-hsp-hfp-when-starting-voip-a%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown









            Popular posts from this blog

            Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

            How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

            Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü