DisplayCasting
Overview
WARNING: THIS IS FOR DEVELOPERS ONLY FOR NOW. DON'T EXPECT ANYTHING TO JUST WORK OR BE USER FRIENDLY
This page describes how to setup the current in-development work for our display casting work also known as Miracast/WiFi Display.
Install necessary silos
Install silo 0
$ citrain device-upgrade 0 <your pin>
After the silo is installed install silo 40 for an update for wpa-supplicant
$ citrain device-upgrade 40 <your pin>
After your device has installed both silos you're ready to go.
In addition to the silos above you have to install the following things manually until we have hardware encoding support:
$ sudo apt-get install gstreamer1.0-plugins-ugly \ gstreamer1.0-plugins-bad
Connect with a remote display
All necessary steps are documented here but we will describe this a bit more in detail here.
First of all you need a Miracast / WiFi display capable sink device. Most modern Smart TVs support this or you can buy a dongle from Amazon like the Microsoft Wireless Display one.
We have a small utility called miracastctl which helps you to deal with the service.
You can now scan for available devices
# miracastctl miracastctl> scan miracastctl> [CHG] Manager Scanning changed: true Device 4e:74:03:64:86:9e 'Aquaris_E4.5' added Device 4e:0b:be:f9:78:75 'MicrosoftDisplayAdapter_75' added
After the search is done you can connect to one of the found devices.
To list all available devices you can use the devices command.
miracastctl> devices Device 4e:0b:be:f9:78:75 'MicrosoftDisplayAdapter_75' Device 4e:74:03:64:86:9e 'Aquaris_E4.5'
Once you know which device you want to connect to you can simply issue the connect command and wait for the device to get connected.
miracastctl> connect 4e:74:03:64:86:9e miracastctl> [CHG] Manager Scanning changed: false [CHG] Manager State changed: connected
Once the device is connected you should see the Ubuntu UI on the remote display device.