Difference between revisions of "AirTunes/AirPlay"

From MythTV Official Wiki
Jump to: navigation, search
(Created initial page for Airtunes and AirPlay to the best of my knowledge.)
 
Line 30: Line 30:
 
''I have documented this, but AirPlay did not work for me.  The AirPlay option for the frontend was available, but the video streaming failed.  This was using an iPad2.  Music streaming worked, but was occasionally choppy''
 
''I have documented this, but AirPlay did not work for me.  The AirPlay option for the frontend was available, but the video streaming failed.  This was using an iPad2.  Music streaming worked, but was occasionally choppy''
 
[[User:Danellisuk|Danellisuk]]
 
[[User:Danellisuk|Danellisuk]]
 +
 +
Support appears to be OSX only at this point due to use of ''#if defined(Q_WS_MAC)'' in [http://code.mythtv.org/doxygen/mythairplayserver_8cpp_source.html#l00435 mythairplayserver.cpp]

Revision as of 07:34, 22 March 2012

MythTV 0.25 added support for AirTunes and AirPlay for streaming audio and video from iOS devices to MythFrontend.

AirPlay (video support) is experimental at this time.

Enabling AirTunes

AirTunes does not work out the box because AirTunes is a proprietary format and is encrypted in order to enable vendor lock-in. Fortunately the encryption key has been discovered which enables use of AirTunes in open source applications such as MythTV.

When starting the frontend, you will get the following message in the log:

 RAOP Conn: Failed to read key from: /home/<user>/.mythtv/RAOPKey.rsa

You can obtain the key from this post at the vlc-devel mailing list.

Simply copy the entire section:-

 -----BEGIN RSA PRIVATE KEY-----
 (and everything inbetween)
 -----END RSA PRIVATE KEY-----

Paste into a new file at /home/<user>/.mythtv/RAOPKey.rsa and restart your frontend.

Enabling AirPlay (video support)

Because AirPlay support is experimental, you have to manually enable it at the command line.

Set the environment variable named MYTHTV_AIRPLAY before starting the frontend, for example:-

 export MYTHTV_AIRPLAY="1"
 mythfrontend

I have documented this, but AirPlay did not work for me. The AirPlay option for the frontend was available, but the video streaming failed. This was using an iPad2. Music streaming worked, but was occasionally choppy Danellisuk

Support appears to be OSX only at this point due to use of #if defined(Q_WS_MAC) in mythairplayserver.cpp