Documentation

AirPlay

AirPlay support in Radiant Media Player

We offer out of the box in-player support for Apple AirPlay casting. This means that when a compatible AirPlay receiver is detected in range from a compatible AirPlay emitting device an AirPlay icon will automatically appear within the player.

We support AirPlay for the following emitting devices:

  • iOS 12+ Safari and mobile apps
  • iPadOS 13+ Safari and mobile apps
  • macOS Safari 12+

We support Apple AirPlay version 2 and version 1. See this apple documentation for information on AirPlay system requirements

You can use AirPlay from our player to stream to the following receivers:

  • Apple TV 4K or Apple TV HD with tvOS 12+
  • HomePod with iOS 12+ (audio-only)
  • AirPlay 2-compatible smart TVs2 with the label "Works with Apple AirPlay"
  • Speakers and receivers with the label "Works with Apple AirPlay" (audio-only)

Supported features

Below is a non-exhaustive list of features you can expect to be available while using Radiant Media Player with AirPlay:

Feature AirPlay
In-player casting UI
HLS
MPEG-DASH
Multi-languages audio and captions
HTML5 video advertisement (1)
On-demand, DVR & Live streaming
Playlist/related
FairPlay DRM (3)
Audio-only
  • (1) Basic support for loading VAST ads is supported - more advanced use-cases may not be supported
  • (2) DVR streams will be treated as regular live streams - DVR controls will not be available
  • (3) AirPlay is disabled automatically when FPS content is used as this use-case is not supported

Player settings

airplay: Boolean

Set whether or not in-player AirPlay support should be activated on eligible devices. Default: true. Note that when set to true this setting will enable periodic checks for detecting AirPlay receivers.

Player API

Player API events

airplayavailable

Fires when the targeted device support AirPlay casting and AirPlay has become available

airplaymedialoaded

Fires when media content has successfully loaded on AirPlay receiver

airplaymediaunloaded

Fires when media content has successfully disconnected from AirPlay receiver and can be resumed on sender device

Player API method

showAirplayPlaybackTargetPicker

rmp.showAirplayPlaybackTargetPicker();

When called this method will present to the viewer available AirPlay receivers to cast to from the player. Must be the result of a user interaction (click or touhend).

Support notes

  • The in-player AirPlay icon will only show after the player loadedmetadata event has fired (on mobile this may not be until play is requested)
  • AirPlay does not support 360 videos. Instead, you should disable AirPlay for 360 videos.
  • AirPlay does not support MPEG-DASH. Instead, you should use HLS if you want to allow AirPlay.
  • AirPlay does not support manual quality switches. Instead, viewers can only rely on automatic quality selection.
  • AirPlay does not support authentication cookies. AirPlay streams run on a device other than the device initiating the session. This means authentication cookies will not be available to retrieve playlists, encryption keys, ... There is also no way to intercept these requests from the initiating device (other than DRM license requests).
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License.

©2015-2025 Radiant Media Player. All Rights Reserved.