@overwolf/ow-electron-packages-types 1.1.14-beta.3 → 1.1.14-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types.d.ts +8 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overwolf/ow-electron-packages-types",
|
|
3
|
-
"version": "1.1.14-beta.
|
|
3
|
+
"version": "1.1.14-beta.4",
|
|
4
4
|
"description": "Type definition file for autocompletion and documentation purposes for ow-electron packages",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"types": "types.d.ts",
|
package/types.d.ts
CHANGED
|
@@ -4399,7 +4399,7 @@ interface RecordingAppOptions {
|
|
|
4399
4399
|
* | Code | Name | Description |
|
|
4400
4400
|
* | ------- | ---------------------------- | -------------------------------------------------------------------------------- |
|
|
4401
4401
|
* | `-1001` | `Unknown` | Generic unknown error. |
|
|
4402
|
-
* | `-1000` | `ProcessTerminated` | OBS process
|
|
4402
|
+
* | `-1000` | `ProcessTerminated` | OBS process ended: a crash, or a restart after a hung stop. |
|
|
4403
4403
|
* | `-999` | `MissingBinaries` | Missing binaries required for recording. |
|
|
4404
4404
|
* | `-998` | `ConnectionOBSError` | Failed to connect to the OBS process. |
|
|
4405
4405
|
* | `-997` | `AlreadyRunning` | Operation attempted while recording is already running. |
|
|
@@ -4430,7 +4430,7 @@ interface RecordingAppOptions {
|
|
|
4430
4430
|
*/
|
|
4431
4431
|
type ErrorCode =
|
|
4432
4432
|
| -1001 // Generic unknown error. 'Unknown'
|
|
4433
|
-
| -1000 // OBS process
|
|
4433
|
+
| -1000 // OBS process ended: a crash, or a restart after a hung stop. 'ProcessTerminated'
|
|
4434
4434
|
| -999 // Missing binaries required for recording. 'MissingBinaries'
|
|
4435
4435
|
| -998 // Failed to connect to the OBS process. 'ConnectionOBSError'
|
|
4436
4436
|
| -997 // Operation attempted while recording is already running. 'AlreadyRunning'
|
|
@@ -4777,6 +4777,7 @@ interface RecordStopEventArgs extends RecordEventArgs {
|
|
|
4777
4777
|
/**
|
|
4778
4778
|
* The total duration of the video in milliseconds,
|
|
4779
4779
|
* available when the recording ends successfully.
|
|
4780
|
+
* `0` when OBS ended before the recording stopped (`ProcessTerminated`).
|
|
4780
4781
|
*/
|
|
4781
4782
|
duration?: number;
|
|
4782
4783
|
|
|
@@ -4794,6 +4795,7 @@ interface RecordStopEventArgs extends RecordEventArgs {
|
|
|
4794
4795
|
/**
|
|
4795
4796
|
* The epoch timestamp (in milliseconds) representing
|
|
4796
4797
|
* when the recording started.
|
|
4798
|
+
* `0` when OBS ended before the recording stopped (`ProcessTerminated`).
|
|
4797
4799
|
*/
|
|
4798
4800
|
startTimeEpoch?: number;
|
|
4799
4801
|
}
|
|
@@ -4852,11 +4854,13 @@ interface SplitRecordArgs extends RecordEventArgs {
|
|
|
4852
4854
|
interface ReplayVideo extends RecordEventArgs {
|
|
4853
4855
|
/**
|
|
4854
4856
|
* Duration of the replay video in milliseconds.
|
|
4857
|
+
* `0` when OBS ended before the replay was saved (`ProcessTerminated`).
|
|
4855
4858
|
*/
|
|
4856
4859
|
duration: number;
|
|
4857
4860
|
|
|
4858
4861
|
/**
|
|
4859
4862
|
* Epoch UTC timestamp (in milliseconds) of when the replay started (first frame).
|
|
4863
|
+
* `0` when OBS ended before the replay was saved (`ProcessTerminated`).
|
|
4860
4864
|
*/
|
|
4861
4865
|
startTimeEpoch: number;
|
|
4862
4866
|
}
|
|
@@ -4994,7 +4998,8 @@ interface PerformanceWarningArgs {
|
|
|
4994
4998
|
skippedFrames: number;
|
|
4995
4999
|
|
|
4996
5000
|
/**
|
|
4997
|
-
* Number of frames measured
|
|
5001
|
+
* Number of frames measured: frames sent to the encoder for `encoding-lag`,
|
|
5002
|
+
* rendered frames for `rendering-lag`.
|
|
4998
5003
|
*/
|
|
4999
5004
|
totalFrames: number;
|
|
5000
5005
|
}
|