SourceReplay
Defined in: core/source/ireplay.ts:111
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SourceReplay():
SourceReplay
Returns
Section titled “Returns”SourceReplay
Methods
Section titled “Methods”getChannel()
Section titled “getChannel()”getChannel():
Promise<string>
Defined in: core/source/ireplay.ts:123
return: Promise
Gets the name of the stream/channel tied to the replay.
Returns
Section titled “Returns”Promise<string>
Implementation of
Section titled “Implementation of”getHotkey()
Section titled “getHotkey()”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
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”getReplayState()
Section titled “getReplayState()”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
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”getReplayTime()
Section titled “getReplayTime()”getReplayTime():
Promise<number>
Defined in: core/source/ireplay.ts:221
return: Promise
Gets the duration, or buffer time for the replay
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”isAutostartOnSceneLoad()
Section titled “isAutostartOnSceneLoad()”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.
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”ISourceReplay.isAutostartOnSceneLoad
setAutostartOnSceneLoad()
Section titled “setAutostartOnSceneLoad()”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.
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<SourceReplay>
Implementation of
Section titled “Implementation of”ISourceReplay.setAutostartOnSceneLoad
setChannel()
Section titled “setChannel()”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.
Parameters
Section titled “Parameters”channel
Section titled “channel”string
Returns
Section titled “Returns”Promise<SourceReplay>
Implementation of
Section titled “Implementation of”setHotkey()
Section titled “setHotkey()”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
Parameters
Section titled “Parameters”hotkey
Section titled “hotkey”number
Returns
Section titled “Returns”Promise<SourceReplay>
Implementation of
Section titled “Implementation of”setReplayTime()
Section titled “setReplayTime()”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
Parameters
Section titled “Parameters”buffer
Section titled “buffer”number
Returns
Section titled “Returns”Promise<SourceReplay>
Implementation of
Section titled “Implementation of”startReplay()
Section titled “startReplay()”startReplay():
Promise<SourceReplay>
Defined in: core/source/ireplay.ts:275
return: Promise
Start playing of the buffered replay
Returns
Section titled “Returns”Promise<SourceReplay>
Implementation of
Section titled “Implementation of”stopReplay()
Section titled “stopReplay()”stopReplay():
Promise<SourceReplay>
Defined in: core/source/ireplay.ts:292
return: Promise
Stop playing of the buffered replay
Returns
Section titled “Returns”Promise<SourceReplay>