All Projects → alexruperez → AVPlayerItemHomeOutput

alexruperez / AVPlayerItemHomeOutput

Licence: MIT license
Coordinate the output of content associated with your HomeKit lightbulbs. #Ambilight

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to AVPlayerItemHomeOutput

Homebridge Platform Wemo
Homebridge plugin to control Wemo devices.
Stars: ✭ 173 (+355.26%)
Mutual labels:  homebridge, homebridge-plugin, homekit
homebridge-vieramatic
Homebridge plugin for Panasonic™ Viera™ TVs (includes support for 2018 and later models)
Stars: ✭ 39 (+2.63%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Dafang
Homebridge Plugin for Xiaomi Dafang / Wyze Cam IP Camera => Hey Siri, Start Video Recording
Stars: ✭ 176 (+363.16%)
Mutual labels:  homebridge, homebridge-plugin, homekit
homebridge-z2m
Expose your Zigbee devices to HomeKit with ease, by integrating 🐝 Zigbee2MQTT with 🏠 Homebridge.
Stars: ✭ 197 (+418.42%)
Mutual labels:  homebridge, homebridge-plugin, homekit
homebridge-panasonic
A Homebridge plugin for Panasonic Viera TV's. Written to support the new Homekit TV accessory.
Stars: ✭ 18 (-52.63%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Http Switch
Powerful http switch for Homebridge: https://github.com/homebridge/homebridge
Stars: ✭ 111 (+192.11%)
Mutual labels:  homebridge, homebridge-plugin, homekit
homebridge-unifi-occupancy-sensor
An occupancy sensor for Homebridge and UniFi
Stars: ✭ 71 (+86.84%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Plex Sensors
Homebridge Sensors for Plex - a plugin for Homebridge to adds sensors triggered by Plex playbacks.
Stars: ✭ 95 (+150%)
Mutual labels:  homebridge, homebridge-plugin, homekit
homebridge-vsx
📻 A VSX and SC Plugin for homebridge
Stars: ✭ 12 (-68.42%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Ewelink
Homebridge plugin to control eWeLink devices with original firmware.
Stars: ✭ 208 (+447.37%)
Mutual labels:  homebridge, homebridge-plugin, homekit
homebridge-callmonitor
Signals incoming and outgoing calls using the call monitor facility in Fritz!Box devices via HomeKit
Stars: ✭ 25 (-34.21%)
Mutual labels:  homebridge, homebridge-plugin, homekit
homebridge-nature-remo-cloud-aircon
Homebridge Plug-in for Air Conditioner Managed by Nature Remo
Stars: ✭ 28 (-26.32%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Nest Cam
View your Nest cams in HomeKit using Homebridge.
Stars: ✭ 103 (+171.05%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Dacp
Remotely control Apple TV and iTunes via HomeKit.
Stars: ✭ 128 (+236.84%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Edomoticz
Domoticz Homebridge-Plugin
Stars: ✭ 104 (+173.68%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Mi Hygrothermograph
Homebridge plugin for the Xiaomi Mi Bluetooth Temperature and Humidity Sensor
Stars: ✭ 179 (+371.05%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Govee
Homebridge plugin to control Govee devices supported by the official Govee API.
Stars: ✭ 33 (-13.16%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Hubitat Tonesto7
Hubitat Homebridge Plugin
Stars: ✭ 45 (+18.42%)
Mutual labels:  homebridge, homebridge-plugin, homekit
Homebridge Gsh
Allow Google Assistant to control your Homebridge accessories.
Stars: ✭ 190 (+400%)
Mutual labels:  homebridge, homebridge-plugin, homekit
homebridge-adb
Homebridge script to control remote ADB enabled Android device
Stars: ✭ 56 (+47.37%)
Mutual labels:  homebridge, homebridge-plugin, homekit

AVPlayerItemHomeOutput

Twitter Version License Platform Carthage compatible Swift Package Manager Compatible Build Status Code Coverage codebeat badge

AVPlayerItemHomeOutput

The AVPlayerItemHomeOutput lets you coordinate the output of content associated with your HomeKit lightbulbs.

In other words, becomes #Ambilight. 😀

Works with all HomeKit (and HomeBridge) compatible lightbulbs.

AVPlayerItemHomeOutput

Installation

AVPlayerItemHomeOutput is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AVPlayerItemHomeOutput'

Or you can install it with Carthage:

github "alexruperez/AVPlayerItemHomeOutput"

Or install it with Swift Package Manager:

dependencies: [
    .Package(url: "https://github.com/alexruperez/AVPlayerItemHomeOutput.git")
]

Usage

let sample = URL(string: "https://raw.githubusercontent.com/bower-media-samples/big-buck-bunny-1080p-30s/master/video.mp4")!
let asset = AVAsset(url: sample)
let playerItem = AVPlayerItem(asset: asset)
let homeOutput = AVPlayerItemHomeOutput(playerItem) // Only create your instance...
homeOutput.setDelegate(self, queue: nil) // Optional AVPlayerItemOutputPullDelegate.
playerItem.add(homeOutput) // ...and add it to your AVPlayerItem!
let playerViewController = AVPlayerViewController()
playerViewController.player = AVPlayer(playerItem: playerItem)
present(playerViewController, animated: true) {
        playerViewController.player?.play()
}

Don't forget:

Add NSHomeKitUsageDescription key to your Info.plist to specify the use of HomeKit in your app.

Etc.

  • Contributions are very welcome.
  • Attribution is appreciated (let's spread the word!), but not mandatory.

Authors

alexruperez, [email protected]

License

AVPlayerItemHomeOutput is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].