Video SDK for Devlopers
Embed real-time video in your apps with a few lines of code
Enables developers with custom, high-quality, real-time video. Utilize our client and server-side APIs for superior power and flexibility. Video, audio, screen sharing, chat… Build with all of these features, or pick and choose.
As low as $0.003/minute/participant.
Build real-time, high-quality video experiences
Adaptive Video Layering Technology
Adapts to users available bandwidth and device, utilizing Scalable Video Encoding (SVC) and Simulcast technologies
Voice Activated Layouts
Always show active speakers on-screen during multiparty calls or customize the layout to meet your needs
Made for Developers
Embed real-time voice and video with just a few lines of code.
Test out our sample below and see how easily you can get started.
Some of the languages we support
// declare global variables
let vidyoConnector = null;
let meetingLink = document.getElementById('meetingLink');
let name = document.getElementById('name');
function onVidyoClientLoaded() {
window.VC = new window.VidyoClientLib.VidyoClient('', () => {
init();
});
}
async function init() {
try {
vidyoConnector = await VC.CreateVidyoConnector({
viewId: "renderer", // Div ID where the composited video will be rendered, see VidyoConnector.html;
viewStyle: "VIDYO_CONNECTORVIEWSTYLE_Default", // Visual style of the composited renderer
remoteParticipants: 8, // Maximum number of participants to render
logFileFilter: "debug@VidyoClient debug@VidyoSDP debug@VidyoResourceManager",
logFileName: "",
userData: 0,
constraints: {}
});
console.log("create success");
} catch (error) {
console.error('creating failed', error);
}
}
async function joinCall() {
try {
// create new room
let res = await fetch('https://vidyo-adhoc-zsdgxlqgkq-uc.a.run.app/api/v1/rooms', {method: 'POST'});
res = await res.json();
console.log(res);
const params = res.roomUrl.split('/join/');
const portal = params[0];
const roomKey = params[1];
await vidyoConnector.ConnectToRoomAsGuest({
host: portal, // HOST
roomKey: roomKey, //ROOM KEY
displayName: name.value,
roomPin: res.pin,
onSuccess: () => {
console.log(`vidyoConnector.ConnectToRoomAsGuest : onSuccess callback received`);
meetingLink.value = res.roomUrl;
},
onFailure: (reason) => {
console.error("vidyoConnector.Connect : onFailure callback received", reason);
},
onDisconnected: (reason) => {
console.log("vidyoConnector.Connect : onDisconnected callback received", reason);
}
});
} catch(error) {
console.log(error)
};
}
function endCall() {
vidyoConnector.Disconnect();
meetingLink.value = '';
}
Try the sample project above on Stackblitz
or clone directly from GitHub and start playing.
…To boost Your Business
Simply integrate our video communications solution into your own Business applications or devices to provide a unique User experience to your patients, students, customers, or partners. Our Enterprise Video Solutions are widely adopted by different industries. Millions of people around the world connect visually every day through Vidyo’s secure, scalable technology and cloud-based services.