11-07-2021, 09:37 PM
(This post was last modified: 11-07-2021, 09:58 PM by markwinger.)
I am working on an external input and I am trying to figure out how this works on an Open auto.
When a call comes in or is made while the built in media player is playing, the player is paused until the call is complete.
I thought Kodi work the same way, but it turns out it does not.
Then I setup and aux input for fm and it did not either. I saw discussion about Corking to halt the stream but this does not work on Kodi. My solution for the aux/fm input uses the pacat command to create the audio steam and it appears to honor corking, but it does not stop when a phone call comes in.
My assumption is that cork commands are not being issued.
I also got a suggestion to use ofono. But by querying the dbus, i appears that ofono in not there.
So the question is, does OA try to cork the streams or is this just not implemented?
I just realized something. I was using android auto to test this. So I disabled it and let OA handle the call.
This was way worse. When a call comes in while audio is playing I just get super loud static. I tested this with the built-in player, Kodi, and my fm player. Same problem no matter what.
When a call comes in or is made while the built in media player is playing, the player is paused until the call is complete.
I thought Kodi work the same way, but it turns out it does not.
Then I setup and aux input for fm and it did not either. I saw discussion about Corking to halt the stream but this does not work on Kodi. My solution for the aux/fm input uses the pacat command to create the audio steam and it appears to honor corking, but it does not stop when a phone call comes in.
My assumption is that cork commands are not being issued.
I also got a suggestion to use ofono. But by querying the dbus, i appears that ofono in not there.
So the question is, does OA try to cork the streams or is this just not implemented?
I just realized something. I was using android auto to test this. So I disabled it and let OA handle the call.
This was way worse. When a call comes in while audio is playing I just get super loud static. I tested this with the built-in player, Kodi, and my fm player. Same problem no matter what.