Initial commit

This commit is contained in:
hensm
2018-06-08 04:56:02 +01:00
commit d815fb7af0
70 changed files with 8370 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
"use strict";
import { Capability
, ReceiverType } from "../enums";
// https://developers.google.com/cast/docs/reference/chrome/chrome.cast.Receiver
export default class Receiver {
constructor (
label
, friendlyName
, opt_capabilities = [
Capability.VIDEO_OUT
, Capability.AUDIO_OUT ]
, opt_volume = null) {
this.capabilities = opt_capabilities;
this.displayStatus = null;
this.friendlyName = friendlyName;
this.isActiveInput = null;
this.label = label;
this.receiverType = ReceiverType.CAST;
this.volume = opt_volume;
}
};