Video Element
Initialization
const config = new ArcwareConfig({ /** ... */ });
const pixelStreaming = new ArcwarePixelStreaming(config);
const application = new ArcwareApplication({ stream: pixelStreaming });
// or
const { Application } = ArcwareInit(/** ... */);Embedding the Video
const container = document.querySelector(`#${containerId}`);
if (!container) throw new Error("Container is undefined.");
// Append the root element of the application to the container
container.appendChild(application.rootElement);Last updated