@supraio/client-daemon-js 1.0.0-mzbrightsigndecoder.486 → 1.0.0-mzbrightsigndecoder.489

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supraio/client-daemon-js",
3
- "version": "1.0.0-mzbrightsigndecoder.486",
3
+ "version": "1.0.0-mzbrightsigndecoder.489",
4
4
  "description": "",
5
5
  "main": "sdk.js",
6
6
  "types": "sdk.d.ts",
@@ -14,7 +14,7 @@
14
14
  "lint": "eslint \"**/*.ts\""
15
15
  },
16
16
  "devDependencies": {
17
- "@signageos/brightsign-decoder": "0.1.0-mz-brightsign-decoder.6",
17
+ "@signageos/brightsign-decoder": "0.1.0-mz-brightsign-decoder.8",
18
18
  "@signageos/nacl-decoder": "0.1.1-mz-screen-geometry.14",
19
19
  "@signageos/samsung-wasm-decoder": "0.1.1-mz-screen-geometry.12",
20
20
  "@types/dropboxjs": "0.0.29",
@@ -1,24 +1,15 @@
1
- import type { FrameReference, H264Decoder, TCPCommunication } from "@signageos/brightsign-decoder";
2
- import type { IScreenOptions } from "./options";
1
+ import type { H264Decoder, TCPCommunication } from '@signageos/brightsign-decoder';
2
+ import type { IScreenOptions } from './options';
3
3
  declare global {
4
4
  interface Window {
5
5
  brightSignDecoder?: H264Decoder;
6
6
  brightSignTCP?: TCPCommunication;
7
- brightSignReleaseFrameReference?: (reference: FrameReference) => void;
8
- __supraNativeState?: BrightSignNativeState;
9
7
  }
10
8
  }
11
- interface BrightSignNativeState {
12
- tcp: string;
13
- decoder: string;
14
- lastEvent: string;
15
- lastError: string;
16
- lastDiagnostics: string;
17
- decodeSuccessCount: number;
18
- decodeFailureCount: number;
19
- unloadCount: number;
20
- }
21
9
  export declare function isBrightSignRuntimeAvailable(): boolean;
22
10
  export declare function initBrightSignTCP(): boolean;
23
- export declare function initBrightSignDecoder(options: IScreenOptions): Promise<boolean>;
24
- export {};
11
+ /**
12
+ * Registers the native transport and external-surface decoder selected by the
13
+ * opaque BrightSign TCP backend. Backend tuning remains library-owned.
14
+ */
15
+ export declare function initBrightSignBackend(options: IScreenOptions): Promise<boolean>;
@@ -1,15 +1,3 @@
1
- export interface BrightSignStreamOptions {
2
- noReordering?: boolean;
3
- noForceCapture?: boolean;
4
- streamLatency?: number;
5
- streamJitter?: number;
6
- streamProbe?: 'deep' | 'shallow';
7
- streamUsePcrClock?: boolean;
8
- streamLowLatency?: boolean;
9
- streamBufferSize?: number;
10
- videoFifoSize?: number;
11
- audioFifoSize?: number;
12
- }
13
1
  export interface IEncodingPreferences {
14
2
  preferredQualityIndex?: number;
15
3
  preferredBitrateKbps?: number;
@@ -49,7 +37,5 @@ export interface IScreenOptions {
49
37
  geometry?: IScreenGeometry;
50
38
  interactive: boolean;
51
39
  encodingPreferences?: IEncodingPreferences;
52
- brightSignStreamOptions?: BrightSignStreamOptions;
53
- brightSignDecoderStreamProtocol?: 'HTTP' | 'UDP';
54
40
  control?: import('./control').IScreenControl;
55
41
  }
package/screen.html CHANGED
@@ -5,6 +5,6 @@
5
5
  <link rel="stylesheet" href="screen.css"></link>
6
6
  </head>
7
7
  <body>
8
- <script type="text/javascript" src="screen.js?v=1.0.0-mzbrightsigndecoder.486"></script>
8
+ <script type="text/javascript" src="screen.js?v=1.0.0-mzbrightsigndecoder.489"></script>
9
9
  </body>
10
10
  </html>