@hcsdigital/webrtc
v1.0.0
Published
SDK for HCS WebRTC, a service for building high-quality, real-time video experiences.
Downloads
12
Readme
HCS WebRTC SDK
This is the official client-side SDK for HCS WebRTC, a service for building high-quality, real-time video and audio experiences.
Installation
npm install @hcsdigital/webrtcUsage
Use the HCSWebRTC class to initialize the video client in your application.
import { HCSWebRTC } from '@hcsdigital/webrtc';
const rtc = new HCSWebRTC({
apiKey: 'YOUR_WEBRTC_API_KEY',
containerId: 'video-container-element-id',
});
// Join a video session
rtc.joinSession('your-unique-session-id');This SDK is currently a simulation for the HYOTIA Cloud Service prototype.
