empirica-videocall

0.0.4 • Public • Published

Empirica Video Call

npm version storybook badge

This package contains a React component for a video call in Empirica. It is designed to mirror the Empirica Chat API to the extent possible

This module uses the Jitsi open source video-conferencing platform.

Add to your Empirica project with:

meteor npm install --save empirica-videocall

Usage

import { Call } from "empirica-videocall";

//...

<Call player={player} roomName={"roomname goes here"} />;

Call expects 2 required props:

  • player: the current player
  • roomName: an identifier that will create a unique room. The round id is a good choice.

Call also displays a name for each participant, which you need to set in the experiment independently of the playerId: player.set('name', "myPseudonym")

Development

This is best developed using a docker container. With the docker daemon running, type docker-compose up.

To build the package, run yarn run build within the container.

On github commit, will build storybook and publish to chromatic.

Readme

Keywords

none

Package Sidebar

Install

npm i empirica-videocall

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

157 kB

Total Files

7

Last publish

Collaborators

  • jamesphoughton