Hierarchy

Implements

Index

Constructors

constructor

Properties

obsApiService

obsApiService: ObsApiService

powerSaveId

powerSaveId: number

serviceName

serviceName: string = this.constructor.name

settingsService

settingsService: SettingsService

streamingStateChange

streamingStateChange: Subject<void> = new Subject<void>()

streamingStatusChange

streamingStatusChange: Subject<EStreamingState> = new Subject<EStreamingState>()

usageStatisticsService

usageStatisticsService: UsageStatisticsService

windowsService

windowsService: WindowsService

Static hasInstance

hasInstance: boolean = false

Static isSingleton

isSingleton: boolean = true

Static serviceAfterInit

serviceAfterInit: Subject<Service> = new Subject<Service>()

lifecycle hook

Accessors

delayEnabled

  • get delayEnabled(): boolean

delaySeconds

  • get delaySeconds(): number

delaySecondsRemaining

  • get delaySecondsRemaining(): number

formattedDurationInCurrentStreamingState

  • get formattedDurationInCurrentStreamingState(): string
  • Gives a formatted time that the streaming output has been in its current state.

    Returns string

isRecording

  • get isRecording(): boolean

isStreaming

  • get isStreaming(): boolean

state

store

  • get store(): Store<any>

streamingStateChangeTime

  • get streamingStateChangeTime(): Moment

Static instance

  • get instance(): any

Methods

Protected afterInit

  • afterInit(): void
  • calls only once per application life all observers are ready to listen service's events

    Returns void

getModel

init

  • init(): void

Protected mounted

  • mounted(): void

showEditStreamInfo

  • showEditStreamInfo(): void

startRecording

  • startRecording(): void

startStreaming

  • startStreaming(): void

stopRecording

  • stopRecording(): void

stopStreaming

  • stopStreaming(): void

toggleRecording

  • toggleRecording(): void

toggleStreaming

  • toggleStreaming(): void

Static createInstance

  • createInstance(ServiceClass: any): any

Static getResourceId

  • getResourceId(resource: any): string

Static getStore

  • getStore(): Store<any>

Static setupInitFunction

  • setupInitFunction(fn: function): void

Static setupProxy

  • setupProxy(fn: function): void

Static setupVuexStore

  • setupVuexStore(store: Store<any>): void

Object literals

Static initialState

initialState: object

recordingStatus

recordingStatus: ERecordingState = ERecordingState.Offline

recordingStatusTime

recordingStatusTime: string = new Date().toISOString()

streamingStatus

streamingStatus: EStreamingState = EStreamingState.Offline

streamingStatusTime

streamingStatusTime: string = new Date().toISOString()