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 your device has installed the silo you're ready to go.
In addition to the silo 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
Disable dhcp apparmor profiles & restart aethercast
$ apparmor_parser -R /etc/apparmor.d/sbin.dhclient $ apparmor_parser -R /etc/apparmor.d/usr.sbin.dhcpd $ sudo service aethercast restart
Connect with a remote display
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 aethercastctl which helps you to deal with the service.
You can now scan for available devices
# aethercastctl aethercastctl> scan aethercastctl> [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.
aethercastctl> 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.
aethercastctl> connect 4e:74:03:64:86:9e aethercastctl> [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. If you run into any issues, logging details are at: /var/log/upstart/aethercast.log