Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Miracast Protocol Source Code

Tags:

android

I'm researching about Miracast Protocol. Currently on Network, I cannot found clearly spec about this protocol (so I can use it to send and receive signal from Miracast-enable program).

I see that Android (above 4.2) has this feature and abstract by using MediaRouter class. I want to see, how Android really implement this protocol. (recogize, sending, receive ...) by view its source, but don't know where it is in Android Source Code.

Please tell me source code that Android implement Miracast Protocol.

Thanks :)

like image 704
hqt Avatar asked Dec 01 '25 03:12

hqt


1 Answers

It seems that the code is, at least partially (haven't tried it) available in AOSP : https://android.googlesource.com/platform/frameworks/av/+/android-4.2.2_r1.2/media/libstagefright/wifi-display/

You may also want to have a look at this guys work, who has studied and documented Miracast implementation on Android, and even provided patches to enable it on older devices :

https://github.com/kensuke/How-to-Miracast-on-AOSP/wiki

like image 197
Pierre Rust Avatar answered Dec 02 '25 21:12

Pierre Rust



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!