@luxonis/visualizer-protobuf 2.5.4 → 2.5.6
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/dist/{index-CS9cu-5g.js → index-89YCazWG.js} +1 -1
- package/dist/{index-DedIk6DA.js → index-B4o9a1n_.js} +1 -1
- package/dist/{index-BQBi6b-t.js → index-B8UGfla8.js} +1 -1
- package/dist/{index-CtpYmrmN.js → index-BOAIViSJ.js} +1 -1
- package/dist/{index-BhCbTqlX.js → index-BeNRqCFC.js} +1 -1
- package/dist/{index-Cdp8cCo6.js → index-BrvuZQ_E.js} +2 -2
- package/dist/{index-eMY8qA9H.js → index-C0jZCANM.js} +1 -1
- package/dist/{index-DwdAN0qE.js → index-CDccWnW9.js} +1 -1
- package/dist/{index-DjBee7FP.js → index-CUnNmylg.js} +1 -1
- package/dist/{index-D5xZkC0J.js → index-CYelpAhZ.js} +1 -1
- package/dist/{index-BVwl4LOm.js → index-CeWzkhX1.js} +1 -1
- package/dist/{index-Bhl0OuAf.js → index-Cz6V15b9.js} +1 -1
- package/dist/{index-BDjfOYa1.js → index-DIQH2Erp.js} +1 -1
- package/dist/{index-SZ7_8mhQ.js → index-DMy7yvqS.js} +1 -1
- package/dist/{index-gp7K5N9p.js → index-D_jasVzy.js} +1 -1
- package/dist/{index-DkTOyULm.js → index-DxHiUtpr.js} +1 -1
- package/dist/{index-CIOmYd0E.js → index-REUgtNfz.js} +1 -1
- package/dist/{index-CbXkpFzc.js → index-XsWbT5Fc.js} +1 -1
- package/dist/{index-BpvhHQJ5.js → index-ez0X5F56.js} +56 -24
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aq as styleTags, ar as tags, as as LRLanguage, at as LanguageSupport, av as LRParser, aD as LocalTokenGroup, aK as html, aL as parseMixed, aN as javascriptLanguage } from './index-
|
|
1
|
+
import { aq as styleTags, ar as tags, as as LRLanguage, at as LanguageSupport, av as LRParser, aD as LocalTokenGroup, aK as html, aL as parseMixed, aN as javascriptLanguage } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aq as styleTags, ar as tags, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, aH as defineCSSCompletionSource, at as LanguageSupport, av as LRParser, au as ExternalTokenizer } from './index-
|
|
1
|
+
import { aq as styleTags, ar as tags, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, aH as defineCSSCompletionSource, at as LanguageSupport, av as LRParser, au as ExternalTokenizer } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aI as EditorView, aJ as EditorSelection, as as LRLanguage, aq as styleTags, ar as tags, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, at as LanguageSupport, av as LRParser, ay as syntaxTree, aK as html, aL as parseMixed, au as ExternalTokenizer } from './index-
|
|
1
|
+
import { aI as EditorView, aJ as EditorSelection, as as LRLanguage, aq as styleTags, ar as tags, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, at as LanguageSupport, av as LRParser, ay as syntaxTree, aK as html, aL as parseMixed, au as ExternalTokenizer } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, ay as syntaxTree, aw as ifNotIn, as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aF as IterMode, ax as completeFromList, aG as NodeWeakMap, aE as snippetCompletion } from './index-
|
|
1
|
+
import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, ay as syntaxTree, aw as ifNotIn, as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aF as IterMode, ax as completeFromList, aG as NodeWeakMap, aE as snippetCompletion } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { useReducer, useRef, useCallback, useLayoutEffect, Component, useContext, useState, useEffect, createContext, forwardRef, createElement, cloneElement, useMemo, Profiler, StrictMode } from 'react';
|
|
3
3
|
import ReactDOM__default from 'react-dom';
|
|
4
|
-
import { i as isSymbol, t as toString, k as keys, g as getSymbols$1, s as stubArray, a as arrayPush, b as baseGetAllKeys, c as getTag, d as getAllKeys, e as createAggregator, f as baseGet, h as baseIteratee, j as castPath, l as toKey, m as flatRest, n as arrayMap$1, o as baseSet, p as baseUniq, q as baseFlatten, r as generateUtilityClass, A as AnalyticsContext, u as useMustNotChange, P as PropTypes, v as useCurrentLayoutActions, w as useCurrentLayoutSelector, x as reportError, y as AppError, E as ErrorDisplay, S as Stack$1, z as makeStyles$1, _ as _extends$1, L as Logger, B as useGuaranteedContext, W as WorkspaceContext, C as useAnalytics, D as AppEvent, F as LeftSidebarItemKeys, R as RightSidebarItemKeys, G as usePanelMosaicId, H as useTranslation, I as usePanelCatalog, J as EmptyState, K as isEmpty, M as PanelContext, N as PanelCatalogContext, O as useSelectedPanels, Q as usePanelStateStore, T as useDefaultPanelTitle, U as PANEL_TITLE_CONFIG_KEY, V as noop$4, X as getPanelTypeFromId, Y as useWorkspaceStore, Z as useShallowMemo, $ as TAB_PANEL_TYPE, a0 as WorkspaceStoreSelectors, a1 as difference, a2 as filterMap, a3 as dist$3, a4 as usePanelContext, a5 as useMessagePipeline, a6 as v4, a7 as useHoverValue, a8 as useSetHoverValue, a9 as useClearHoverValue, aa as useAppConfiguration, ab as useMessagePipelineGetter, ac as usePanelSettingsTreeUpdate, ad as PlayerCapabilities, ae as useValueChangedDebugLog, af as assertNever, ag as PlayerPresence, ah as typescript, ai as isEqual, aj as isDesktopApp, ak as createTheme, al as propTypesExports, am as useJsonTreeTheme } from './index-
|
|
4
|
+
import { i as isSymbol, t as toString, k as keys, g as getSymbols$1, s as stubArray, a as arrayPush, b as baseGetAllKeys, c as getTag, d as getAllKeys, e as createAggregator, f as baseGet, h as baseIteratee, j as castPath, l as toKey, m as flatRest, n as arrayMap$1, o as baseSet, p as baseUniq, q as baseFlatten, r as generateUtilityClass, A as AnalyticsContext, u as useMustNotChange, P as PropTypes, v as useCurrentLayoutActions, w as useCurrentLayoutSelector, x as reportError, y as AppError, E as ErrorDisplay, S as Stack$1, z as makeStyles$1, _ as _extends$1, L as Logger, B as useGuaranteedContext, W as WorkspaceContext, C as useAnalytics, D as AppEvent, F as LeftSidebarItemKeys, R as RightSidebarItemKeys, G as usePanelMosaicId, H as useTranslation, I as usePanelCatalog, J as EmptyState, K as isEmpty, M as PanelContext, N as PanelCatalogContext, O as useSelectedPanels, Q as usePanelStateStore, T as useDefaultPanelTitle, U as PANEL_TITLE_CONFIG_KEY, V as noop$4, X as getPanelTypeFromId, Y as useWorkspaceStore, Z as useShallowMemo, $ as TAB_PANEL_TYPE, a0 as WorkspaceStoreSelectors, a1 as difference, a2 as filterMap, a3 as dist$3, a4 as usePanelContext, a5 as useMessagePipeline, a6 as v4, a7 as useHoverValue, a8 as useSetHoverValue, a9 as useClearHoverValue, aa as useAppConfiguration, ab as useMessagePipelineGetter, ac as usePanelSettingsTreeUpdate, ad as PlayerCapabilities, ae as useValueChangedDebugLog, af as assertNever, ag as PlayerPresence, ah as typescript, ai as isEqual, aj as isDesktopApp, ak as createTheme, al as propTypesExports, am as useJsonTreeTheme } from './index-ez0X5F56.js';
|
|
5
5
|
import { createStore, useStore } from 'zustand';
|
|
6
6
|
import { MosaicDragType, MosaicContext, MosaicWindowContext, getOtherBranch, getNodeAtPath } from 'react-mosaic-component';
|
|
7
7
|
import { a as getDefaultExportFromCjs, c as commonjsGlobal, g as getAugmentedNamespace, E as EventEmitter } from './FoxgloveServer-DiLI7KZU.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ImagePanel } from './index-
|
|
1
|
+
import { ImagePanel } from './index-BeNRqCFC.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-ez0X5F56.js';
|
|
5
5
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
6
6
|
import 'protobufjs/minimal';
|
|
7
7
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-
|
|
1
|
+
import { aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-
|
|
1
|
+
import { aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, aq as styleTags, ar as tags, at as LanguageSupport, av as LRParser } from './index-
|
|
1
|
+
import { as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, aq as styleTags, ar as tags, at as LanguageSupport, av as LRParser } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aC as ContextTracker, au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ap as foldNodeProp, aM as bracketMatchingHandle, at as LanguageSupport, aI as EditorView, ay as syntaxTree, aJ as EditorSelection } from './index-
|
|
1
|
+
import { aC as ContextTracker, au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ap as foldNodeProp, aM as bracketMatchingHandle, at as LanguageSupport, aI as EditorView, ay as syntaxTree, aJ as EditorSelection } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, aK as html, at as LanguageSupport, aL as parseMixed } from './index-
|
|
1
|
+
import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, aK as html, at as LanguageSupport, aL as parseMixed } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-
|
|
1
|
+
import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aq as styleTags, ar as tags, aN as javascriptLanguage, as as LRLanguage, at as LanguageSupport, av as LRParser, aK as html, aL as parseMixed, au as ExternalTokenizer } from './index-
|
|
1
|
+
import { aq as styleTags, ar as tags, aN as javascriptLanguage, as as LRLanguage, at as LanguageSupport, av as LRParser, aK as html, aL as parseMixed, au as ExternalTokenizer } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-
|
|
1
|
+
import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aq as styleTags, ar as tags, as as LRLanguage, at as LanguageSupport, au as ExternalTokenizer, av as LRParser, aw as ifNotIn, ax as completeFromList, ay as syntaxTree } from './index-
|
|
1
|
+
import { an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aq as styleTags, ar as tags, as as LRLanguage, at as LanguageSupport, au as ExternalTokenizer, av as LRParser, aw as ifNotIn, ax as completeFromList, ay as syntaxTree } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, aD as LocalTokenGroup, aE as snippetCompletion, ay as syntaxTree, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aw as ifNotIn, ax as completeFromList, aF as IterMode, aG as NodeWeakMap } from './index-
|
|
1
|
+
import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, aD as LocalTokenGroup, aE as snippetCompletion, ay as syntaxTree, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aw as ifNotIn, ax as completeFromList, aF as IterMode, aG as NodeWeakMap } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, ap as foldNodeProp, aB as foldInside, an as indentNodeProp, ao as continuedIndent, aH as defineCSSCompletionSource, at as LanguageSupport } from './index-
|
|
1
|
+
import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, ap as foldNodeProp, aB as foldInside, an as indentNodeProp, ao as continuedIndent, aH as defineCSSCompletionSource, at as LanguageSupport } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aC as ContextTracker, au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aL as parseMixed } from './index-
|
|
1
|
+
import { aC as ContextTracker, au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aL as parseMixed } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -12029,6 +12029,9 @@ class WebRtcConnection {
|
|
|
12029
12029
|
this.onIceCandidate = args.onCandidate;
|
|
12030
12030
|
this.onConnectionEstablished = args.onConnectionEstablished;
|
|
12031
12031
|
this.#peerConnection = this.createPeerConnection(args.withFragmentation);
|
|
12032
|
+
console.log("Creating WebRTC Connection");
|
|
12033
|
+
console.log("Ice servers: ", this.iceServers);
|
|
12034
|
+
console.log("With fragmentation?", args.withFragmentation);
|
|
12032
12035
|
}
|
|
12033
12036
|
createPeerConnection(withFragmentation = false) {
|
|
12034
12037
|
console.log("Using ICE servers:", this.iceServers);
|
|
@@ -12088,6 +12091,9 @@ class WebRtcConnection {
|
|
|
12088
12091
|
|
|
12089
12092
|
const ICE_SERVERS_API_ENDPOINT = "https://signal.cloud.luxonis.com/api/v1/turn-credentials";
|
|
12090
12093
|
const DEFAULT_SIGNALING_SERVER_URL = "wss://signal.cloud.luxonis.com/session/";
|
|
12094
|
+
const DEFAULT_ICE_SERVERS = [
|
|
12095
|
+
{ urls: ["stun:stun.l.google.com:19302", "stun:stun1.l.google.com:19302"] },
|
|
12096
|
+
];
|
|
12091
12097
|
class WebRtcClient {
|
|
12092
12098
|
config;
|
|
12093
12099
|
socket;
|
|
@@ -12097,22 +12103,44 @@ class WebRtcClient {
|
|
|
12097
12103
|
iceCandidates = [];
|
|
12098
12104
|
constructor(config) {
|
|
12099
12105
|
this.config = config;
|
|
12100
|
-
|
|
12106
|
+
// If user doesn't provide iceServers and doesn't want to use Luxonis ice servers, use default ice servers
|
|
12107
|
+
if (!config.useLuxonisIceServers && config.iceServers === undefined) {
|
|
12108
|
+
this.config.iceServers = DEFAULT_ICE_SERVERS;
|
|
12109
|
+
}
|
|
12101
12110
|
this.signalingConnectionRetries =
|
|
12102
12111
|
(config.signalingConnectionRetries ?? 3) || 0;
|
|
12112
|
+
console.log("WebRtcClient Configuration:", this.config);
|
|
12103
12113
|
this.connectSignalingServer();
|
|
12104
12114
|
}
|
|
12105
12115
|
async useLuxonisIceServers() {
|
|
12116
|
+
console.log("Using Luxonis ICE servers");
|
|
12106
12117
|
try {
|
|
12107
12118
|
const response = await fetch(ICE_SERVERS_API_ENDPOINT);
|
|
12108
12119
|
const data = (await response.json());
|
|
12109
12120
|
if (data.iceServers) {
|
|
12110
|
-
|
|
12111
|
-
|
|
12121
|
+
if (this.config.iceServers === undefined) {
|
|
12122
|
+
this.config.iceServers = [data.iceServers];
|
|
12123
|
+
}
|
|
12124
|
+
else {
|
|
12125
|
+
this.config.iceServers.push(data.iceServers);
|
|
12126
|
+
}
|
|
12127
|
+
}
|
|
12128
|
+
else {
|
|
12129
|
+
console.error("DAI Connection Error: Retrieved ICE servers are invalid.", data);
|
|
12130
|
+
if (this.config.iceServers === undefined ||
|
|
12131
|
+
this.config.iceServers.length === 0) {
|
|
12132
|
+
console.error("DAI Connection Error: Retrieved ICE servers are invalid and no ICE servers were provided by client, falling back to default.");
|
|
12133
|
+
this.config.iceServers = DEFAULT_ICE_SERVERS;
|
|
12134
|
+
}
|
|
12112
12135
|
}
|
|
12113
12136
|
}
|
|
12114
12137
|
catch (error) {
|
|
12115
|
-
console.error("DAI Connection Error: Cannot retrieve ICE servers
|
|
12138
|
+
console.error("DAI Connection Error: Cannot retrieve ICE servers.", error);
|
|
12139
|
+
if (this.config.iceServers === undefined ||
|
|
12140
|
+
this.config.iceServers.length === 0) {
|
|
12141
|
+
console.error("DAI Connection Error: Retrieved ICE servers are invalid and no ICE servers were provided by client, falling back to default.");
|
|
12142
|
+
this.config.iceServers = DEFAULT_ICE_SERVERS;
|
|
12143
|
+
}
|
|
12116
12144
|
}
|
|
12117
12145
|
}
|
|
12118
12146
|
get signalingServerConnected() {
|
|
@@ -12139,6 +12167,7 @@ class WebRtcClient {
|
|
|
12139
12167
|
connectSignalingServer() {
|
|
12140
12168
|
this.socket = new WebSocket(this.config.signalingServerUrl ?? DEFAULT_SIGNALING_SERVER_URL);
|
|
12141
12169
|
this.socket.onopen = () => {
|
|
12170
|
+
console.log("Signaling: Connected to signaling server");
|
|
12142
12171
|
this.connect();
|
|
12143
12172
|
};
|
|
12144
12173
|
// this.socket.onclose = () => console.debug('[WebRTC] Disconnected from signaling server');
|
|
@@ -12176,6 +12205,7 @@ class WebRtcClient {
|
|
|
12176
12205
|
}
|
|
12177
12206
|
handleSignalingMessage(message) {
|
|
12178
12207
|
if ("AcknowledgeSession" in message) {
|
|
12208
|
+
console.log("Signaling: Received AcknowledgeSession message", message);
|
|
12179
12209
|
if (message.AcknowledgeSession.acknowledge) {
|
|
12180
12210
|
if (this.config.useLuxonisIceServers) {
|
|
12181
12211
|
this.useLuxonisIceServers().then(() => this.createConnection());
|
|
@@ -12196,9 +12226,11 @@ class WebRtcClient {
|
|
|
12196
12226
|
}
|
|
12197
12227
|
}
|
|
12198
12228
|
else if ("Candidate" in message) {
|
|
12229
|
+
console.log("Signaling: Received Candidate message", message);
|
|
12199
12230
|
void this.handleCandidateMessage(message);
|
|
12200
12231
|
}
|
|
12201
12232
|
else if ("Disconnect" in message) {
|
|
12233
|
+
console.log("Signaling: Received Disconnect message", message);
|
|
12202
12234
|
this.dispose("Targed disconnected");
|
|
12203
12235
|
}
|
|
12204
12236
|
}
|
|
@@ -89696,7 +89728,7 @@ function legacy(parser) {
|
|
|
89696
89728
|
return new LanguageSupport(StreamLanguage.define(parser));
|
|
89697
89729
|
}
|
|
89698
89730
|
function sql$1(dialectName) {
|
|
89699
|
-
return import('./index-
|
|
89731
|
+
return import('./index-D_jasVzy.js').then(m => m.sql({ dialect: m[dialectName] }));
|
|
89700
89732
|
}
|
|
89701
89733
|
/**
|
|
89702
89734
|
An array of language descriptions for known language packages.
|
|
@@ -89707,7 +89739,7 @@ const languages = [
|
|
|
89707
89739
|
name: "C",
|
|
89708
89740
|
extensions: ["c", "h", "ino"],
|
|
89709
89741
|
load() {
|
|
89710
|
-
return import('./index-
|
|
89742
|
+
return import('./index-Cz6V15b9.js').then(m => m.cpp());
|
|
89711
89743
|
}
|
|
89712
89744
|
}),
|
|
89713
89745
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89715,7 +89747,7 @@ const languages = [
|
|
|
89715
89747
|
alias: ["cpp"],
|
|
89716
89748
|
extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
|
|
89717
89749
|
load() {
|
|
89718
|
-
return import('./index-
|
|
89750
|
+
return import('./index-Cz6V15b9.js').then(m => m.cpp());
|
|
89719
89751
|
}
|
|
89720
89752
|
}),
|
|
89721
89753
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89735,7 +89767,7 @@ const languages = [
|
|
|
89735
89767
|
name: "Go",
|
|
89736
89768
|
extensions: ["go"],
|
|
89737
89769
|
load() {
|
|
89738
|
-
return import('./index-
|
|
89770
|
+
return import('./index-DxHiUtpr.js').then(m => m.go());
|
|
89739
89771
|
}
|
|
89740
89772
|
}),
|
|
89741
89773
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89750,7 +89782,7 @@ const languages = [
|
|
|
89750
89782
|
name: "Java",
|
|
89751
89783
|
extensions: ["java"],
|
|
89752
89784
|
load() {
|
|
89753
|
-
return import('./index-
|
|
89785
|
+
return import('./index-CDccWnW9.js').then(m => m.java());
|
|
89754
89786
|
}
|
|
89755
89787
|
}),
|
|
89756
89788
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89766,7 +89798,7 @@ const languages = [
|
|
|
89766
89798
|
alias: ["json5"],
|
|
89767
89799
|
extensions: ["json", "map"],
|
|
89768
89800
|
load() {
|
|
89769
|
-
return import('./index-
|
|
89801
|
+
return import('./index-C0jZCANM.js').then(m => m.json());
|
|
89770
89802
|
}
|
|
89771
89803
|
}),
|
|
89772
89804
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89780,14 +89812,14 @@ const languages = [
|
|
|
89780
89812
|
name: "LESS",
|
|
89781
89813
|
extensions: ["less"],
|
|
89782
89814
|
load() {
|
|
89783
|
-
return import('./index-
|
|
89815
|
+
return import('./index-B4o9a1n_.js').then(m => m.less());
|
|
89784
89816
|
}
|
|
89785
89817
|
}),
|
|
89786
89818
|
/*@__PURE__*/LanguageDescription.of({
|
|
89787
89819
|
name: "Liquid",
|
|
89788
89820
|
extensions: ["liquid"],
|
|
89789
89821
|
load() {
|
|
89790
|
-
return import('./index-
|
|
89822
|
+
return import('./index-B8UGfla8.js').then(m => m.liquid());
|
|
89791
89823
|
}
|
|
89792
89824
|
}),
|
|
89793
89825
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89813,7 +89845,7 @@ const languages = [
|
|
|
89813
89845
|
name: "PHP",
|
|
89814
89846
|
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
|
|
89815
89847
|
load() {
|
|
89816
|
-
return import('./index-
|
|
89848
|
+
return import('./index-CeWzkhX1.js').then(m => m.php());
|
|
89817
89849
|
}
|
|
89818
89850
|
}),
|
|
89819
89851
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89830,28 +89862,28 @@ const languages = [
|
|
|
89830
89862
|
extensions: ["BUILD", "bzl", "py", "pyw"],
|
|
89831
89863
|
filename: /^(BUCK|BUILD)$/,
|
|
89832
89864
|
load() {
|
|
89833
|
-
return import('./index-
|
|
89865
|
+
return import('./index-BOAIViSJ.js').then(m => m.python());
|
|
89834
89866
|
}
|
|
89835
89867
|
}),
|
|
89836
89868
|
/*@__PURE__*/LanguageDescription.of({
|
|
89837
89869
|
name: "Rust",
|
|
89838
89870
|
extensions: ["rs"],
|
|
89839
89871
|
load() {
|
|
89840
|
-
return import('./index-
|
|
89872
|
+
return import('./index-DMy7yvqS.js').then(m => m.rust());
|
|
89841
89873
|
}
|
|
89842
89874
|
}),
|
|
89843
89875
|
/*@__PURE__*/LanguageDescription.of({
|
|
89844
89876
|
name: "Sass",
|
|
89845
89877
|
extensions: ["sass"],
|
|
89846
89878
|
load() {
|
|
89847
|
-
return import('./index-
|
|
89879
|
+
return import('./index-REUgtNfz.js').then(m => m.sass({ indented: true }));
|
|
89848
89880
|
}
|
|
89849
89881
|
}),
|
|
89850
89882
|
/*@__PURE__*/LanguageDescription.of({
|
|
89851
89883
|
name: "SCSS",
|
|
89852
89884
|
extensions: ["scss"],
|
|
89853
89885
|
load() {
|
|
89854
|
-
return import('./index-
|
|
89886
|
+
return import('./index-REUgtNfz.js').then(m => m.sass());
|
|
89855
89887
|
}
|
|
89856
89888
|
}),
|
|
89857
89889
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89882,7 +89914,7 @@ const languages = [
|
|
|
89882
89914
|
name: "WebAssembly",
|
|
89883
89915
|
extensions: ["wat", "wast"],
|
|
89884
89916
|
load() {
|
|
89885
|
-
return import('./index-
|
|
89917
|
+
return import('./index-CUnNmylg.js').then(m => m.wast());
|
|
89886
89918
|
}
|
|
89887
89919
|
}),
|
|
89888
89920
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89890,7 +89922,7 @@ const languages = [
|
|
|
89890
89922
|
alias: ["rss", "wsdl", "xsd"],
|
|
89891
89923
|
extensions: ["xml", "xsl", "xsd", "svg"],
|
|
89892
89924
|
load() {
|
|
89893
|
-
return import('./index-
|
|
89925
|
+
return import('./index-CYelpAhZ.js').then(m => m.xml());
|
|
89894
89926
|
}
|
|
89895
89927
|
}),
|
|
89896
89928
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89898,7 +89930,7 @@ const languages = [
|
|
|
89898
89930
|
alias: ["yml"],
|
|
89899
89931
|
extensions: ["yaml", "yml"],
|
|
89900
89932
|
load() {
|
|
89901
|
-
return import('./index-
|
|
89933
|
+
return import('./index-XsWbT5Fc.js').then(m => m.yaml());
|
|
89902
89934
|
}
|
|
89903
89935
|
}),
|
|
89904
89936
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -90694,13 +90726,13 @@ const languages = [
|
|
|
90694
90726
|
name: "Vue",
|
|
90695
90727
|
extensions: ["vue"],
|
|
90696
90728
|
load() {
|
|
90697
|
-
return import('./index-
|
|
90729
|
+
return import('./index-89YCazWG.js').then(m => m.vue());
|
|
90698
90730
|
}
|
|
90699
90731
|
}),
|
|
90700
90732
|
/*@__PURE__*/LanguageDescription.of({
|
|
90701
90733
|
name: "Angular Template",
|
|
90702
90734
|
load() {
|
|
90703
|
-
return import('./index-
|
|
90735
|
+
return import('./index-DIQH2Erp.js').then(m => m.angular());
|
|
90704
90736
|
}
|
|
90705
90737
|
})
|
|
90706
90738
|
];
|
|
@@ -161605,7 +161637,7 @@ const Panel = ({
|
|
|
161605
161637
|
}, children))))));
|
|
161606
161638
|
};
|
|
161607
161639
|
|
|
161608
|
-
const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-
|
|
161640
|
+
const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-BrvuZQ_E.js'));
|
|
161609
161641
|
const ImagePanelBody = ({
|
|
161610
161642
|
topic
|
|
161611
161643
|
}) => {
|
|
@@ -161640,7 +161672,7 @@ const ImagePanel = /*#__PURE__*/React__default.memo(function ImagePanel(props) {
|
|
|
161640
161672
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
161641
161673
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
161642
161674
|
|
|
161643
|
-
const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-
|
|
161675
|
+
const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-BeNRqCFC.js'));
|
|
161644
161676
|
const PointCloudPanelBody = ({
|
|
161645
161677
|
topic
|
|
161646
161678
|
}) => {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aR as ImagePanel, aQ as PanelLayout, aS as PointCloudPanel, aO as VisualizerConnection, aP as VisualizerContext } from './index-
|
|
1
|
+
export { aR as ImagePanel, aQ as PanelLayout, aS as PointCloudPanel, aO as VisualizerConnection, aP as VisualizerContext } from './index-ez0X5F56.js';
|
|
2
2
|
import './FoxgloveServer-DiLI7KZU.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxonis/visualizer-protobuf",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "RobotHub Visualizer Library",
|
|
6
6
|
"author": "Luxonis Corp",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@emotion/react": "11.11.3",
|
|
17
17
|
"@emotion/styled": "11.11.0",
|
|
18
18
|
"@luxonis/common-fe-components": "1.9.5",
|
|
19
|
-
"@luxonis/remote-connection": "2.
|
|
19
|
+
"@luxonis/remote-connection": "2.4.0",
|
|
20
20
|
"@mui/icons-material": "5.15.5",
|
|
21
21
|
"@mui/material": "5.15.6",
|
|
22
22
|
"color": "^4.2.3",
|