<div dir="ltr"><div><div><div><div><div><div>Hi all,<br><br></div>I'm developing a phone app in OpenWrt with pulseaudio.<br><br></div>I couldn't get stream from bluetooth headset using asynchronous API.<br></div>I got PA_CONTEXT_READY with state callback, so I call pa_stream_connect_record/pa_stream_connect_playback with bluetooth<br></div>headset sink/source.<br></div>I couldn't error with this function, but I got PA_STREAM_FAILED in the each of <br></div><div>the stream callbacks.<br><br></div>I got the voice data with pamon command with bluetoooth headset. <br>So I think I can connect bluetooth headset correctly.<br><div><div><div><div><div><div><div><div><div><div><br></div><div>Is there any clue to get cause of error PA_STREAM_FAILED?<br></div><div><br></div><div>I attached the pulseaudio log when I get to execute my program.</div><div>It seems that source/sink for bluetooth headset is suspending.<br></div><div><br></div><div>Best Regards,</div><div>--<br><div class="gmail_signature">Shinnosuke Suzuki<br>E-mail : <a href="mailto:suzukisn@gmail.com" target="_blank">suzukisn@gmail.com</a></div>
</div></div></div></div></div></div></div></div></div></div></div>