Req XBMC as a Miracast receiver
#1
With Android now supporting Miracast as of version 4.2, I'd love to see Miracast integrated into XBMC so that we can mirror Android devices or any other device supporting the Miracast standard to our TVs. I don't know much about Miracast, but from what I understand it is based on DLNA so I can't imagine it would be very difficult to integrate it into XBMC.
Reply
#2
if you don't think it would be so difficult, then how about submitting a patch/PR for it.
Reply
#3
I love people which are saying something can't be difficult without having a clue. Most of them are on my ignorelist ... Wink
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#4
Those types of comments are so unnecessary.

Miracast was discussed in another thread and it seemed the participants came to the conclusion that the documentation needed for implementing miracast support isn't available for free.
Reply
#5
Sorry to suggest it may be easy, you're right I do not have any experience with these things, if I did I would definitely look into helping. Once again I apologize, I didn't think suggesting it would be easy would detract from the conversation of adding the feature.

Anyway, if there was enough interest, I would be willing to donate to getting the documentation to support Miracast, so long as a developer agreed to implement it.
Reply
#6
Some information about Miracast / Wi-Fi Display can be found via google:

http://www.slideshare.net/DSPIP/wifi-display
http://www.wi-fi.org/files/20110421_Chin..._merge.pdf (slide 218)

I also found Wi-Fi Direct parts of Miracast already implemented within hostap project:

http://hostap.epitest.fi/gitweb/gitweb.c...b1271658cc

The hex dump, to set WFD_SUBELEM_SET properly can be found in Android sources function getDeviceInfoHex() :

https://github.com/android/platform_fram...dInfo.java

I know that this is not sufficient to start any development, but it should give a rough overview about the technology.
Reply
#7
something new infos to this? is somebody implementing this in xbmc at the moment?

i found here a project für the Miracast Protocol:

https://github.com/esrlabs/AndroidTransporterPlayer
Reply
#8
Nobody is working on this afaik.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#9
I'd also be happy to donate some dosh towards getting the docs for someone who knows what they're doing to implement this.
Reply
#10
FYI, codemonkeyricky have now released Piracast (Miracast implementation for Raspberry Pi) under GPL3

Maybe this could help reverse engineer it for XBMC to GPL2 or LGPL2?

http://forum.xbmc.org/showthread.php?tid=167455
(2014-01-06, 02:13)ronson Wrote: He just released "Piracast" (Miracast for Raspberry Pi) under GPL

Here the GitHub Link:
https://github.com/codemonkeyricky/piracast

Here the Update Video
https://www.youtube.com/watch?v=DidwZpmQb9E

Just spread the word so devs are goin to make it awesome! Big Grin
Reply
#11
I always wonder if people select GPL3 because it's newest and therefore shiniest, or because they believe it's better than GPL2 and that if enough people adopt GPL3 it'll somehow force hardware vendors to accept it.
Reply
#12
http://forum.xbmc.org/showthread.php?tid=167455
Quote:OpenWFD project is a new GPLv2 open source C implementation of WiFi-Display standard (abbr. WFD)

http://www.freedesktop.org/wiki/Software/openwfd/

MiracleCast project (miracled) is a Wifi-Display/Miracast proof-of-concept implementation of OpenWFD

http://www.freedesktop.org/wiki/Software/miracle/

OpenWFD as a library is probably what you would want to use if you wanted to add Miracast to XBMC

http://cgit.freedesktop.org/~dvdhrm/openwfd/

WFD is also commonly known as Miracast, the name of the WiFi-Alliance certification program

https://fosdem.org/2014/schedule/event/miracast/
Reply
#13
http://cgit.freedesktop.org/~dvdhrm/openwfd/tree/README <- ok ... lets wait until it is ready to be used then...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#14
It seems to use a driver of some sort, which is what is most likely going to be the most problematic for us. AFAICT you need low level support, i.e. the kernel or driver needs to do quite a lot of it. So i'd suspect its not worth adding to xbmc until there is driver support and a library for it available.
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.

Image

"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#."
Reply
#15
I looked at doing it from an addon and came away with the same thoughts as topfs2. You need low level access to flip the nic into WiFi direct mode. I don't possess the knowledge to write something like that. That also means the hardware has to support it. If it doesn't have support, then you have to sacrifice all other connections on that card and connect directly. If the hardware supports it and you can get it into the right mode, you can maintain the current connection and establish a new direct connection simultaneously. Or at least that's my understanding from looking at his code
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC as a Miracast receiver 0