Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@dytesdk/background-changer-module

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dytesdk/background-changer-module

Background removal module

latest
Source
npmnpm
Version
1.4.28
Version published
Maintainers
1
Created
Source

background-changer

Warning This package is for the depreciated "dyte-client" SDK For our latest SDKs use https://www.npmjs.com/package/@dytesdk/video-background-transformer

Install

npm install --save @dytesdk/background-changer-module

Usage

import backgroundModule from '@dytesdk/background-changer-module';

<DyteMeeting
          onInit={(meeting: Meeting) => {
                 meeting.modules.initAndAdd(backgroundModule);
          }}
          clientId={clientId}
          meetingConfig={meetingConfig}
        />

To Add your own images

import {createAndGetModule} from '@dytesdk/background-changer-module';

const backgroundModule = createAndGetModule({
  defaultImageUrl: undefined,
  imageUrls: [
    'https://assets.dyte.io/backgrounds/bg_0.jpg',
    'https://assets.dyte.io/backgrounds/bg_1.jpg',
    'https://assets.dyte.io/backgrounds/bg_2.jpg',
    'https://assets.dyte.io/backgrounds/bg_3.jpg',
    'https://assets.dyte.io/backgrounds/bg_4.jpg',
    'https://assets.dyte.io/backgrounds/bg_5.jpg',
    'https://assets.dyte.io/backgrounds/bg_6.jpg',
    'https://assets.dyte.io/backgrounds/bg_7.jpeg',
  ]
});


<DyteMeeting
          onInit={(meeting: Meeting) => {
                 meeting.modules.initAndAdd(backgroundModule);
          }}
          clientId={clientId}
          meetingConfig={meetingConfig}
        />

FAQs

Package last updated on 03 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts