forked from zfkun/node-airplay
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathairplay.js
36 lines (32 loc) · 826 Bytes
/
airplay.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
exports.Browser = require( './airplay/browser' ).Browser;
exports.Device = require( './airplay/device' ).Device;
exports.HLS = require( './airplay/hls' ).HLS;
/**
* create a HLS Server
*
* @param {Object=} options
* @return {HLS} instance of HLS
*/
exports.createHLS = function ( options ) {
return new exports.HLS( options );
};
/**
* create a Browser
*
* @param {Object=} options
* @return {Browser} instance of Browser
*/
exports.createBrowser = function ( options ) {
return new exports.Browser( options );
};
/**
* connect a airplay device
*
* @param {string} host airplay host
* @param {number} port airplay port
* @param {string=} pass pass
* @param {Function=} callback callback function
*/
exports.connect = function ( host, port, pass, callback ) {
throw 'not yet implemented';
};