UNPKG

opentok-layout-js

Version:

Automatic layout of video elements (publisher and subscriber) minimising white-space for the OpenTok on WebRTC API. This is intended for use with the OpenTok on WebRTC JS API.

4 lines (2 loc) 117 B
const initLayoutContainer = require('../opentok-layout'); console.log(initLayoutContainer().getLayout([1.5, 1.5]));