@camera.ui/browser 0.0.51 → 0.0.53

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.
@@ -1,11 +1,11 @@
1
1
  import { BehaviorSubject, Observable } from 'rxjs';
2
2
  import { BrowserStreamingSession } from './streaming/browser/browser-streaming-session';
3
- import { StreamingSession } from './streaming/streaming-session';
4
3
  import { Subscribed } from './utils/subscribed';
5
4
  import type { Camera, CameraInformation, CameraPublicProperties, CameraType, CameraZone } from '../api/database/types';
6
5
  import type { Frame } from '../detector/types';
7
6
  import type { IceServer } from '../services/config/types';
8
7
  import type { AudioState, BaseLogger, BatteryState, CameraDelegate, CameraPrebufferDelegate, CameraSource, DoorbellState, FfmpegOptions, LightState, MotionState, ObjectState, OnSetEvent, SirenState, StateValues, StreamingConnectionOptions } from './types';
8
+ type StreamingSession = InstanceType<typeof import('./streaming/streaming-session').StreamingSession>;
9
9
  export type CameraDevice = ServerCameraDeviceBase | BrowserCameraDeviceBase;
10
10
  export declare abstract class CameraDeviceBase extends Subscribed {
11
11
  protected logger: BaseLogger;
@@ -88,3 +88,4 @@ export declare abstract class ServerCameraDeviceBase extends CameraDeviceBase {
88
88
  export declare abstract class BrowserCameraDeviceBase extends CameraDeviceBase {
89
89
  createBrowserSession(sourceName: string, videoElement: HTMLVideoElement): Promise<BrowserStreamingSession>;
90
90
  }
91
+ export {};
@@ -46,7 +46,6 @@ export interface PluginStorage {
46
46
  configFile: string;
47
47
  }
48
48
  export interface ProcessLoadMessage {
49
- publicKey: string;
50
49
  cameras: Camera[];
51
50
  pluginId: string;
52
51
  storage: PluginStorage;
@@ -8,6 +8,7 @@ export interface Runtime {
8
8
  }
9
9
  export declare const enum RUNTIME_STATUS {
10
10
  READY = "ready",
11
+ RESTARTING = "restarting",
11
12
  STARTING = "starting",
12
13
  STARTED = "started",
13
14
  STOPPED = "stopped",
@@ -8,5 +8,5 @@ export * from '../../server/src/camera/types';
8
8
  export * from '../../server/src/detector/types';
9
9
  export * from '../../server/src/go2rtc/types';
10
10
  export * from '../../server/src/plugins/types';
11
- export * from '../../server/src/proxy/types';
12
11
  export * from '../../server/src/services/config/types';
12
+ export * from '../../server/src/test/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camera.ui/browser",
3
- "version": "0.0.51",
3
+ "version": "0.0.53",
4
4
  "description": "camera.ui browser client",
5
5
  "author": "seydx (https://github.com/seydx/camera.ui)",
6
6
  "module": "./dist/bundle.js",
package/empty.js DELETED
File without changes