@vonage/ml-transformers 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/docs/.nojekyll +1 -0
- package/dist/docs/assets/highlight.css +85 -0
- package/dist/docs/assets/icons.css +1043 -0
- package/dist/docs/assets/icons.png +0 -0
- package/dist/docs/assets/icons@2x.png +0 -0
- package/dist/docs/assets/main.js +52 -0
- package/dist/docs/assets/search.js +1 -0
- package/dist/docs/assets/style.css +1413 -0
- package/dist/docs/assets/widgets.png +0 -0
- package/dist/docs/assets/widgets@2x.png +0 -0
- package/dist/docs/enums/BlurRadius.html +7 -0
- package/dist/docs/index.html +15 -0
- package/dist/docs/modules.html +30 -0
- package/dist/ml-transformers.es.js +1254 -0
- package/dist/ml-transformers.umd.js +2 -0
- package/dist/models/selfie_segmentation_landscape.tflite +0 -0
- package/dist/tflite-simd.wasm +0 -0
- package/dist/types/main.d.ts +95 -0
- package/dist/types/src/transformers/BackgroundTransformer.d.ts +34 -0
- package/dist/types/src/transformers/BlurPostProcess.d.ts +10 -0
- package/dist/types/src/transformers/PostProcessInterface.d.ts +5 -0
- package/dist/types/src/transformers/Queue.d.ts +13 -0
- package/dist/types/src/transformers/SilueteBlurPostProcess.d.ts +10 -0
- package/dist/types/src/transformers/VideoPostProcess.d.ts +11 -0
- package/dist/types/src/transformers/VirtualPostProcess.d.ts +11 -0
- package/dist/types/src/transformers/VonageTFLite.d.ts +28 -0
- package/dist/types/src/transformers/VonageTransformerConfig.d.ts +1 -0
- package/dist/types/src/types.d.ts +65 -0
- package/dist/types/src/utils/utils.d.ts +6 -0
- package/dist/types/src/vonage/VonageMediaProcessorThread.d.ts +1 -0
- package/dist/types/src/vonage/VonageMediaProcessorWorker.d.ts +10 -0
- package/package.json +65 -0
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>BlurRadius | @vonage/ml-transformers</title><meta name="description" content="Documentation for @vonage/ml-transformers"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@vonage/ml-transformers</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@vonage/ml-transformers</a></li><li><a href="BlurRadius.html">BlurRadius</a></li></ul><h1>Enumeration BlurRadius</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
2
|
+
<p>BlurRadius specifies how much bluring filter to apply by a given transformer.</p>
|
|
3
|
+
</div></div></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Enumeration members</h3><ul class="tsd-index-list"><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="BlurRadius.html#High" class="tsd-kind-icon">High</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="BlurRadius.html#Low" class="tsd-kind-icon">Low</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Enumeration members</h2><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="High" class="tsd-anchor"></a><h3 class="tsd-anchor-link">High<a href="#High" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">High<span class="tsd-signature-symbol"> = "High"</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
4
|
+
<p>High bluring filtering.</p>
|
|
5
|
+
</div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Low" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Low<a href="#Low" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Low<span class="tsd-signature-symbol"> = "Low"</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
6
|
+
<p>Low bluring filtering.</p>
|
|
7
|
+
</div></div></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-enum"><a href="BlurRadius.html" class="tsd-kind-icon">Blur<wbr/>Radius</a><ul><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="BlurRadius.html#High" class="tsd-kind-icon">High</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="BlurRadius.html#Low" class="tsd-kind-icon">Low</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@vonage/ml-transformers</title><meta name="description" content="Documentation for @vonage/ml-transformers"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script async src="assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base="."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">@vonage/ml-transformers</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><h1>@vonage/ml-transformers</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><div class="tsd-panel tsd-typography">
|
|
2
|
+
<a href="#vonage-ml-transformers" id="vonage-ml-transformers" style="color: inherit; text-decoration: none;">
|
|
3
|
+
<h1>Vonage ML Transformers</h1>
|
|
4
|
+
</a>
|
|
5
|
+
|
|
6
|
+
<a href="#what39s-in-here" id="what39s-in-here" style="color: inherit; text-decoration: none;">
|
|
7
|
+
<h2>What's in here?</h2>
|
|
8
|
+
</a>
|
|
9
|
+
<p>JS client library providing Vonage reference implementation for media transformers through ML.</p>
|
|
10
|
+
|
|
11
|
+
<a href="#reference-documentation" id="reference-documentation" style="color: inherit; text-decoration: none;">
|
|
12
|
+
<h2>Reference documentation</h2>
|
|
13
|
+
</a>
|
|
14
|
+
<p>Check out <a href="https://vonage.github.io/ml-transformers">https://vonage.github.io/ml-transformers</a>.</p>
|
|
15
|
+
</div></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class="current"><a href="modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="tsd-kind-enum"><a href="enums/BlurRadius.html" class="tsd-kind-icon">Blur<wbr/>Radius</a></li><li class="tsd-kind-type-alias"><a href="modules.html#AssetBackgroundConfig" class="tsd-kind-icon">Asset<wbr/>Background<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#BackgroundBlurConfig" class="tsd-kind-icon">Background<wbr/>Blur<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#MediaProcessorBaseConfig" class="tsd-kind-icon">Media<wbr/>Processor<wbr/>Base<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#MediaProcessorConfig" class="tsd-kind-icon">Media<wbr/>Processor<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#SilueteBlurConfig" class="tsd-kind-icon">Siluete<wbr/>Blur<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#VideoBackgroundConfig" class="tsd-kind-icon">Video<wbr/>Background<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#VirtualBackgroundConfig" class="tsd-kind-icon">Virtual<wbr/>Background<wbr/>Config</a></li><li class="tsd-kind-function"><a href="modules.html#createVonageMediaProcessorConnector" class="tsd-kind-icon">create<wbr/>Vonage<wbr/>Media<wbr/>Processor<wbr/>Connector</a></li><li class="tsd-kind-function"><a href="modules.html#isSupported" class="tsd-kind-icon">is<wbr/>Supported</a></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="assets/main.js"></script></body></html>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@vonage/ml-transformers</title><meta name="description" content="Documentation for @vonage/ml-transformers"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script async src="assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base="."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">@vonage/ml-transformers</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><h1>@vonage/ml-transformers</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Enumerations</h3><ul class="tsd-index-list"><li class="tsd-kind-enum"><a href="enums/BlurRadius.html" class="tsd-kind-icon">Blur<wbr/>Radius</a></li></ul></section><section class="tsd-index-section "><h3>Type aliases</h3><ul class="tsd-index-list"><li class="tsd-kind-type-alias"><a href="modules.html#AssetBackgroundConfig" class="tsd-kind-icon">Asset<wbr/>Background<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#BackgroundBlurConfig" class="tsd-kind-icon">Background<wbr/>Blur<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#MediaProcessorBaseConfig" class="tsd-kind-icon">Media<wbr/>Processor<wbr/>Base<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#MediaProcessorConfig" class="tsd-kind-icon">Media<wbr/>Processor<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#SilueteBlurConfig" class="tsd-kind-icon">Siluete<wbr/>Blur<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#VideoBackgroundConfig" class="tsd-kind-icon">Video<wbr/>Background<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#VirtualBackgroundConfig" class="tsd-kind-icon">Virtual<wbr/>Background<wbr/>Config</a></li></ul></section><section class="tsd-index-section "><h3>Functions</h3><ul class="tsd-index-list"><li class="tsd-kind-function"><a href="modules.html#createVonageMediaProcessorConnector" class="tsd-kind-icon">create<wbr/>Vonage<wbr/>Media<wbr/>Processor<wbr/>Connector</a></li><li class="tsd-kind-function"><a href="modules.html#isSupported" class="tsd-kind-icon">is<wbr/>Supported</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Type aliases</h2><section class="tsd-panel tsd-member tsd-kind-type-alias"><a id="AssetBackgroundConfig" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Asset<wbr/>Background<wbr/>Config<a href="#AssetBackgroundConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Asset<wbr/>Background<wbr/>Config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>backgroundAssetUri<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
2
|
+
<p>AssetBackgroundConfig specifies the absolute URL to the image or video file used for background replacement.</p>
|
|
3
|
+
</div></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>background<wbr/>Asset<wbr/>Uri<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a id="BackgroundBlurConfig" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Background<wbr/>Blur<wbr/>Config<a href="#BackgroundBlurConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Background<wbr/>Blur<wbr/>Config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>radius<span class="tsd-signature-symbol">?: </span><a href="enums/BlurRadius.html" class="tsd-signature-type" data-tsd-kind="Enumeration">BlurRadius</a><span class="tsd-signature-symbol">; </span>transformerType<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"BackgroundBlur"</span><span class="tsd-signature-symbol"> }</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
4
|
+
<p>BackgroundBlurConfig specifies the configuration for a transformer logic that performs background blurring.</p>
|
|
5
|
+
</div></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> radius<span class="tsd-signature-symbol">?: </span><a href="enums/BlurRadius.html" class="tsd-signature-type" data-tsd-kind="Enumeration">BlurRadius</a></h5></li><li class="tsd-parameter"><h5>transformer<wbr/>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"BackgroundBlur"</span></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a id="MediaProcessorBaseConfig" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Media<wbr/>Processor<wbr/>Base<wbr/>Config<a href="#MediaProcessorBaseConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Media<wbr/>Processor<wbr/>Base<wbr/>Config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>wasmAssetUriPath<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
6
|
+
<p>MediaProcessorBaseConfig specifies the absolute URL for the path where the Wasm modules used by the transformers from this library are stored. ML models files must be located under a folder called <code>models</code> under this same path.</p>
|
|
7
|
+
</div><dl class="tsd-comment-tags"><dt>example</dt><dd><pre><code class="language-ts"><span class="hl-0">{</span><br/><span class="hl-0"> </span><span class="hl-1">wasmAssetUriPath</span><span class="hl-0">: </span><span class="hl-2">'http://localhost:8080/assets'</span><br/><span class="hl-0">}</span>
|
|
8
|
+
</code></pre>
|
|
9
|
+
<p>Wasm modules must be found under <em>assets/</em> folder as well as the ML models files under <em>assets/models</em> folder.</p>
|
|
10
|
+
</dd></dl></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>wasm<wbr/>Asset<wbr/>Uri<wbr/>Path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a id="MediaProcessorConfig" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Media<wbr/>Processor<wbr/>Config<a href="#MediaProcessorConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Media<wbr/>Processor<wbr/>Config<span class="tsd-signature-symbol">:</span> <a href="modules.html#MediaProcessorBaseConfig" class="tsd-signature-type" data-tsd-kind="Type alias">MediaProcessorBaseConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">(</span><a href="modules.html#BackgroundBlurConfig" class="tsd-signature-type" data-tsd-kind="Type alias">BackgroundBlurConfig</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><a href="modules.html#VirtualBackgroundConfig" class="tsd-signature-type" data-tsd-kind="Type alias">VirtualBackgroundConfig</a><span class="tsd-signature-symbol"> | </span><a href="modules.html#VideoBackgroundConfig" class="tsd-signature-type" data-tsd-kind="Type alias">VideoBackgroundConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> & </span><a href="modules.html#AssetBackgroundConfig" class="tsd-signature-type" data-tsd-kind="Type alias">AssetBackgroundConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> | </span><a href="modules.html#SilueteBlurConfig" class="tsd-signature-type" data-tsd-kind="Type alias">SilueteBlurConfig</a><span class="tsd-signature-symbol">)</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
11
|
+
<p>MediaProcessorConfig specifies the transformer logic to be performed.</p>
|
|
12
|
+
</div><dl class="tsd-comment-tags"><dt>example</dt><dd><pre><code class="language-ts"><span class="hl-0"> </span><span class="hl-3">let</span><span class="hl-0"> </span><span class="hl-4">config</span><span class="hl-0">: </span><span class="hl-5">MediaProcessorConfig</span><span class="hl-0">;</span><br/><span class="hl-0"> </span><span class="hl-6">if</span><span class="hl-0">(</span><span class="hl-4">typeType</span><span class="hl-0"> === </span><span class="hl-2">'blur'</span><span class="hl-0">){</span><br/><span class="hl-0"> </span><span class="hl-4">config</span><span class="hl-0"> = {</span><br/><span class="hl-0"> </span><span class="hl-4">wasmAssetUriPath:</span><span class="hl-0"> </span><span class="hl-4">location</span><span class="hl-0">.</span><span class="hl-4">href</span><br/><span class="hl-0"> </span><span class="hl-4">transformerType</span><span class="hl-0">: </span><span class="hl-2">'BackgroundBlur'</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-4">radius:</span><span class="hl-0"> </span><span class="hl-4">blurLevelType</span><span class="hl-0"> === </span><span class="hl-2">'low'</span><span class="hl-0"> ? </span><span class="hl-4">BlurRadius</span><span class="hl-0">.</span><span class="hl-4">Low</span><span class="hl-0"> : </span><span class="hl-4">BlurRadius</span><span class="hl-0">.</span><span class="hl-4">High</span><span class="hl-0">,</span><br/><span class="hl-0"> };</span><br/><span class="hl-0"> } </span><span class="hl-6">else</span><span class="hl-0"> </span><span class="hl-6">if</span><span class="hl-0">(</span><span class="hl-4">typeType</span><span class="hl-0"> === </span><span class="hl-2">'virtual'</span><span class="hl-0">){</span><br/><span class="hl-0"> </span><span class="hl-4">config</span><span class="hl-0"> = {</span><br/><span class="hl-0"> </span><span class="hl-4">wasmAssetUriPath:</span><span class="hl-0"> </span><span class="hl-4">location</span><span class="hl-0">.</span><span class="hl-4">href</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-4">transformerType:</span><span class="hl-0"> </span><span class="hl-2">'VirtualBackground'</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-4">backgroundAssetUri:</span><span class="hl-0"> </span><span class="hl-4">location</span><span class="hl-0">.</span><span class="hl-4">href</span><span class="hl-0"> + </span><span class="hl-2">"images/vonage.jpeg"</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> } </span><span class="hl-6">else</span><span class="hl-0"> </span><span class="hl-6">if</span><span class="hl-0">(</span><span class="hl-4">typeType</span><span class="hl-0"> === </span><span class="hl-2">'video'</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-4">config</span><span class="hl-0"> = {</span><br/><span class="hl-0"> </span><span class="hl-4">wasmAssetUriPath:</span><span class="hl-0"> </span><span class="hl-4">location</span><span class="hl-0">.</span><span class="hl-4">href</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-4">transformerType:</span><span class="hl-0"> </span><span class="hl-2">'VideoBackground'</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-4">backgroundAssetUri:</span><span class="hl-0"> </span><span class="hl-4">location</span><span class="hl-0">.</span><span class="hl-4">href</span><span class="hl-0"> + </span><span class="hl-2">'videos/bbb.mp4'</span><br/><span class="hl-0"> };</span><br/><span class="hl-0"> } </span><span class="hl-6">else</span><span class="hl-0"> </span><span class="hl-6">if</span><span class="hl-0">(</span><span class="hl-4">typeType</span><span class="hl-0"> === </span><span class="hl-2">'siluete'</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-4">config</span><span class="hl-0"> = {</span><br/><span class="hl-0"> </span><span class="hl-4">wasmAssetUriPath:</span><span class="hl-0"> </span><span class="hl-4">location</span><span class="hl-0">.</span><span class="hl-4">href</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-4">transformerType:</span><span class="hl-0"> </span><span class="hl-2">'SilueteBlur'</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-4">radius:</span><span class="hl-0"> </span><span class="hl-4">blurLevelType</span><span class="hl-0"> === </span><span class="hl-2">'low'</span><span class="hl-0"> ? </span><span class="hl-4">BlurRadius</span><span class="hl-0">.</span><span class="hl-4">Low</span><span class="hl-0"> : </span><span class="hl-4">BlurRadius</span><span class="hl-0">.</span><span class="hl-4">High</span><span class="hl-0">,</span><br/><span class="hl-0"> };</span><br/><span class="hl-0"> }</span>
|
|
13
|
+
</code></pre>
|
|
14
|
+
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a id="SilueteBlurConfig" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Siluete<wbr/>Blur<wbr/>Config<a href="#SilueteBlurConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Siluete<wbr/>Blur<wbr/>Config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>radius<span class="tsd-signature-symbol">?: </span><a href="enums/BlurRadius.html" class="tsd-signature-type" data-tsd-kind="Enumeration">BlurRadius</a><span class="tsd-signature-symbol">; </span>transformerType<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"SilueteBlur"</span><span class="tsd-signature-symbol"> }</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
15
|
+
<p>BackgroundBlurConfig specifies the configuration for a transformer logic that performs siluete blurring.</p>
|
|
16
|
+
</div></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> radius<span class="tsd-signature-symbol">?: </span><a href="enums/BlurRadius.html" class="tsd-signature-type" data-tsd-kind="Enumeration">BlurRadius</a></h5></li><li class="tsd-parameter"><h5>transformer<wbr/>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"SilueteBlur"</span></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a id="VideoBackgroundConfig" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Video<wbr/>Background<wbr/>Config<a href="#VideoBackgroundConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Video<wbr/>Background<wbr/>Config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>transformerType<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"VideoBackground"</span><span class="tsd-signature-symbol"> }</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
17
|
+
<p>VirtualBackgroundConfig specifies the configuration for a transformer logic that performs background replacement with a given video.</p>
|
|
18
|
+
</div></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>transformer<wbr/>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"VideoBackground"</span></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a id="VirtualBackgroundConfig" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Virtual<wbr/>Background<wbr/>Config<a href="#VirtualBackgroundConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Virtual<wbr/>Background<wbr/>Config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>transformerType<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"VirtualBackground"</span><span class="tsd-signature-symbol"> }</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
19
|
+
<p>VirtualBackgroundConfig specifies the configuration for a transformer logic that performs background replacement with a given image.</p>
|
|
20
|
+
</div></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>transformer<wbr/>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"VirtualBackground"</span></h5></li></ul></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Functions</h2><section class="tsd-panel tsd-member tsd-kind-function"><a id="createVonageMediaProcessorConnector" class="tsd-anchor"></a><h3 class="tsd-anchor-link">create<wbr/>Vonage<wbr/>Media<wbr/>Processor<wbr/>Connector<a href="#createVonageMediaProcessorConnector" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-function"><li class="tsd-signature tsd-kind-icon">create<wbr/>Vonage<wbr/>Media<wbr/>Processor<wbr/>Connector<span class="tsd-signature-symbol">(</span>config<span class="tsd-signature-symbol">: </span><a href="modules.html#MediaProcessorConfig" class="tsd-signature-type" data-tsd-kind="Type alias">MediaProcessorConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">MediaProcessorConnectorInterface</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
21
|
+
<p>Factory function to create new MediaProcessorConnectorInterface instances.</p>
|
|
22
|
+
</div><dl class="tsd-comment-tags"><dt>example</dt><dd><pre><code class="language-ts"><span class="hl-0"> </span><span class="hl-7">createVonageMediaProcessorConnector</span><span class="hl-0">(</span><span class="hl-4">config</span><span class="hl-0">).</span><span class="hl-7">then</span><span class="hl-0">(</span><span class="hl-4">mediaProcessorConnector</span><span class="hl-0"> </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-7">setMediaProcessorConnector</span><span class="hl-0">(</span><span class="hl-4">mediaProcessorConnector</span><span class="hl-0">);</span><br/><span class="hl-0"> })</span><br/><span class="hl-0"> .</span><span class="hl-7">catch</span><span class="hl-0">(</span><span class="hl-4">e</span><span class="hl-0"> </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-4">console</span><span class="hl-0">.</span><span class="hl-7">error</span><span class="hl-0">(</span><span class="hl-4">e</span><span class="hl-0">)</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-8">// ..</span><br/><br/><span class="hl-0"> </span><span class="hl-7">setMediaProcessorConnector</span><span class="hl-0">(</span><span class="hl-4">mediaProcessorConnector</span><span class="hl-0">: </span><span class="hl-4">MediaProcessorConnectorInterface</span><span class="hl-0">): </span><span class="hl-5">Promise</span><span class="hl-0"><</span><span class="hl-3">void</span><span class="hl-0">> {</span><br/><span class="hl-0"> return new </span><span class="hl-7">Promise</span><span class="hl-0"><</span><span class="hl-5">void</span><span class="hl-0">>(</span><span class="hl-4">async</span><span class="hl-0"> (</span><span class="hl-4">resolve</span><span class="hl-0">, </span><span class="hl-4">reject</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-5">this</span><span class="hl-0">.</span><span class="hl-4">mediaProcessorConnector_</span><span class="hl-0"> = </span><span class="hl-4">mediaProcessorConnector</span><span class="hl-0">;</span><br/><span class="hl-0"> </span><span class="hl-7">if</span><span class="hl-0"> (!this.stream_)</span><br/><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-5">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-2">'[CameraSource] Requesting camera.'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-7">reject</span><span class="hl-0">(</span><span class="hl-2">"no stream"</span><span class="hl-0">)</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> </span><span class="hl-5">this</span><span class="hl-0">.</span><span class="hl-5">mediaProcessorConnector_</span><span class="hl-0">.</span><span class="hl-5">setTrack</span><span class="hl-0">(</span><span class="hl-5">this</span><span class="hl-0">.</span><span class="hl-5">videoTrack_</span><span class="hl-0">).</span><span class="hl-5">then</span><span class="hl-0">(</span><span class="hl-4">newTrack</span><span class="hl-0"> => {</span><br/><span class="hl-0"> let </span><span class="hl-4">processedStream</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-7">MediaStream</span><span class="hl-0">();</span><br/><span class="hl-0"> processedStream.addTrack(newTrack);</span><br/><span class="hl-0"> this.sink_.setMediaStream(processedStream);</span><br/><span class="hl-0"> </span><span class="hl-7">resolve</span><span class="hl-0">();</span><br/><span class="hl-0"> })</span><br/><span class="hl-0"> .</span><span class="hl-5">catch</span><span class="hl-0">(</span><span class="hl-4">e</span><span class="hl-0"> => {</span><br/><span class="hl-0"> </span><span class="hl-7">reject</span><span class="hl-0">(</span><span class="hl-4">e</span><span class="hl-0">)</span><br/><span class="hl-0"> })</span><br/><span class="hl-0"> });</span><br/><span class="hl-0"> }</span><br/><br/><span class="hl-0"> </span><span class="hl-8">// ..</span><br/><br/><span class="hl-0"> </span><span class="hl-4">async</span><span class="hl-0"> </span><span class="hl-7">stopMediaProcessorConnector</span><span class="hl-0">() {</span><br/><span class="hl-0"> </span><span class="hl-6">if</span><span class="hl-0">(</span><span class="hl-3">this</span><span class="hl-0">.</span><span class="hl-4">mediaProcessorConnector_</span><span class="hl-0">){</span><br/><span class="hl-0"> </span><span class="hl-3">this</span><span class="hl-0">.</span><span class="hl-4">mediaProcessorConnector_</span><span class="hl-0">.</span><span class="hl-7">destroy</span><span class="hl-0">().</span><span class="hl-7">then</span><span class="hl-0">(() </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">let</span><span class="hl-0"> </span><span class="hl-4">processedStream</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-7">MediaStream</span><span class="hl-0">();</span><br/><span class="hl-0"> </span><span class="hl-4">processedStream</span><span class="hl-0">.</span><span class="hl-7">addTrack</span><span class="hl-0">(</span><span class="hl-3">this</span><span class="hl-0">.</span><span class="hl-4">videoTrack_</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">this</span><span class="hl-0">.</span><span class="hl-4">sink_</span><span class="hl-0">.</span><span class="hl-7">setMediaStream</span><span class="hl-0">(</span><span class="hl-4">processedStream</span><span class="hl-0">);</span><br/><span class="hl-0"> })</span><br/><span class="hl-0"> .</span><span class="hl-7">catch</span><span class="hl-0">(</span><span class="hl-4">e</span><span class="hl-0"> </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-4">console</span><span class="hl-0">.</span><span class="hl-7">error</span><span class="hl-0">(</span><span class="hl-4">e</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> }</span>
|
|
23
|
+
</code></pre>
|
|
24
|
+
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>config: <a href="modules.html#MediaProcessorConfig" class="tsd-signature-type" data-tsd-kind="Type alias">MediaProcessorConfig</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
25
|
+
<p>Specifies the transformer logic that the MediaProcessorConnectorInterface instance will be enabled with.</p>
|
|
26
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">MediaProcessorConnectorInterface</span><span class="tsd-signature-symbol">></span></h4><div><p>A promise that is resolved with a given MediaProcessorConnectorInterface instance.</p>
|
|
27
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-function"><a id="isSupported" class="tsd-anchor"></a><h3 class="tsd-anchor-link">is<wbr/>Supported<a href="#isSupported" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-function"><li class="tsd-signature tsd-kind-icon">is<wbr/>Supported<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
28
|
+
<p>Check if the current browser is officially supported by the library.</p>
|
|
29
|
+
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div><p>The promise will resolve or reject depending whether the browser is supported or not.</p>
|
|
30
|
+
</div></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class="current"><a href="modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="tsd-kind-enum"><a href="enums/BlurRadius.html" class="tsd-kind-icon">Blur<wbr/>Radius</a></li><li class="tsd-kind-type-alias"><a href="modules.html#AssetBackgroundConfig" class="tsd-kind-icon">Asset<wbr/>Background<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#BackgroundBlurConfig" class="tsd-kind-icon">Background<wbr/>Blur<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#MediaProcessorBaseConfig" class="tsd-kind-icon">Media<wbr/>Processor<wbr/>Base<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#MediaProcessorConfig" class="tsd-kind-icon">Media<wbr/>Processor<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#SilueteBlurConfig" class="tsd-kind-icon">Siluete<wbr/>Blur<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#VideoBackgroundConfig" class="tsd-kind-icon">Video<wbr/>Background<wbr/>Config</a></li><li class="tsd-kind-type-alias"><a href="modules.html#VirtualBackgroundConfig" class="tsd-kind-icon">Virtual<wbr/>Background<wbr/>Config</a></li><li class="tsd-kind-function"><a href="modules.html#createVonageMediaProcessorConnector" class="tsd-kind-icon">create<wbr/>Vonage<wbr/>Media<wbr/>Processor<wbr/>Connector</a></li><li class="tsd-kind-function"><a href="modules.html#isSupported" class="tsd-kind-icon">is<wbr/>Supported</a></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="assets/main.js"></script></body></html>
|