jellyfin-web/dashboard-ui/thirdparty/cordova/connectsdk.js
Luke Pulverenti 9fc4c86111 hls updates
2015-05-20 12:28:55 -04:00

22 lines
625 B
JavaScript

(function () {
function initSdk() {
var manager = ConnectSDK.discoveryManager;
//manager.setPairingLevel(ConnectSDK.PairingLevel.OFF);
//manager.setAirPlayServiceMode(ConnectSDK.AirPlayServiceMode.Media);
// Show devices that support playing videos and pausing
//manager.setCapabilityFilters([
// new ConnectSDK.CapabilityFilter(["MediaPlayer.Display.Video", "MediaControl.Pause"])
//]);
manager.startDiscovery();
requirejs(['thirdparty/cordova/chromecast', 'thirdparty/cordova/generaldevice']);
}
Dashboard.ready(initSdk);
})();