0.1.14 • Published 12 months ago

@luxonis/visualizer v0.1.14

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
12 months ago

Luxonis | Visualizer library

Visualize your streams and data with ease

Usage Example

export const App: React.FC = () => {
  const [connections, setConnections] = React.useState<WebRtcConnection[]>([]);

  React.useEffect(() => {
    const newConnection = new WebRtcConnection({
      clientId: "YOUR-CLIENT-ID",
      applicationIdentifier: "YOUR-APPLICATION-IDENTIFIER",
      authPayload: "YOUR-AUTH-PAYLOAD",
      iceServers: [
        {
          urls: ["turn:example.url:1234"],
          username: "EXAMPLE-USERNAME",
          credential: "EXAMPLE-CREDENTIAL",
        },
      ],
    });

    setConnections([newConnection]);
  }, []);

  return (
    <VisualizerFlatContext connections={connections}>
      <CanvasPanel imageTopic="/cam/color" width={1280} height={800} />
    </VisualizerFlatContext>
  );
};

Development

  • Run yarn build under ./apps/depthai-visualizer/src/frontend to build
0.1.14

12 months ago

0.1.13

12 months ago

0.1.12

12 months ago

0.1.11

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago