airplay

AVAudioPlayer and AirPlay - possible?

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm trying to ascertain whether it's possible to toggle AirPlay support using the AVAudioPlayer class. From what I have read: AirPlay is a technology that lets your application stream audio to Apple TV and to third-party AirPlay speakers and receivers. AirPlay support is built in to the AV Foundation framework and the Core Audio family of frameworks. Any audio content you play using these frameworks is automatically made eligible for AirPlay distribution. Once the user chooses to play your audio using AirPlay, it is routed

How to check if the device is connected via airplay?

南楼画角 提交于 2019-12-02 20:59:45
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. 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 device is connected to an airplay device */ AVAudioSession* audioSession = [AVAudioSession sharedInstance];

Decoding AirPlay Mirroring Protocol

為{幸葍}努か 提交于 2019-12-02 20:26:12
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 how to do that, please tell me. Check out AirServer -> they've already done this and it works

MPNowPlayingInfoCenter not reacting properly when pausing playback

怎甘沉沦 提交于 2019-12-02 17:51:58
I am trying to get MPNowPlayingInfoCenter to work properly when pausing playback. (I have a streaming music app that uses AVPlayer for playback, and I am playing back in my Apple TV over Airplay.) Everything but pausing seems to be reflected correctly in the Apple TV UI. I am initializing it like this: MPNowPlayingInfoCenter *center = [MPNowPlayingInfoCenter defaultCenter]; NSDictionary *songInfo = @{ MPMediaItemPropertyTitle: title, MPMediaItemPropertyArtist: artist }; center.nowPlayingInfo = songInfo; Since I am streaming, I do not have duration info upon starting the playback. When I get

Native Android/iOS development vs Marmalade SDK [closed]

耗尽温柔 提交于 2019-12-02 14:06:46
Our company is on the verge of picking between native Android/iPhone development and some cross-platform solution, specifically Marmalade SDK (former Airplay SDK). We are a computer vision company, meaning we need low level access to the camera devices. Also, our applications are computationally expensive, meaning we tend to squeeze out every little bit of processing power available. Our team has sufficient experience in both Objective-C and Java (or C) to provide platform specific solutions. However our main focus was always on C++, as such we would like to prevent fragmenting out team and

iPhone:What is the use of Airplay SDK?

无人久伴 提交于 2019-12-02 01:33:36
问题 Can someone explain me what is Airplay SDK and when it is used, how to use in program etc. details? I hope, it is used for streaming videos from iPhone to TV? Thanks. 回答1: AirPlay SDK is actually a cross-platform game development framework for iPhone/Android/Symbian which is now called marmelade . AirPlay is also a video & audio streaming technology by Apple and has nothing to do with marmelade. As of iOS 4.3, third-party apps may also send compatible audio and video streams over AirPlay. 回答2

Airplay on new Apple TV (3rd gen.) for second screen not at 1080p

谁说胖子不能爱 提交于 2019-12-02 01:08:21
问题 I am working on an app that uses Airplay mirroring for a second display that has different content to the iPad itself. I'm using an iPad3 and ATV3 (i.e. released March 2012) attached to an LCD capable of 1920x1080 via HDMI. With Airplay mirroring, the second screen's UIScreen is available through [UIScreen screens] array. I was able to get rid of the black borders by setting overscanCompensation to 3 but I can only display a 1280x720 image. The monitor is working at 1920x1080 (i.e. checked in

Airplay on new Apple TV (3rd gen.) for second screen not at 1080p

大兔子大兔子 提交于 2019-12-01 22:09:12
I am working on an app that uses Airplay mirroring for a second display that has different content to the iPad itself. I'm using an iPad3 and ATV3 (i.e. released March 2012) attached to an LCD capable of 1920x1080 via HDMI. With Airplay mirroring, the second screen's UIScreen is available through [UIScreen screens] array. I was able to get rid of the black borders by setting overscanCompensation to 3 but I can only display a 1280x720 image. The monitor is working at 1920x1080 (i.e. checked in its menu, set to "Just Scan", and the rest of Apple TV interface is at 1080p). When I return the

iPhone:What is the use of Airplay SDK?

倾然丶 夕夏残阳落幕 提交于 2019-12-01 21:45:41
Can someone explain me what is Airplay SDK and when it is used, how to use in program etc. details? I hope, it is used for streaming videos from iPhone to TV? Thanks. AirPlay SDK is actually a cross-platform game development framework for iPhone/Android/Symbian which is now called marmelade . AirPlay is also a video & audio streaming technology by Apple and has nothing to do with marmelade. As of iOS 4.3, third-party apps may also send compatible audio and video streams over AirPlay. Airplay is used to stream audio and video to other Apple devices. For instance, you can stream a video in an

App for jailbroken iOS device: Consistent background operation

本秂侑毒 提交于 2019-12-01 10:42:52
I am the author of a Cydia tweak called AirFloat. An app that implements the AirPlay audio protocol (previously known as AirTunes), making it possible to stream audio to your iOS device. AirFloat is originally an App Store app, until it got booted by Apple from the App Store. I've since that made it available for free in Cydia. Currently the app stands in Cydia exactly as the previous App Store version. As a result of this I get a lot of requests to make it work in the background. But I cannot get it to work. Basically I am thinking of two approaches. Note: AirFloat displays the currently