Hierarchy

  • Source

Implements

Index

Constructors

constructor

  • new Source(sourceId: string): Source

Properties

audio

audio: boolean

Optional channel

channel: number

doNotDuplicate

doNotDuplicate: boolean

height

height: number

muted

muted: boolean

name

name: string

resourceId

resourceId: string

scenesService

scenesService: ScenesService

sourceId

sourceId: string

sourceState

sourceState: ISource

Protected sourcesService

sourcesService: SourcesService

type

video

video: boolean

width

width: number

Methods

duplicate

getModel

getObsInput

  • getObsInput(): IInput

getPropertiesFormData

  • getPropertiesFormData(): TFormData

getPropertiesManagerSettings

  • getPropertiesManagerSettings(): Dictionary<any>

getPropertiesManagerType

getPropertiesManagerUI

  • getPropertiesManagerUI(): string

getSettings

  • getSettings(): Dictionary<any>

hasProps

  • hasProps(): boolean

remove

  • remove(): void

replacePropertiesManager

  • Replaces the current properties manager on a source

    Parameters

    • type: TPropertiesManager

      the type of the new properties manager

    • settings: Dictionary<any>

      the properties manager settings

    Returns void

setName

  • setName(newName: string): void

setPropertiesFormData

  • setPropertiesFormData(properties: TFormData): void

setPropertiesManagerSettings

  • setPropertiesManagerSettings(settings: Dictionary<any>): void

updateSettings

  • updateSettings(settings: Dictionary<any>): void