2015-03-02, 01:09
Since XBMC was not one of the mentoring organizations last year, I couldn't work on my proposal, so here it is (again )
(I selected the most popular from last year)
What do you think ?
I had another idea, but I lost it writing this. If I find it again, I may post it back here.
EDIT : maybe a headless XBMC server option (like plex ?)
(I selected the most popular from last year)
Quote:PLAY AUDIO ON REMOTE DEVICES
Name: Mayeul Cantan
forum/e-mail: M@yeulC / mayeul.cantan [at] gmail.com
Summary: Not everyone has wireless headphones. Bot almost everyone has a wifi-enabled device, as an android/iOS smartphone, and it would be great (in my opinion) to turn this one into a remote sink for audio.
How will I achieve this: There are multiple ways to achieve this : either send the whole soundtrack, and play it later, or stream it (with or without caching). Each of these methods needs investigation to determine whether it is achievable over a somewhat limited Wi-Fi network. Downsampling, downmix, and other format conversions needs to be taken care of too. First, I will look into the API used to synchronize playback position with the remote, and ensure it is precise enough. If it is not, implement my own version of it, based on NTP. Then, conduct tests to determine the best way to send audio to the remote player (probably using the official remote app). Third, implement sound playback in the remote, synchronized with the movie playing.
What will the project focus on: The most important aspects of the project are usability, from an end-user perspective, and from a developer perspective. The remote play option should be easy to use, work out of the box with popular remotes, and to achieve the latter, API must be stable, clean, easy to understand and implement.
Benefits: Users will be able to use any smartphone as a headphone, either to watch a movie from the couch without disturbing someone else, or to watch a movie simultaneously in different languages/with different soundtracks (think about descriptive soundtracks for the visually impaired, etc...). This would also allow the use of bluetooth (or other technology) sinks if the main player does not support those. There is a lot of possibilities.
Goals: At least implement audio mirroring, maybe soundtrack selection, and transcoding from the remote control.
What does it touch in Kodi: Network code/API, audio decoder/transcoder.
Requirements: C++, JSON-RPC ? (I would need to learn that), Java for the remote control (not particularly familiar with it either)
Possible mentors: Place to add possible mentors (Team-Kodi will add this).
What do you think ?
I had another idea, but I lost it writing this. If I find it again, I may post it back here.
EDIT : maybe a headless XBMC server option (like plex ?)