node-airplay
node-airplay is a client library for Apple's AirPlay remote playback protocol.
some code full reference node-airplay, thanks!
Installation
From npm:
npm install airplay2
From bower:
bower install airplay
From source:
git clone https://github.com/zfkun/node-airplay.git
npm link
Dependencies
-
- had merge my fix, see my pull-request
-
- It's my fork, hack an error
no such record
- Unfortunately the original
node_mdns
is woefully out of date and has required many tweaks to get working
- It's my fork, hack an error
-
brew install ffmpeg
Usage
// remote videovar browser = ;browser;browserstart;
// local video (by HLS)var hls = ;hlsstart7001;hls;var browser = ;browser;browserstart;
Help
- Unofficial AirPlay Protocol Specification
- HLS(HTTP Live Streaming)
- ffmpeg build for ios
- ffmpeg build for MacOS
- mdns User Guide
API
Todo
- 多码率切换
- 外挂字幕