Hierarchy

  • Source

Implements

Index

Constructors

constructor

  • new Source(sourceId: string): Source

Properties

async

async: boolean

audio

audio: boolean

Optional channel

channel: number

doNotDuplicate

doNotDuplicate: boolean

height

height: number

id

id: string

muted

muted: boolean

name

name: string

resourceId

resourceId: string

sourceId

sourceId: string

type

type: TSourceType

video

video: boolean

width

width: number

Methods

duplicate

getModel

getPropertiesFormData

  • getPropertiesFormData(): TObsFormData

getSettings

  • getSettings(): Dictionary<any>

hasProps

  • hasProps(): boolean

refresh

  • refresh(): void

setName

  • setName(newName: string): void

setPropertiesFormData

  • setPropertiesFormData(properties: TObsFormData): void

updateSettings

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