airplay

Implementing android as a server (receiver) in airplay

天涯浪子 提交于 2019-12-03 16:37:14
问题 I want to create the airplay in android in which my android device will work as a airplay server(receiver)and iPhone device will work as a receiver . I have used jmdns in my application which is open source library in java for the airplay . It is working fine for the audio . But when I come to the video and image then there is lot of struggle for me even with the discovery of the device .Here is my code for the creating and registering the service : ServiceInfo info = ServiceInfo.create

Airplay of audio using AVPlayer does not work in the background

白昼怎懂夜的黑 提交于 2019-12-03 15:20:36
I am doing audio playback using the AVPlayer class from a remote URL. It plays fine if I just play to the headphones/built in speaker, but I am seeing some oddities with AirPlay. When I change to use an AppleTV for AirPlay, it will stream the audio, but on my iphone the audio playback indicator (the small 'play' triangle in the top menu bar) disappears, and when I lock the phone instead of continuing in the background, it stops. (When playing normally, it plays in the background fine). Why is the AVPlayer not working in the background for audio over AirPlay? Is this what other see? Is there a

iOS app which runs on two screen (no mirroring)

早过忘川 提交于 2019-12-03 09:59:35
问题 I've created an iPad app which contains a slideshow and when this slideshow is tapped by the user he/she can entered some information. What I'd like to do now is to display the slideshow contents on a TV when connecting the TV and iPad through AirPlay (or cable if possible, but that only seems to mirror things) Can this be done? Can we have the slideshow run on the TV and also on iPad and then when the user taps the slideshow on the iPad the credentials input screen will show but on TV still

AirPlay messes up localhost

故事扮演 提交于 2019-12-03 09:34:16
Since the last OSX update (Yosemite), my localhost server is full of error messages from airplay (but I am not using it). Each times it's the same: [31/Oct/2014 05:40:42] code 400, message Bad request version ('RTSP/1.0') [31/Oct/2014 05:40:42] "GET /info?txtAirPlay&txtRAOP RTSP/1.0" 400 - It's just annoying to have its server full of error messages so if anyone has a clue to fix that or to remove airplay, I would be very thankful :) I think I found the answer: On a cisco discovery forum they listed an nmap output that revealed the Yosemite discoveryd port ranges. Turns out the Apple is using

AirPlay Mirroring iPhone to Mac OS / using UIWebView + AirPlay

匿名 (未验证) 提交于 2019-12-03 08:54:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I need to live-demo a Mobile Safari browser app (iOS 5, iPhone 4S) on my Macbook and was wondering the best way to do this? One way I thought might be possible would be using AirPlay Mirroring, but there doesn't seem to be any Mac OS apps capable of showing my iPhone screen mirrored. I am an (beginner) iOS developer and wondered if there was anyway I could knock up a basic app with a UIWebView in it to somehow stream the contents of the web page and my interactions with it to my Mac. Any thoughts? EDIT : Yes I know I could use the

iOS: Airplay picker MPVolumeView alternative

匿名 (未验证) 提交于 2019-12-03 08:48:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using MPVolumeView to pick airplay device for avplayer airplay playback. Is there any possible non-private API alternative for doing this, so I would be able to provide my own UI Controls for picking airplay device? By referring to the API, I mean, that all I need is: Ability to reroute audio to airplay-device specific audioRoute. Retrive airplay-device names. (get all available audioRoutes, then get descriptions for airplay audioRoutes) I know AudioToolbox framework provides some additional API to deal AudioSession, but the only way I

iOS AirPlay Action Sheet for public app store publishing - like in Spotify

匿名 (未验证) 提交于 2019-12-03 08:30:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've been working on a project that involves AirPlay endpoint selection and was wondering how the guys at Spotify had done the following in-app selection of the available AirPlay endpoints (you can see an AirPlay icon/message at the bottom of the app that when tapped brings up a similar Action Sheet to what you'd see via the Control Center): From what I know, the only "public" API one may use for this kind of thing is MPVolumeView which is not necessarily the same, as it'd show a volume controller and a button to trigger such action sheet.

Implementing android as a server (receiver) in airplay

孤者浪人 提交于 2019-12-03 06:38:31
I want to create the airplay in android in which my android device will work as a airplay server(receiver)and iPhone device will work as a receiver . I have used jmdns in my application which is open source library in java for the airplay . It is working fine for the audio . But when I come to the video and image then there is lot of struggle for me even with the discovery of the device .Here is my code for the creating and registering the service : ServiceInfo info = ServiceInfo.create(identifier + "@" + name + "._raop._tcp.local", identifier + "@" + name, port, "tp=UDP sm=false sv=false ek=1

How to check if the device is connected via airplay?

非 Y 不嫁゛ 提交于 2019-12-03 06:26:10
问题 I had the problem to check if I am connected to an airplay device and if it is connected via mirroring or streaming. But the check needs to be done before the video started. airPlayVideoActive only return YES if the video already started. 回答1: This is my solution - (BOOL)isAudioSessionUsingAirplayOutputRoute { /** * I found no other way to check if there is a connection to an airplay device * airPlayVideoActive is NO as long as the video hasn't started * and this method is true as soon as the

Decoding AirPlay Mirroring Protocol

╄→尐↘猪︶ㄣ 提交于 2019-12-03 05:47:10
问题 I want my app to mirror the display of my iPad 2 to my Mac. I have published the _airplay._tcp service and am listening on the port 7100 . The app shows in the AirPlay menu and the Mirroring option is also there. Video and audio streaming work perfectly. But I don't know how to decode the FairPlay encryption ( POST /fp-setup ) to support AirPlay mirroring. I have taken reference from http://www.aorensoftware.com/blog/2011/08/20/exploring-airplay-mirroring-internals/. If anyone has any idea on