@ray-js/ipc-player-integration 0.0.16-beta-1 → 0.0.16-beta-2
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/lib/interface.d.ts +1 -13
- package/lib/interface.js +0 -14
- package/package.json +1 -1
package/lib/interface.d.ts
CHANGED
|
@@ -10,19 +10,7 @@ export type IpcContext = {
|
|
|
10
10
|
};
|
|
11
11
|
export type RetAtom<T> = PrimitiveAtom<T> & WithInitialValue<T>;
|
|
12
12
|
export type ScreenType = 'full' | 'vertical';
|
|
13
|
-
export
|
|
14
|
-
'BatteryFull' = "BatteryFull",
|
|
15
|
-
'TempHumidity' = "TempHumidity",
|
|
16
|
-
'VideoBitKBP' = "VideoBitKBP",
|
|
17
|
-
'FullSmallIntercom' = "FullSmallIntercom",
|
|
18
|
-
'Screenshot' = "Screenshot",
|
|
19
|
-
'RecordVideo' = "RecordVideo",
|
|
20
|
-
'Muted' = "Muted",
|
|
21
|
-
'VerticalSmallIntercom' = "VerticalSmallIntercom",
|
|
22
|
-
'Ptz' = "Ptz",
|
|
23
|
-
'Resolution' = "Resolution",
|
|
24
|
-
'FullScreen' = "FullScreen"
|
|
25
|
-
}
|
|
13
|
+
export type WidgetId = 'BatteryFull' | 'TempHumidity' | 'VideoBitKBP' | 'FullSmallIntercom' | 'Screenshot' | 'RecordVideo' | 'Muted' | 'VerticalSmallIntercom' | 'Ptz' | 'Resolution' | 'FullScreen';
|
|
26
14
|
export declare const enum PlayerStreamStatus {
|
|
27
15
|
UnknownException = -1000,
|
|
28
16
|
ConnectSuccess = 1001,
|
package/lib/interface.js
CHANGED
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
export { IntercomMode } from './ports.output';
|
|
2
|
-
export let WidgetId = /*#__PURE__*/function (WidgetId) {
|
|
3
|
-
WidgetId["BatteryFull"] = "BatteryFull";
|
|
4
|
-
WidgetId["TempHumidity"] = "TempHumidity";
|
|
5
|
-
WidgetId["VideoBitKBP"] = "VideoBitKBP";
|
|
6
|
-
WidgetId["FullSmallIntercom"] = "FullSmallIntercom";
|
|
7
|
-
WidgetId["Screenshot"] = "Screenshot";
|
|
8
|
-
WidgetId["RecordVideo"] = "RecordVideo";
|
|
9
|
-
WidgetId["Muted"] = "Muted";
|
|
10
|
-
WidgetId["VerticalSmallIntercom"] = "VerticalSmallIntercom";
|
|
11
|
-
WidgetId["Ptz"] = "Ptz";
|
|
12
|
-
WidgetId["Resolution"] = "Resolution";
|
|
13
|
-
WidgetId["FullScreen"] = "FullScreen";
|
|
14
|
-
return WidgetId;
|
|
15
|
-
}({});
|
|
16
2
|
export let PlayerStreamStatus = /*#__PURE__*/function (PlayerStreamStatus) {
|
|
17
3
|
PlayerStreamStatus[PlayerStreamStatus["UnknownException"] = -1000] = "UnknownException";
|
|
18
4
|
// 未知异常
|