> For the complete documentation index, see [llms.txt](https://docs.arcware.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arcware.cloud/web-integration/migration-from-arcware-webrtc-plugin.md).

# Migration from @arcware/webrtc-plugin

## **Overview**

The <mark style="color:purple;">`@arcware-cloud/pixelstreaming-websdk`</mark> package is an advanced, feature-rich library for integrating Unreal Engine's Pixel Streaming technology into web applications. It offers a more streamlined and flexible approach compared to the older <mark style="color:orange;">`@arcware/webrtc-plugin`</mark> package.

***

## **Key Differences**

1. **Package Scope and Features**:
   * <mark style="color:orange;">`@arcware/webrtc-plugin`</mark> primarily focuses on establishing WebRTC connections.
   * <mark style="color:purple;">`@arcware-cloud/pixelstreaming-websdk`</mark> extends functionality to include full Pixel Streaming integration, offering a more comprehensive set of tools for interaction with Unreal Engine applications.
2. **API Design**:
   * The new package offers a more modern, modular API design, making it easier to integrate and scale with web applications.
3. **Performance and Optimization**:
   * Enhanced performance optimizations are present in the new package, ensuring smoother streaming and interaction experiences.

***

## **Installation**

Replace the old package with the new one in your project:

```bash
npm uninstall @arcware/webrtc-plugin
npm install @arcware-cloud/pixelstreaming-websdk
```

***

## **Basic Usage Changes**

<mark style="color:blue;">**Initialization**</mark><mark style="color:blue;">:</mark>

* Old package:

  ```javascript
  import { WebRTC } from '@arcware/webrtc-plugin';
  const webrtc = new WebRTC(config);
  ```
* New package:

  ```javascript
  import { ArcwareInit } from '@arcware-cloud/pixelstreaming-websdk';
  const { Application } = ArcwareInit(config);
  ```

***

<mark style="color:blue;">**Configuration**</mark><mark style="color:blue;">:</mark>

* The configuration object structure may have changed. Review the new package's documentation for the updated configuration format.

{% content-ref url="/pages/ENvgIEPXJnRNZDdcwSCh" %}
[Configuration](/web-integration/new-websdk/configuration.md)
{% endcontent-ref %}

***

## **Testing**

After integrating the new package, thoroughly test your application to ensure all functionalities work as expected. Pay special attention to:

* Connection stability and video quality.
* Interaction latency and responsiveness.
* Compatibility across different browsers and devices.

***

## Conclusion

Migrating to `@arcware-cloud/pixelstreaming-websdk` provides access to improved features and performance optimizations for Unreal Engine's Pixel Streaming in web applications. The migration process involves updating package dependencies, refactoring code to match the new API, and thorough testing to ensure seamless integration.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.arcware.cloud/web-integration/migration-from-arcware-webrtc-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
