UNPKG

communication-react-19

Version:

React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)

24 lines 1.27 kB
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; /** * * Dependency resolution for video background effects using lazy loading. * @public */ export const onResolveDeepNoiseSuppressionDependencyLazy = () => __awaiter(void 0, void 0, void 0, function* () { const module = yield import('@azure/communication-calling-effects'); const audioEffect = { noiseSuppression: new module.DeepNoiseSuppressionEffect() }; return { deepNoiseSuppressionEffect: audioEffect }; }); //# sourceMappingURL=resolveDeepNoiseSuppressionDependencyLazy.js.map