Skip to content

SourceReplay

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

new SourceReplay(): SourceReplay

SourceReplay

getChannel(): Promise<string>

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

return: Promise

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

Promise<string>

ISourceReplay.getChannel


getHotkey(): Promise<number>

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

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>

ISourceReplay.getHotkey


getReplayState(): Promise<number>

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

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>

ISourceReplay.getReplayState


getReplayTime(): Promise<number>

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

return: Promise

Gets the duration, or buffer time for the replay

Promise<number>

ISourceReplay.getReplayTime


isAutostartOnSceneLoad(): Promise<boolean>

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

return: Promise

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

Promise<boolean>

ISourceReplay.isAutostartOnSceneLoad


setAutostartOnSceneLoad(value): Promise<SourceReplay>

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

param: (value: boolean)

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

Chainable.

boolean

Promise<SourceReplay>

ISourceReplay.setAutostartOnSceneLoad


setChannel(channel): Promise<SourceReplay>

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

param: (channel: string)

return: Promise<ISourceReplay>

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

string

Promise<SourceReplay>

ISourceReplay.setChannel


setHotkey(hotkey): Promise<SourceReplay>

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

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<SourceReplay>

ISourceReplay.setHotkey


setReplayTime(buffer): Promise<SourceReplay>

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

param: (time: number)

return: Promise<ISourceReplay>

Sets the duration, or buffer time for the replay

number

Promise<SourceReplay>

ISourceReplay.setReplayTime


startReplay(): Promise<SourceReplay>

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

return: Promise

Start playing of the buffered replay

Promise<SourceReplay>

ISourceReplay.startReplay


stopReplay(): Promise<SourceReplay>

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

return: Promise

Stop playing of the buffered replay

Promise<SourceReplay>

ISourceReplay.stopReplay