<div dir="ltr"><p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14)">Hi PulseAudio team,</p><p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14)"><br></p><p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14)">Hope you are having a good day.</p><p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14)"><br></p>
<p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14)">I’m trying to connect my Raspberry Pi 4 and mobile phone via Bluetooth to access both media audio and phone call audio (A2DP and HFP), with the goal of streaming this audio using GStreamer.</p>
<p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14);min-height:17px"><br></p>
<p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14)">I successfully connected my Raspberry Pi to my phone and managed to get both HFP and A2DP profiles. Running <span style="font-stretch:normal;line-height:normal;font-family:".AppleSystemUIFontMonospaced";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">pacmd list-cards</span> gave the following output:</p><p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14)"><br></p><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">    index: 5<br>        name: <bluez_card.2C_BE_EB_8B_F2_D7><br>        driver: <module-bluez5-device.c><br>        owner module: 39<br>        properties:<br>                device.description = "melphone"<br>                device.string = "2C:BE:EB:8B:F2:D7"<br>                device.api = "bluez"<br>                device.class = "sound"<br>                device.bus = "bluetooth"<br>                device.form_factor = "phone"<br>                bluez.path = "/org/bluez/hci1/dev_2C_BE_EB_8B_F2_D7"<br>                bluez.class = "0x5a420c"<br>                bluez.alias = "melphone"<br>                device.icon_name = "audio-card-bluetooth"<br>                bluetooth.codec = "CVSD"<br>        profiles:<br>                a2dp_source: High Fidelity Capture (A2DP Source) (priority 20, available: unknown)<br>                headset_audio_gateway: Headset Audio Gateway (HSP) (priority 10, available: unknown)<br>                off: Off (priority 0, available: yes)<br>        active profile: <headset_audio_gateway><br>        sinks:<br>                bluez_sink.2C_BE_EB_8B_F2_D7.headset_audio_gateway/#5: melphone<br>        sources:<br>                bluez_sink.2C_BE_EB_8B_F2_D7.headset_audio_gateway.monitor/#14: Monitor of melphone<br>                bluez_source.2C_BE_EB_8B_F2_D7.headset_audio_gateway/#15: melphone<br>        ports:<br>                phone-output: Phone (priority 0, latency offset 0 usec, available: unknown)<br>                phone-input: Phone (priority 0, latency offset 0 usec, available: unknown)</blockquote><div><br></div><div><span style="color:rgb(14,14,14);font-family:".SF NS";font-size:14px">To test audio streaming, I used the following GStreamer command:</span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">gst-launch-1.0 -v pulsesrc device=bluez_source.2C_BE_EB_8B_F2_D7.headset_audio_gateway ! audioconvert ! audioresample ! wavenc ! filesink location=output.wav </blockquote><div><br></div><p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14)">However, I encountered an issue: the media doesn’t play. The Video is not paused, but playback doesn’t progress beyond 0:00.</p>
<p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14);min-height:17px"><br></p>
<p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14)">Any guidance on resolving this would be greatly appreciated!</p><p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14)">I am happy to provide any more info required.</p>
<p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:".SF NS";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(14,14,14);min-height:17px"><br></p>
<div><span style="color:rgb(14,14,14);font-family:".SF NS";font-size:14px">Best regards,</span> </div><div>Dhruv Menon</div></div>