How to capture Miracast traffic?
Hi, I am having troubles with screen sharing via Miracast. From what I learned, Miracast is direct connection between two devices via wifi. I was thinking I could capture the handshake between my laptop and the TV via Wireshark. I tried to capture all the traffic going via wifi interface but it did not capture anything... Is there any option how to caputre Miracast traffic?
Excellent question!
Windows requires that Bluetooth and WiFi, both interfaces have to be active to start a Miracast connection.
AFAIK, WiFi is used for data transfer (look out for a new WiFi interface while the device connection is established). Alas, I never found out what Bluetooth is used for (key exchange for WiFi maybe?)
When I use my Android phone to stream my display, a new virtual interface is showing up (p2p0). Maybe Windows do the same and you've to start your capture on that virtuell interface?
@Eddi Are you sure that BT is needed for Miracast? I never paid attention if BT is on or not when I start to share my screen. The articles I've read about Miracast haven't mentioned BT as well. Mabye only Windows uses it for certain situations (Windows-To-Windows)?!