A codec (coder-decoder) is the algorithm that compresses raw audio or video for transmission and reconstructs it on the receiving side. Raw media is far too large to send over a network in real time, so the codec's job is to shrink it dramatically while preserving enough fidelity for the clinical conversation, then rebuild a watchable, audible signal at the other end. The compromise a codec strikes — among picture or sound quality, the CPU it burns, and how widely it is supported — is the core engineering trade-off.

WebRTC's working set is well established. For audio, Opus is the standard workhorse. For video, the common choices are VP8, VP9, H.264, and increasingly AV1, the newer codec that compresses more efficiently at the cost of more processing. A crucial practical factor is hardware support: when a device can encode or decode a codec in dedicated silicon rather than software, battery drain and heat drop sharply and older or cheaper phones can keep up; without it, the same codec can overwhelm a modest device.

For a telemedicine product the clinical wins rarely come from exotic codec choices. They come from selecting widely supported profiles so that the patient on a years-old phone or an uncommon browser can still connect reliably, and from letting WebRTC's bandwidth adaptation reduce quality gracefully rather than dropping the call. The common mistake is chasing a newer codec like AV1 for its compression headline and then discovering that a meaningful share of your patient population lacks hardware support, turning an efficiency win into stutter, heat, and battery complaints on exactly the low-end devices that needed help most.

Book cover: Video Streaming, Volume 3 of the Fora Soft Video Engineering HandbookBook cover: Video Encoding, Volume 1 of the Fora Soft Video Engineering HandbookBook cover: Audio for Video, Volume 4 of the Fora Soft Video Engineering Handbook

The handbook · 7 volumes

Fora Soft Video Engineering Handbook

Codec choice in a consult trades image detail against CPU load and which patient devices can join at all. Our seven-volume handbook covers the whole video stack, and for codec decisions start with Volume 1: H.264, HEVC and AV1 compared, rate control, quality metrics and encoder settings. Volume 3 covers WebRTC and Volume 4 audio codecs such as Opus. Written by Nikolay Sapunov, CEO at Fora Soft.

Browse the handbook on Amazon →7 volumes · 9,000+ pages · Kindle & paperback

Which codec should your telehealth calls use on older patient devices?

Tell us your device mix and clinical use cases, and we will recommend a video and audio codec setup with bitrate targets and a test plan. 250+ video products shipped since 2005.

Book a 30-min call →WhatsApp →Email us →