Questions tagged [airplay]

Airplay is a streaming technology made by Apple to stream media to multiple devices wirelessly or to the Airplay SDK that offers deployment to many platforms.

Airplay?

Airplay is a Streaming Technology made by Apple Inc to stream media to multiple devices wirelessly or to the Airplay SDK that offers deployment to many platforms including iOS, macOS, tvOS, watchOS, Windows, Linux, Android, Symbian, and more recently, through the Airplay Arcade, all major consoles and handheld devices.


Apple added Airplay in Safari

In 2015 Apple added Airplay for HTML5 Video *default player, And a API for JavaScript Presentation mode, for those who wanna use their own video player.

This can be done by using the following code:

// Safari 9+
if (window.WebKitPlaybackTargetAvailabilityEvent) {
    video.addEventListener('webkitplaybacktargetavailabilitychanged', function(event) {
        switch (event.availability) {
            case "available":
                airPlay.style.display = 'block';
                break;
            default:
                airPlay.style.display = 'none';
        }
        airPlay.addEventListener('click', function() {
            video.webkitShowPlaybackTargetPicker();
        });
    });
}

NOTE: Airplay can be use for both Audio and Video.


In 2016 They added Picture In Picture to the default HTML5 Player, its also use Javascript Presentation mode API.

453 questions
0
votes
1 answer

Conversion of raw JPEG bytes received from HTTP PUT in Android

I am receiving an HTTP PUT in this format - PUT /photo HTTP/1.1 X-Apple-AssetKey: F92F9B91-954E-4D63-BB9A-EEC771ADE6E8 X-Apple-Transition: Dissolve Content-Length: 456850 User-Agent: MediaControl/1.0 X-Apple-Session-ID:…
Kanak Sony
  • 1,570
  • 1
  • 21
  • 37
0
votes
0 answers

iOS AirPlay (not mirroring)

I am new to using AirPlay. I wanted to find out how we can create a specific UI layout for when AirPlay is used. I am developing an app for iOS. When the user uses iOS mirroring, I want to take advantage of the screen real estate and display all my…
software is fun
  • 7,286
  • 18
  • 71
  • 129
0
votes
1 answer

locate media source of playing medie wp

does Anybody know if it is possible to capture the media you are playing on windows phone, so you can stream it to another source, Just like apple does with airplay
DaCh
  • 921
  • 1
  • 14
  • 48
0
votes
1 answer

Is there any way to get notified if an iOS system popover disappears?

In the concrete case I'm referring to the airplay popover where you can choose between your iOS device, all available airplay devices and the cancel button. I need to know when the popover disappears in order to do some further actions. Is there any…
noXare
  • 29
  • 1
  • 2
0
votes
1 answer

iOS SDK: AudioQueue and AirPlay

I'm currently investigating how we could add airplay functionality to our existing application. In this app, we're using AudioQueue "manually". We're not using AVPlayer or MPMoviePlayer. So we're just pushing audio buffers into an AudioQueue and…
aspyct
  • 3,625
  • 7
  • 36
  • 61
0
votes
1 answer

JmDNS TXT Field with multiple parameters

I am using JmDNS to simulate an Bonjour Service / AirPlay. ServiceInfo info = ServiceInfo.create( "test@AppleTV._airplay._tcp.local", "test@AppleTV", 46667, "deviceid=00:11:7F:54:DF:0B features=0x2a7f model=AndroidTV2,1…
paulgavrikov
  • 1,883
  • 3
  • 29
  • 51
0
votes
0 answers

Got 500 Error in RECORD Protocol in RTSP Handshake (Airtunes in Android)

I'm trying to make communications between Android and Airplay Device. Announce / Setup Protocol is OK. But I've got 500 Error in RTSP Record Handshake. I took a reference in Airtunes with NODE.js (https://npmjs.org/package/airtunes) Logcat…
Prios_KR
  • 26
  • 3
0
votes
1 answer

Adding airplay support to MPMoviePlayer

Hi i am building iOS application target iOS 5 and above. I am using MPMoviePlayerController to stream movie file. I that player i want to give airplay support. According to apple documentation Default Movie players (iOS 4.3 and later) support…
abdus.me
  • 1,819
  • 22
  • 34
0
votes
2 answers

ipad airplay mirroring to multiple airplay receivers (specifically for videos/pictures)

my client asks me to develop some app for real-estate presentation which has the following features: 1. The seller can have their ipads connect to the projector wireless over wifi. 2. The seller can broadcast the screenshot of some other ipads to…
David
  • 3,843
  • 33
  • 36
0
votes
1 answer

Adjust iOS volume without the overlay and with the AirPlay icon

My app needs to fade some music in, starting from 0 and slowing going up to the iPod volume setting. When I do this, the stock Apple volume adjust screen shows up. I followed the directions in this question and create my own…
Paul Cezanne
  • 8,629
  • 7
  • 59
  • 90
0
votes
1 answer

Airplay http requests

I'm trying to build an android controler for an airplay receiver (contained in a tv mediaplayer). I'm using curl for testing the request and also postman, a chrome extension which builds http requests. The requests are well understood by the…
Gaël Barbin
  • 3,769
  • 3
  • 25
  • 52
0
votes
4 answers

AirPlay Speakers via AppleScript

I have had partial success getting Indigo to toggle Airplay devices on in iTunes 11, but I need some help. I am able to select and toggle on one speaker, but really I want to be able to select the multiple button and then toggle on all or some of my…
eecue
  • 1,023
  • 9
  • 6
0
votes
1 answer

Keep UIWindow size after setting it's UIScreen value

I'm using AirPlay, the primary content of the iPad is beamed to the AppleTV fine. When I want different information on the iPad than is on the AppleTV, I'm getting resolution issues. I instantiate the UIWindow: _atvWindow = [[UIWindow alloc]…
chillok
  • 235
  • 1
  • 3
  • 11
0
votes
2 answers

background options and air play

How can I get my video to play via air play when the device falls asleep? I'm finding some things to do like this but it sounds like most of these things will get me banned from the app store. I just want my app's video to play on airplay without…
Jacksonkr
  • 31,583
  • 39
  • 180
  • 284
0
votes
1 answer

How can I use airplay with video while the iphone is in sleep-mode/locked?

I have multiple videos being played from my iphone app and when I use airplay to view it, it shows up fine. I want to be able to turn off the iphone in order to not waste battery etc. How can I use airplay with video while the iphone is in…
SirRupertIII
  • 12,324
  • 20
  • 72
  • 121