Socket
Book a DemoInstallSign in
Socket

purecloud-webrtc-sdk

Package Overview
Dependencies
Maintainers
1
Versions
489
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

purecloud-webrtc-sdk

client for the interfacing with PureCloud WebRTC

3.6.7-branch.dependabotnpmandyarnconcurrently520.1
Source
npmnpm
Version published
Maintainers
1
Created
Source

Build Status npm version codecov dependabot-status

PureCloud WebRTC SDK

Overview

The PureCloud WebRTC SDK is a client library for connecting to PureCloud WebRTC services. Supported WebRTC Features:

  • WebRTC SoftPhone (Authenticated Business User/Agent Telephony - inbound/outbound, etc)
  • WebRTC Screen Share (Unauthenticated User/Guest)

Demo: https://sdk-cdn.mypurecloud.com/webrtc-sdk/demo/webpack/

  • Demo requires PureCloud Credentials for video. Organization id and security key are required for unauthenticated screen share.

Not yet supported:

  • WebRTC Video
  • WebRTC Screen Share (Authenticated Business User/Agent Telephony)
  • WebRTC Screen Recording
  • WebRTC Click-to-Call (Unauthenticated user SoftPhone, Telephony)

Usage

Module import:

  • npm install --save purecloud-webrtc-sdk
const PureCloudWebrtcSdk = require('purecloud-webrtc-sdk');
const sdk = new PureCloudWebrtcSdk({
  accessToken: 'your-access-token'
});
sdk.initialize();

Or via global module

<script src="https://sdk-cdn.mypurecloud.com/webrtc-sdk/latest/purecloud-webrtc-sdk.bundle.min.js"></script>
<script>
  const sdk = new window.PureCloudWebrtcSdk({
    accessToken: 'your access token'
  });
  sdk.initialize();
</script>

Documentation

Documentation is in doc/documentation.md and available on the PureCloud Developer Center at DeveloperCenter and in the documentation in this repo.

Contributing

This repo uses typescript semistandard for code style and Jest for tests and code coverage.

To get started in development:

npm install
npm run watch-tests

Test will rebuild as source or tests change. All linting (semistandard) and tests must pass 100%, and coverage should remain at 100%.

Testing

Run the tests using npm test in the command line

FAQs

Package last updated on 15 Jul 2020

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.