# SDK Integration

**URL:** <https://forum.deepar.ai/t/sdk-integration/341>\
**Category:** SDK\
**Created:** [June 19, 2023, 7:42pm UTC](https://forum.deepar.ai/t/sdk-integration/341 "2023-06-19T19:42:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barakus](https://avatars.discourse-cdn.com/v4/letter/b/7993a0/32.png) [@Barakus](https://forum.deepar.ai/u/Barakus)\
**Post date:** [June 19, 2023, 7:42pm UTC](https://forum.deepar.ai/t/sdk-integration/341/1 "2023-06-19T19:42:20Z")

</div>

Hello, I’m trying to integrate the deepar SDK into a web based Webrtc video chat and running into issues since I am using streams as a source vs a camera source. Is there any troubleshooting literature for this application?

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [June 20, 2023, 11:38am UTC](https://forum.deepar.ai/t/sdk-integration/341/2 "2023-06-20T11:38:21Z")

</div>

Here’s a snippet:

```auto
const deepAR = await deepar.initialize({
  // ...
  additionalOptions: {
      cameraConfig: {
          disableDefaultCamera: true
      }
  }
});

// HTMLVideoElement that can contain camera or any video.
const video = ...;

deepAR.setVideoElement(video, true);

```

You can learn more details on the docs page

> **[deepar](https://www.npmjs.com/package/deepar)**
>
> The official DeepAR Web SDK. Latest version: 5.2.0-chromeExtension, last published: a month ago. Start using deepar in your project by running \`npm i deepar\`. There is 1 other project in the npm registry using deepar.

under the Different video sources section
