Socket
Book a DemoInstallSign in
Socket

daily-tokbox

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

daily-tokbox

Daily Tokbox shim

unpublished
latest
Source
npmnpm
Version
0.0.0-67be49
Version published
Maintainers
1
Created
Source

daily-tokbox

Module

Run:

npm install @daily-co/daily-tokbox

Replace:

import * as OT from "@opentok/client";

with:

import * as OT from "@daily-co/daily-tokbox";

Or if you're using a script tag:

Replace:

<script src="https://static.opentok.com/v2/js/opentok.min.js"></script>

with:

<script src="https://unpkg.com/@daily-co/daily-tokbox"></script>

When you call OT.initSession, replace your OpenTok session id with your daily room URL.

// apiKey can be left blank
const apiKey = "";
const sessionId = "https://example.daily.co/example";
OT.initSession(apiKey, sessionId);

FAQs

Package last updated on 17 Aug 2022

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