0.1.14 • Published 10 months ago
@luxonis/visualizer v0.1.14
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
10 months ago
0.1.13
10 months ago
0.1.12
10 months ago
0.1.11
11 months ago
0.1.10
11 months ago
0.1.9
11 months ago
0.1.8
11 months ago
0.1.7
11 months ago
0.1.6
11 months ago
0.1.5
11 months ago
0.1.4
11 months ago
0.1.3
11 months ago
0.1.2
11 months ago
0.1.1
11 months ago
0.1.0
11 months ago
0.0.2
11 months ago
0.0.1
11 months ago