Posts: 1,626
Joined: Sep 2007
Reputation:
29
keith
Team-Kodi Member
Posts: 1,626
I know when Roku switched to having headphones support in the remote, their remotes went from being Bluetooth to Wifi-direct.
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
The problem with Bluetooth and the audio profiles is that in the wild its generally very unidirectional. I.e. phones does not broadcast themselves as receivers of audio. And this is something that you can't just easily add. You need to rewrite the entire a2dp stack on top the rfcomm stack, and that's assuming that you don't need something more than that.
Its not a limitation of Bluetooth, its just not something that phones now support. Perhaps the next android or the next after that will add it and then it can be used instead. But for now I think we need to do this over WiFi to get the best possible ground for success.
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Posts: 3,077
Joined: Jun 2009
And do not forget that most Kodi client do not have Bluetooth while they all have network connectivity
If they have Bluetooth they can already use applications to get audio.
Anyway not 100% related but if implementation can take care of also possibly send video it would be cool, as there is demand also for livetv / addons streaming.
While pure streaming of those without being played require more complex things as an other internal player to stream, having a way to stream what is currently playing with video would be cool.
And I suppose that if this is keep in mind even if not done in this project if the code is think to allow that it would be easy to add support later.
Posts: 252
Joined: May 2009
Reputation:
10
Paxxi
Team-Kodi Member
Posts: 252
Can't this be implemented with upnp? The remote would act as a renderer and kodi as the controller and server. Not sure how it would work with syncing the playback though.
One benefit of using upnp is that it would make the feature usable with a lot of stuff besides our remotes.
The janitor, cleaner of cruft, defender of style. Also known as the unfunny guy that doesn't understand signatures.
Posts: 3,077
Joined: Jun 2009
Upnp does not work over internet
Upnp is bad
Upnp is badly supported by most things todays.
Upnp should die in fire.
Posts: 3,077
Joined: Jun 2009
(2015-03-06, 22:47)natethomas Wrote: (2015-03-06, 22:24)Tolriq Wrote: Upnp does not work over internet Upnp is bad
Upnp is badly supported by most things todays.
Upnp should die in fire.
Not sure why support over the internet would be important?
Beyond that, I tenuously agree upnp doesn't make a ton of sense, if only because that'd just add another layer to trying to get video and audio synched that doesn't need to be there. At a guess most UPnP receivers would fail on audio synching pretty much immediately if they weren't expecting the need, resulting in a terrible user experience.
Not for audio to remote for now playing
But streaming over internet is a very very high demand feature for Kodi.
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
Upnp has been used successfully with pulseaudio before, so that could also be a possible path.http://askubuntu.com/questions/187086/how-do-i-set-up-live-audio-streams-to-a-dlna-compliant-device
Personally I think that doing it in JSON RPC is probably easier. And someone could duplicate the code to do it for upnp too.
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."