1.0.23 • Published 4 years ago

@bouncedinc/opentok-archiving v1.0.23

Weekly downloads
90
License
MIT
Repository
github
Last release
4 years ago

logo

Build Status GitHub release license npm

Accelerator Archiving for JavaScript

Quick start

The OpenTok Archiving Accelerator Pack provides functionality you can add to your OpenTok applications that enables users to record, save, and retrieve OpenTok sessions.

This section shows you how to use the accelerator pack.

Install

$ npm install --save opentok-archiving

If using browserify or webpack:

const archiving = require('opentok-archiving');

Otherwise, include the accelerator pack in your html:

<script src="../your/path/to/opentok-archiving.js"></script>

. . . and it will be available in global scope as ArchivingAccPack


Click here for a list of all OpenTok accelerator packs.

Exploring the code

The ArchivingAccPack class in opentok-archiving.js is the backbone of the archiving feature for the app.

This class provides functions for starting and stopping sessions archiving.

The Accelerator Core JS shows the best-practices for Javascript to use the Accelerator Archiving.