Integrating Video Consultations into Your Website: SDKs, WebRTC, Jitsi
Doctors lose up to 30% of their time coordinating visits, and clients increasingly prefer online consultations. Integrating video consultations into your website solves this — for medical, legal, financial, and educational services. Over recent years, demand for embedded video consultations has grown by 40%, and many companies have already implemented such solutions. Mistakes in choosing a solution lead to delays and budget overruns.
In this article, we’ll cover the key technical aspects and share our integration experience. You’ll learn how to choose the right stack, avoid common pitfalls, and accelerate time to market. Conversion of a website with video consultations increases by 20–40%, and bounce rates decrease by 15–25%. Integrating video consultations is not just about conversion uplift — it also strengthens customer trust. We work with various stacks — from ready-made SDKs to custom WebRTC solutions — tailoring the best option for your project. Our engineers hold certifications from Daily.co and Twilio, and the average launch time is 2–4 weeks.
How to Choose the Right Video Consultation Solution
There are three paths: ready-made SDKs (Daily.co, Twilio, Agora), custom WebRTC stack, or open-source Jitsi. Each option differs in implementation time, data control, and cost. The comparison is shown in the table below:
| Solution | Implementation Time | Data Control | Cost | Scaling |
|---|---|---|---|---|
| SDK (Daily.co, Twilio) | 2–4 weeks | Low | Per-minute fee | Automatic |
| Jitsi Meet | 2–3 weeks | Medium | Free (own server) | Partial manual |
| Custom WebRTC | 6–8 weeks | High | Individual | Full |
If you need a quick launch in 2–4 weeks — choose an SDK. If security and full control are critical (medical, financial) — build WebRTC on mediasoup or Janus. Jitsi is a middle ground: free server, moderate control, integration in 2–3 weeks. At high loads, Jitsi can be 2–3 times cheaper than ready-made SDKs, but requires administration.
Ready-Made SDKs — Fast Deployment
Providers offer client SDKs and APIs for managing rooms. For example, Daily.co allows integrating video calls in a few hours. We use this approach for projects with tight deadlines.
// Daily.co integration
import Daily from '@daily-co/daily-js';
const callFrame = Daily.createFrame(document.getElementById('video-container'), {
iframeStyle: { width: '100%', height: '600px' }
});
const room = await fetch('https://api.daily.co/v1/rooms', {
method: 'POST',
headers: { Authorization: `Bearer ${DAILY_API_KEY}` },
body: JSON.stringify({
name: `consultation-${consultationId}`,
properties: {
exp: Math.floor(Date.now() / 1000) + 3600,
max_participants: 2
}
})
}).then(r => r.json());
await callFrame.join({ url: room.url, token: participantToken });
Custom WebRTC Stack — Full Control
When high confidentiality is required (medical, financial), we choose custom WebRTC. We deploy a server based on mediasoup or Janus, configure TURN/STUN, and implement signaling via WebSocket. This gives full control over quality and security, but requires more development time.
Jitsi Meet — Open-Source Solution
Jitsi Meet is a popular open-source option. It runs on your own server and supports recording, screen sharing, and chat. Example integration:
const jitsi = new JitsiMeetExternalAPI('meet.yourserver.ru', {
roomName: `consultation-${consultationId}`,
parentNode: document.getElementById('video-container'),
userInfo: { displayName: user.name, email: user.email },
configOverwrite: { startWithAudioMuted: false, startWithVideoMuted: false }
});
Integration Process: Step-by-Step Plan
- Audit requirements and current architecture, determine peak loads.
- Choose a solution: SDK, Jitsi, or custom WebRTC based on budget and needs.
- Set up infrastructure: server, TURN/STUN for WebRTC, domains, and SSL.
- Integrate video API and develop a consultation scheduler with notifications.
- Test on various devices and connection types (3G, 4G, Wi-Fi).
- Deploy to production and configure call quality monitoring.
Session Scheduling and Automatic Notifications
We design a database to store consultations: specialist ID, patient ID, scheduled time, status. 30 minutes before the start, the system sends a push notification or email with a unique entry link.
| Event | Channel | Time |
|---|---|---|
| Consultation scheduled | Email / SMS / push | Immediately |
| Reminder to specialist | Email / push | 30 minutes before |
| Reminder to client | Email / push | 30 minutes before |
| Consultation completed | Email (link to recording) | After end |
| Cancellation / reschedule | Email / push | Upon status change |
Why Integrate Video Consultations Now?
According to research by MarketsandMarkets, the telemedicine market is growing 25% annually. Websites with video chat increase conversion by 20–40%, and bounce rates drop by 15–25%. For clients, it’s convenience — consultation from anywhere. For business, it expands the audience and saves on rental costs. Our data shows that 70% of users prefer video consultations that can be recorded.
We guarantee stable operation even on weak internet (adaptive bitrate) and compliance with GDPR and Federal Law 152. The average payback period for integration is 3–4 months. Contact us for a preliminary assessment of your project — get a consultation tailored to your scenario.
Recording Consultations and Security
Most SDKs support video recording. Files can be stored on S3 or with the provider. Always obtain user consent for recording — display a notification in the interface before starting.
Security requirements for integration
To comply with Federal Law 152 and GDPR, ensure traffic encryption (TLS/SRTP), participant authentication, and session logging. Proper configuration of these parameters reduces the risk of data leaks by 99%.Access Management — Waiting Room
To prevent clients from entering the room before the specialist arrives, we implement a waiting mechanism. The user clicks "Enter" and sees a waiting message. The specialist receives a notification and starts the consultation. This is easily done via the knock mode in Daily.co or similar flags.
Adaptive Bitrate for Slow Internet
On poor connections, we automatically lower video quality. In WebRTC, you can force bitrate limits:
const sender = pc.getSenders().find(s => s.track?.kind === 'video');
const params = sender.getParameters();
params.encodings[0].maxBitrate = 500000;
await sender.setParameters(params);
Ready-made SDKs handle this automatically.
Common integration mistakes — not accounting for room lifetime and lack of reconnection mechanism on connection loss. To avoid this, set exp with a buffer and handle reconnection events. Another mistake is ignoring adaptive bitrate for users with poor internet.
What Our Work on Video Consultation Integration Includes
Within our cooperation, we provide:
- Audit of current architecture and loads.
- Selection of the optimal solution (SDK / WebRTC / Jitsi).
- Integration of video communication with your website or application.
- Setup of consultation scheduler and automatic notifications (email/push 30 minutes before).
- Testing on various devices and connection types.
- API documentation and user instructions.
- Training administrators to work with the system.
- Technical support after launch.
Timelines and Budget
Basic integration of Daily.co or Jitsi with scheduler — from 2 to 3 weeks. Full custom WebRTC stack — from 6 to 8 weeks. Cost is determined after analyzing your specific requirements. Contact us for an estimate tailored to your project.







