Skip to content

Properties

SReject edited this page Mar 2, 2021 · 6 revisions

The following is a list of properties of the window.obsstudio object.

.pluginVersion - string

The OBS Browser version

.libraryVersion - string

The obsstudio.js library version

.isReady - promise

A promise that resolves once the library has received the current scene and status from the OBS Browser interface

.state - StateObject

The current state of obs as tracked by the library

.STATE - Object<key:StateEnum>

A list of human-readable values of the StateEnum.
This is provided so as to keep "magic numbers" out of code.

{
    STOPPED:  0,
    STARTING: 1,
    STARTED:  2,
    STOPPING: 3
}

Clone this wiki locally