Getting Started
This guide will walk you through the initial steps to integrate the Arcware Pixel Streaming WebSDK into your web application.
Last updated
This guide will walk you through the initial steps to integrate the Arcware Pixel Streaming WebSDK into your web application.
Last updated
Unreal Engine Setup
Set up Pixel Streaming in your own projectUsing the Arcware Pixel Streaming Template ProjectCommon Unreal Engine QuestionsArcware Features
Screenshot FunctionalityCopyright 2024 - Arcware GmbH
Before integrating the @arcware-cloud/pixelstreaming-websdk
into your project, please ensure the following prerequisites are met:
Share ID
: You must have a valid Share ID set up for your project. This ID is crucial for establishing the connection between your application and the Arcware Cloud pixel streaming service. If you need assistance in setting up your Share ID, please refer to our detailed guide: Setting up Share ID.
Web Application Development Environment
: Ensure that your web application development environment is set up with either yarn
or npm
. These package managers are required for installing the WebSDK.
TypeScript Recommendation
: While the SDK can be used with JavaScript, we strongly recommend using TypeScript in your development process. TypeScript offers enhanced code quality, readability, and will provide you with more intrinsic information during development, often surpassing what traditional documentation can offer.
To integrate the Arcware CloudR Pixel Streaming WebSDK into your project, you can use either npm
or yarn
. Run one of the following commands in your project directory:
We recommend keeping the WebSDK up to date to ensure you have the latest features and bug fixes. Regularly check for and install updates.
If you don't care to much about options and want to jump right in, then you can jump directly to our implementation examples:
With the basic JavaScript & HTML example we'll guide you through the setup process here.
You can either initialize the ArcwareConfig
,ArcwarePixelStreaming
and ArcwareApplication
one by one, or utilize the ArcwareInit
method.
Import ArcwareInit
from the "@arcware-cloud/pixelstreaming-websdk" and configure it to your needs.
Assure you set your prepared Share ID.
More about the configuration options you can find here:
Keep in mind, that setting AutoConnect: true
will directly connect and the client to an instance, no matter if you follow Step 2 directly or not. So use ArcwareInit (or creation of the ArcwarePixelStreaming Instance) either with AutoConnect off or right in time.
Append the stream to the DOM.
After you've successfully integrated the basic streaming functionality, you can explore more advanced features of the SDK to enhance your application.