Skip to content

agilityfeat/liveswitch-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Liveswitch Javascript Wrapper

This library provides a wrapper around the Lveswitch Javascript SDK, used for cloud based WebRTC and SIP functionality. More on LiveSwitch can be found here.

Usage

The liveswitch JS SDK is a script file that is attached the frontend application via a <script> tag. It exports and fm object that is used by liveswitch-wrapper.

<script src="./lib/fm.liveswitch.js"></script>

The library can be used in browser side JS environments as shown below.

import {LiveSwitch} from './liveswitch-wrapper';

const liveswitch = new LiveSwitch({
    applicationId,
    sharedSecret,
    deviceId
});

await liveswitch.register(...)
await liveswitch.joinChannel(...)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published