Socket
Socket
Sign inDemoInstall

vidyoclient-nativewebrtc-sdk

Package Overview
Dependencies
0
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vidyoclient-nativewebrtc-sdk

Native WebRTC SDK for building a full featured video chat app running in the browser


Version published
Weekly downloads
387
increased by32.53%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

VidyoClient WebRTC Javascript Library

Native WebRTC SDK for building a full featured video chat app running in the browser

Installation

CDN

Via <script type="module"> tag:

<script type="module">
    import { VC } from 'https://cdn.jsdelivr.net/npm/vidyoclient-nativewebrtc-sdk/dist/VidyoClient.js';
    const vidyoConnector = await VC.CreateVidyoConnector({
      viewId: "renderer", // Div ID where the composited video will be rendered, see VidyoConnector.html;
      viewStyle: "VIDYO_CONNECTORVIEWSTYLE_Default", // Visual style of the composited renderer
      remoteParticipants: 8,     // Maximum number of participants to render
      logFileFilter: "debug@VidyoClient debug@VidyoSDP debug@VidyoResourceManager",
      logFileName: "",
      userData: 0,
      constraints: {}
    });
</script>

NPM

npm i --save vidyoclient-nativewebrtc-sdk
JS
import { VC } from "vidyoclient-nativewebrtc-sdk";

const vidyoConnector = await VC.CreateVidyoConnector({
  viewId: "renderer", // Div ID where the composited video will be rendered, see VidyoConnector.html;
  viewStyle: "VIDYO_CONNECTORVIEWSTYLE_Default", // Visual style of the composited renderer
  remoteParticipants: 8,     // Maximum number of participants to render
  logFileFilter: "debug@VidyoClient debug@VidyoSDP debug@VidyoResourceManager",
  logFileName: "",
  userData: 0,
  constraints: {}
});
Styles
import "vidyoclient-nativewebrtc-sdk/dist/VidyoClient.css"

or via CDN

<link href="https://cdn.jsdelivr.net/npm/vidyoclient-nativewebrtc-sdk/dist/VidyoClient.css" rel="stylesheet" crossorigin="anonymous">

Getting Started

Sample code

Examples

Full featured Video Conferencing Application

Keywords

FAQs

Last updated on 25 Apr 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc