DisplayCasting

Revision 10 as of 2016-01-11 12:13:38

Clear message

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 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

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.