@webex/web-media-effects-types
TypeScript icon, indicating that this package has built-in type declarations

2.27.0 • Public • Published

@webex/web-media-effects-types

TypeScript definitions for the @webex/web-media-effects package.

Overview

This package provides TypeScript definitions for the @webex/web-media-effects library. It is designed to be used by developers who require only the type definitions without importing the entire @webex/web-media-effects library.

Installation

You can install the types package using npm or yarn:

npm install @webex/web-media-effects-types --save-dev
# or
yarn add @webex/web-media-effects-types --dev

Usage

After installation, you can use the types in your TypeScript projects. Here’s an example of how to import and use the types:

import { VirtualBackgroundEffect, NoiseReductionEffect, VirtualBackgroundEffectOptions, NoiseReductionEffectOptions } from '@webex/web-media-effects-types';

const virtualBackgroundOptions: VirtualBackgroundEffectOptions = {
  authToken: 'YOUR_AUTH_TOKEN',
  mode: 'BLUR',
  blurStrength: 'STRONG',
  quality: 'LOW'
};

const virtualBackgroundEffect = new VirtualBackgroundEffect(virtualBackgroundOptions);

const noiseReductionOptions: NoiseReductionEffectOptions = {
  authToken: 'YOUR_AUTH_TOKEN',
  mode: 'WORKLET',
  workletProcessorUrl: 'https://your-worklet-processor-url'
};

const noiseReductionEffect = new NoiseReductionEffect(noiseReductionOptions);

License

This project is licensed under the terms of the SEE LICENSE IN LICENSE.md.

Repository

The source code for these types is available at: GitHub - @webex/web-media-effects

Readme

Keywords

none

Package Sidebar

Install

npm i @webex/web-media-effects-types

Weekly Downloads

174

Version

2.27.0

License

SEE LICENSE IN LICENSE.md

Unpacked Size

25 kB

Total Files

4

Last publish

Collaborators

  • npm.tropo
  • webex-jenkins
  • arun3528
  • adamweeks
  • taymoork2
  • webex-components-publisher
  • webex-web-client
  • webex-web-client-gen