Options
All
  • Public
  • Public/Protected
  • All
Menu

IO Service allow your to quickly manager your inputs and outputs

Hierarchy

  • IOService

Index

Constructors

constructor

Properties

Optional channel

channel: MediaChannel

Optional input

input: Device

Private inputs

inputs: Device[] = []

onDevicesUpdatedListeners

onDevicesUpdatedListeners: Function[] = []

Optional output

output: Device

Private outputs

outputs: Device[] = []

Private stream

stream: any

volume

volume: number = 100

Methods

Private emitDevicesUpdatedListeners

  • emitDevicesUpdatedListeners(inputChanged: boolean, outputChanged: boolean): void
  • Parameters

    • inputChanged: boolean
    • outputChanged: boolean

    Returns void

Private getDevices

  • getDevices(devices: any): void

getInputs

getOutputs

Private getStream

  • getStream(stream: any): void

Private listenForDevicesUpdate

  • listenForDevicesUpdate(): void

load

meetsRequirement

  • meetsRequirement(): boolean

onDevicesUpdated

  • onDevicesUpdated(fn: Function): void
  • Parameters

    • fn: Function

    Returns void

Private onInputListUpdated

  • onInputListUpdated(): boolean

Private onOutputlistUpdated

  • onOutputlistUpdated(): boolean

setVolume

  • setVolume(vol: number): void
  • Parameters

    • vol: number

    Returns void

useDefaultInput

  • useDefaultInput(): void

useDefaultOutput

  • useDefaultOutput(): void

useInput

  • useInput(device: Device, withRetryIfFailed?: boolean): void
  • Parameters

    • device: Device
    • Default value withRetryIfFailed: boolean = true

    Returns void

useOutput

  • useOutput(device: Device): void

Legend

  • Constructor
  • Property
  • Method
  • Private property
  • Private method
  • Static property
  • Static method
  • Property
  • Protected method

Generated using TypeDoc