Skip to content

ISourceReplay

Defined in: core/source/ireplay.ts:11

getChannel(): Promise<string>

Defined in: core/source/ireplay.ts:17

return: Promise

Gets the name of the stream/channel tied to the replay.

Promise<string>


getHotkey(): Promise<number>

Defined in: core/source/ireplay.ts:36

return: Promise

Gets the hotkey, in numerical value, used to toggle start/stop of the replay.

See conversion from keycode: #system/Replay Replay Class

Promise<number>


getReplayState(): Promise<number>

Defined in: core/source/ireplay.ts:90

return: Promise

Gets the replay state, may return any of the following: 0 - playing 1 - not playing -1 - no stream exists -2 - stream exists but cannot be tied to a replay

Promise<number>


getReplayTime(): Promise<number>

Defined in: core/source/ireplay.ts:55

return: Promise

Gets the duration, or buffer time for the replay

Promise<number>


isAutostartOnSceneLoad(): Promise<boolean>

Defined in: core/source/ireplay.ts:98

return: Promise

Checks whether this source is set to start playback when the application switches to this source’s scene.

Promise<boolean>


setAutostartOnSceneLoad(value): Promise<ISourceReplay>

Defined in: core/source/ireplay.ts:108

param: (value: boolean)

Specifies whether this source is set to start playback when the application switches to this source’s scene.

Chainable.

boolean

Promise<ISourceReplay>


setChannel(channel): Promise<ISourceReplay>

Defined in: core/source/ireplay.ts:27

param: (channel: string)

return: Promise<ISourceReplay>

Sets the stream/channel tied to the replay via its name.

string

Promise<ISourceReplay>


setHotkey(hotkey): Promise<ISourceReplay>

Defined in: core/source/ireplay.ts:48

param: (hotkey: number)

return: Promise<ISourceReplay>

Sets the hotkey, in numerical value, used to toggle start/stop of the replay.

See conversion from keycode: #system/Replay Replay Class

number

Promise<ISourceReplay>


setReplayTime(buffer): Promise<ISourceReplay>

Defined in: core/source/ireplay.ts:65

param: (time: number)

return: Promise<ISourceReplay>

Sets the duration, or buffer time for the replay

number

Promise<ISourceReplay>


startReplay(): Promise<ISourceReplay>

Defined in: core/source/ireplay.ts:72

return: Promise

Start playing of the buffered replay

Promise<ISourceReplay>


stopReplay(): Promise<ISourceReplay>

Defined in: core/source/ireplay.ts:79

return: Promise

Stop playing of the buffered replay

Promise<ISourceReplay>