0.1.2 • Published 12 months ago

daily-opentok-client v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

daily-opentok-client

Module

Run:

npm install daily-opentok-client

Replace:

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

with:

import * as OT from "daily-opentok-client";

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-opentok-client"></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);

Local Testing

To test with the included sample project run:

npm run start

To test integrating your current changes with another project using a script tag, run:

npm run start:tag

And replace:

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

with:

<script src="https://127.0.0.1:4173/opentok.umd.js"></script>
0.1.2-beta.2

12 months ago

0.1.2-beta.0

12 months ago

0.1.2-beta.1

12 months ago

0.1.2-beta.4

12 months ago

0.1.2-beta.5

12 months ago

0.1.2

12 months ago

0.1.1

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.1.0

1 year ago

0.0.10

1 year ago

0.0.3

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.1

2 years ago

0.0.2

2 years ago

0.0.0

2 years ago