Building secure telehealth applications: implementation guide
This guide walks you through implementing essential features for your telehealth platform using Whereby's video API and SDK.
Whether you're building a new telehealth application or enhancing an existing platform, this guide covers the critical components needed to deliver secure, accessible, and user-friendly video consultations.
Did you know? Healthcare organizations lose an estimated 40% of potential patients due to technical barriers during video consultations. Poor video quality, accessibility issues, and complex user flows directly impact patient satisfaction scores, provider efficiency, and ultimately, clinical outcomes.
The guide focuses on the four most important components identified across successful telehealth implementations: reliable video infrastructure, accessibility compliance, user experience optimization, and integration capabilities that support clinical workflows.
Prerequisites
Before implementing the features covered in this guide, ensure you have:
A Whereby Embedded account with API access
Basic knowledge of JavaScript/React development
Understanding of HIPAA compliance requirements for healthcare applications
Familiarity with web accessibility standards (WCAG 2.1 Level AA)
Development environment set up with Node.js and npm/yarn
Required Setup:
Node.js 14+ installed
A text editor or IDE
Web browser for testing
HTTPS-enabled development environment (required for video features)
Getting Started
This guide assumes that you’ve already created a Whereby embedded account and a meeting room to join with your web app. If you’ve not already taken these steps, you can do so by following the Whereby Embedded initial setup guide.
Implementing Core Telehealth Features
Accessibility-First Design Implementation
Improving accessibility in telehealth design enhances usability for all users. Telehealth platforms must be inclusive of patients with disabilities, and Whereby is WCAG 2.1 Level AA compliant. This section highlights the implementation of WCAG 2.1 Level AA compliance features to boost universal usability.
Core Accessibility Features:
Enable live captions and transcriptions: If you want to use Live Captions or Transcriptions for all of your meetings, you can enable it globally for your account. Go to “Configure” → “Transcription” section of your Dashboard and enable accordingly. You can enable these on a per-room basis by making a POST /meetings request. Here is an example for enabling Live Captions:
Implement keyboard navigation: Keyboard shortcuts can be enabled (or disabled) within the settings of a Whereby room. Enter the room, click the Settings cogwheel icon, navigate to the Advanced settings tab, and toggle on. Users can also disable our single-key shortcuts if they prefer, as these might interfere with other shortcuts users have set. You can find our list of keyboard shortcuts in our Accessibility guide.
Configure highlight speaker features: The highlight active speaker feature is especially helpful for users who rely on visual cues. It visually identifies who’s speaking, making it easier to follow conversations.
Implementation Note: Accessibility features should be enabled by default rather than opt-in to ensure inclusive healthcare delivery.
Advanced UI/UX Customization for Clinical Workflows
By default, Whereby is built with patient engagement in mind because we want our partners to experience ease when it comes to managing their clients’ virtual care.
Did you know? The design of your telehealth interface directly impacts clinical effectiveness and patient trust. Studies show that patients form trust judgments about healthcare providers within the first 30 seconds of a video consultation, with interface design playing a crucial role.
Effective telehealth interfaces require careful attention to visual hierarchy and user experience that supports clinical decision-making rather than hindering it.
Customizing Video Layouts:
Implement minimalist clinical interface:
Configure video fatigue reduction:
Waiting Room and Patient Flow Management
With Whereby's virtual Waiting Room feature, you can mirror the experience of traditional medical office waiting rooms.
Setting Up Virtual Waiting Rooms:
Configure waiting room: You can create a waiting room experience for your participants by making sure the room is created as locked during the API request. You do this by setting the
isLockedproperty to true:
Make sure to include a hostRoomUrl in the request. Users provided with a hostRoomUrl will have the ability to join a locked room, as well as accept and reject participants knocking at the room.
Set the Waiting Room background: Make an API request to: https://api.whereby.dev/v1/rooms/{roomName}/theme/room-knock-page-background
Add meeting timers for clinical efficiency:
Utilize our webhooks to create a queuing system. See more here: Tracking room events with Webhooks
Recording and Transcription
Clinical documentation is a critical but time-consuming aspect of healthcare delivery. Manual transcription of telehealth consultations is not only labor-intensive but also prone to errors that can impact patient care continuity and regulatory compliance. Healthcare organizations implementing automated clinical documentation see an improvement in provider satisfaction and significant reduction in after-hours administrative work.
Set up Cloud Recording: To ensure that recording is enabled, refer to the Whereby REST API documentation to specify your desired
recording.typeequal tocloud. If you choosecloudrecording type, we recommend that you setup your Amazon S3 account and configure theproviderequal tos3as the recordings destination for the meeting room.Set up Session Transcriptions: Create the room with POST /meetings request and specify the transcription options of your choice. In the
"destination.provider"option, we recommend that you choose"s3". Please refer to the POST /meetings API reference docs for further"destination"configuration options.Handle recording consent and privacy: We recommend that the person who is starting the recording (i.e the host) to get consent from all participants before starting a recording. This can be a simple verbal consent upon the meeting starting.
Security and Compliance Implementation
HIPAA Compliance Configuration
Ensure your telehealth platform meets healthcare privacy and security requirements while maintaining optimal user experience. HIPAA compliance isn't optional; it's a fundamental requirement that affects every aspect of your telehealth platform's design and operation. Security features also become competitive advantages when marketing to enterprise healthcare clients.
Configure secure rooms:
In the API request set
isLocked: trueSet the room name pattern in the API request
roomNamePattern = uuidDisable RTMP live streaming and room integrations by including the following in your POST creation requests:
Encryption: There is no action required to enable encryption in transit as it is already enabled and available for all customers, regardless of whether they are using the Whereby Embedded HIPAA compliant package or not.
Audit information: Whereby Embedded customers may require to audit their suppliers based on their internal policies but also to showcase that they have ensured they are using HIPAA compliant products and services.
To support the HIPAA compliance of our customers, we will gladly provide our ISO27001 certificate and our HIPAA compliance checklist, which documents how Whereby complies with specific HIPAA rules . For further information, reach out to your Whereby contact.
More HIPAA-compliancy: We have a more in-depth guide on having a HIPAA compliant setup in the next guide, HIPAA compliant setup.
Performance Optimization for Healthcare
Healthcare delivery requires consistent performance across diverse network conditions and geographic locations, ensuring that critical medical consultations aren't compromised by technical limitations. We have several features to ensure quality connections.
Optimize for low-bandwidth scenarios: Whereby has an audio-only mode so users can join sessions with their videos turned off to help minimize bandwidth usage during poor network conditions. This way, the appointment can still be facilitated.
Implement connection monitoring: Turning on the pre-call ceremony will conduct a live device and network connectivity test for the participant before they join the call. For example, the following component would ensure users see the pre-call review step and see the pre-call device and connectivity test:
To better understand issues during ongoing calls, we also have an in-call diagnostics feature. With this, you get a panel that provides a detailed overview of every participant’s meeting quality during sessions. To use this feature, you can use the following component:
callQualityMonitoring=onGlobal mesh network utilization: Whereby has a global mesh network that connects users to their closest servers to ensure reliable connections, even in low-bandwidth scenarios. This is done by setting
"roomMode": "group"instead of"normal"on room creation.
See Also
Whereby Embedded API Reference - Complete API documentation
React Hooks SDK Guide - Advanced React implementations
HIPAA Compliance Documentation - Healthcare-specific compliance features
Accessibility Features Reference - Complete accessibility implementation guide
Session Transcriptions - Guide to our Session Transcriptions feature
Telehealth Tutorial App - Example app that demonstrates how to use the Whereby browser SDK to create a telehealth application
Last updated
Was this helpful?

