airplay

WIFI-Direct(Wifi直连)、AirPlay、DLAN、Miracast功能介绍

风流意气都作罢 提交于 2019-12-01 08:59:24
不知道大家对无线同屏技术有多少了解,当这种技术普及的时候,我想我们的工作与生活又会方便很多吧!下面是目前三种主流同屏技术的介绍: 目前这种将终端信号经由WiFi传输到电视、电视盒的技术有三种:DLNA、AirPlay、Miracast。 一、AirPlay AirPlay 是苹果开发的一种无线技术,可以通过WiFi将iPhone 、iPad、iPodtouch 等iOS 设备上的包括图片、音频、视频通过无线的方式传输到支持AirPlay 设备。售价99美元的Apple TV就具备这样的功能,现在一些传统的家庭影院和HIFI如马兰士和天龙的新品功放和网络播放器已经支持AirPlay功能。。 AirPlay具备与DLNA所没有的镜像功能,这一功能叫AirPlay镜像,可将iPhone 或iPad 上的画面无线传输到电视上,也就是说你设备显示的是什么,电视屏幕显示就就是什么,而不仅限于图片和视频。你可以拿着iPad 来当做方向盘,然后看着大屏玩游戏。 另外AirPlay镜像最牛地方是它可以实现双屏游戏,让你的游戏有更多的交互。比如,电视里显示的是游戏画面,而iPad上显示的是比赛的路线图。            目前,苹果的AirPlay更多的只适用于认证过的苹果设备,目前支持这一技术的主要是苹果自己的设备包括了iPad、iPhone、Apple TV等

Disable AirPlay with MPMoviePlayerController

你说的曾经没有我的故事 提交于 2019-12-01 03:36:26
I have an instance of a MPMoviePlayerController which is being used to display some live streaming video on an iPhone app. This is working fine, however I wish to remove all AirPlay functionality. To be sure, I specifically disable AirPlay like so: if([self.moviePlayerController respondsToSelector:@selector(setAllowsAirPlay:)]) { self.moviePlayerController.allowsAirPlay = NO; } However, even with this code, I still see the AirPlay icon on the video controls. If I select this, and select my AppleTV, only the audio is sent over AirPlay - the video continues to play within the app. If I set

docker 搭建 RTMP 直播服务器

纵饮孤独 提交于 2019-11-30 18:51:49
环境搭建 docker pull alfg/nginx-rtmp docker run -it \ -p 1935:1935 \ -p 8080:80 \ --name nginx-rtmp \ -h nginx-rtmp \ alfg/nginx-rtmp 推流 到这个网站 https://obsproject.com/ 下载 obs,并设置推流地址为: rtmp://123.56.135.201:1935/stream 观看直播 代码放到web服务器下(不能放本地) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" /> <title></title> <link href="http://cdn.bootcss.com/video.js/6.0.0-RC.5/alt/video-js-cdn.min.css" rel="stylesheet" /> </head> <body> <video id="hls-video" width="300"

How to do screen mirroring using AirPlay from the application (not from control panel) in iOS?

穿精又带淫゛_ 提交于 2019-11-30 16:41:10
问题 I am using MPVolumeView to show AirPlay button. I need to show a custom wallpaper to Apple TV through mirroring with audio. Audio is playing properly on Apple TV but wallpaper image is not showing. I am using AVAudioController for playing audio. I have checked YouTube application in which screen mirroring is working from application for video playing. Is it possible to screen mirroring within the app using AVAudioController ? Help me to solve this issue. Thanks in advance. 回答1: Unfortunately,

AVAudioPlayer and AirPlay - possible?

折月煮酒 提交于 2019-11-30 15:09:24
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 automatically by the system. [ Ref ] Based on this info; it should work

How can I turn on AirPlay Screen Mirroring on the iPhone 4S programmatically

≡放荡痞女 提交于 2019-11-30 14:42:04
I have written an app for iPhones and for the 4S I want to support screen mirroring of the application over AirPlay. Using the System AirPlay picker the and with Mirroring turned on it will mirror the app without any issues. I would like to offer this picker in the app and have used the following basic code: MPVolumeView *volumeView = [ [MPVolumeView alloc] init] ; [volumeView setShowsVolumeSlider:NO]; [volumeView sizeToFit]; [self.view addSubview:volumeView]; This provides an AirPlay picker and I can select the Apple TV. However it does not mirror the content over AirPlay. When I go to the

Implement Airplay Software Receiver in Android OS

北战南征 提交于 2019-11-30 10:23:23
Can we develop any app in Android which will play a role of Airplay Receiver? Following provides support for MAC and Windows desktop version now. http://www.airsquirrels.com/reflector/ I found a similar question with no reply. How can I make Android apps that work with Apple Airplay? . ALSO: I have found lots of apps on Play Store performing this functionality. http://www.knowyourmobile.com/android-apps/18049/best-airplay-apps-android-gettin-dream-stream I have found http://bubbleguuum.free.fr/airbubble/shairport/ , but I am facing issue in integrating openssl in my project to link these files

Airplay: Mirror subview on external window

久未见 提交于 2019-11-30 09:08:12
a design / architectural question on airplay. I have setup an external display in the AppDelegate: UIScreen *externalScreen = UIScreen.screens.lastObject; self.externalWindow = [[UIWindow alloc] initWithFrame:externalScreenFrame]; self.externalWindow.screen = externalScreen; self.externalWindow.backgroundColor = [UIColor redColor]; Works fine, TV shows an empty screen in red. Now I have a ViewController with a bunch of subviews, and one view should be shown on the device and the external screen. If I try this in ViewController.m: [_appDelegate.externalWindow addSubview:self.deviceAndTVView];

How can I turn on AirPlay Screen Mirroring on the iPhone 4S programmatically

泄露秘密 提交于 2019-11-29 21:05:32
问题 I have written an app for iPhones and for the 4S I want to support screen mirroring of the application over AirPlay. Using the System AirPlay picker the and with Mirroring turned on it will mirror the app without any issues. I would like to offer this picker in the app and have used the following basic code: MPVolumeView *volumeView = [ [MPVolumeView alloc] init] ; [volumeView setShowsVolumeSlider:NO]; [volumeView sizeToFit]; [self.view addSubview:volumeView]; This provides an AirPlay picker

List available output audio target AVAudioSession

China☆狼群 提交于 2019-11-28 21:10:51
I need to list the audio outputs available to an iOS application. My question is similar to this one: How to list available audio output route on iOS i tried this code: NSError *setCategoryError = nil; BOOL success = [[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryPlayback error: &setCategoryError]; NSError *activationError = nil; [[AVAudioSession sharedInstance] setActive: YES error: &activationError]; … NSLog(@"session.currentRoute.outputs count %d", [[[[AVAudioSession sharedInstance] currentRoute] outputs ] count]); for (AVAudioSessionPortDescription *portDesc in [[