Skip to main content

@sceneify/sources

Index

Type aliases

BrowserSourceSettings

BrowserSourceSettings: { height?: number; reroute_audio?: boolean; url?: string; width?: number }

Type declaration

  • height: number
  • reroute_audio: boolean
  • url: string
  • width: number

ColorSourceSettings

ColorSourceSettings: { color?: number; height?: number; width?: number }

Type declaration

  • color: number
  • height: number
  • width: number

DisplayCaptureSourceSettings

DisplayCaptureSourceSettings: { capture_cursor?: boolean; monitor?: number }

Type declaration

  • capture_cursor: boolean
  • monitor: number

FreetypeTextSourceSettings

FreetypeTextSourceSettings: { antialiasing?: boolean; color1?: number; color2?: number; font?: { face?: string; flags?: number; size?: number; style?: string }; text?: string }

Type declaration

  • antialiasing: boolean
  • color1: number
  • color2: number
  • font: { face?: string; flags?: number; size?: number; style?: string }
    • face: string
    • flags: number
    • size: number
    • style: string
  • text: string

GDIPlusTextSourceSettings

GDIPlusTextSourceSettings: { antialiasing?: boolean; color?: number; file?: string; font?: { face?: string; flags?: number; size?: number; style?: string }; read_from_file?: boolean; text?: string }

Type declaration

  • antialiasing: boolean
  • color: number
  • file: string
  • font: { face?: string; flags?: number; size?: number; style?: string }
    • face: string
    • flags: number
    • size: number
    • style: string
  • read_from_file: boolean
  • text: string

ImageSourceSettings

ImageSourceSettings: { file?: string }

Type declaration

  • file: string

MediaSourceSettings

MediaSourceSettings: { buffering_mb?: number; clear_on_media_end?: boolean; close_when_inactive?: boolean; color_range?: ColorRange; hw_decode?: boolean; input?: string; input_format?: string; is_local_file?: boolean; linear_alpha?: boolean; local_file?: string; looping?: boolean; reconnect_delay_sec?: number; restart_on_activate?: boolean; seekable?: boolean; speed_percent?: number }

Type declaration

  • buffering_mb: number
  • clear_on_media_end: boolean
  • close_when_inactive: boolean
  • color_range: ColorRange
  • hw_decode: boolean
  • input: string
  • input_format: string
  • is_local_file: boolean
  • linear_alpha: boolean
  • local_file: string
  • looping: boolean
  • reconnect_delay_sec: number
  • restart_on_activate: boolean
  • seekable: boolean
  • speed_percent: number

VideoCaptureSourceSettings

VideoCaptureSourceSettings: { buffering?: boolean; device?: string; device_name?: string; use_preset?: boolean }

Type declaration

  • buffering: boolean
  • device: string
  • device_name: string
  • use_preset: boolean