Socket
Socket
Sign inDemoInstall

airplay-js

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

airplay-js

JS Native Apple AirPlay client library for AppleTV


Version published
Maintainers
1
Created
Source

node-airplay

node-airplay is a native javascript client library for Apple's AirPlay remote playback protocol.

Installation

From npm:

npm install airplay-js

Usage

// remote video
var browser = require( 'airplay-js' ).createBrowser();
browser.on( 'deviceOn', function( device ) {
    device.play( 'http://remotehost/video.mp4', 0, function() {
        console.info( 'video playing...' );
    });
});
browser.start();

Testing

npm install
npm test

...then, turn on your AppleTV!

Help

  • Unofficial AirPlay Protocol Specification
  • HLS(HTTP Live Streaming)
  • ffmpeg build for ios
  • ffmpeg build for MacOS
  • mdns User Guide

API

Keywords

FAQs

Package last updated on 01 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc