Internet Basics & History

How a Video Call Gets From One Laptop to Another

Follow your voice and face from camera to screen: compression, connection setup, NAT traversal, relays and why calls freeze or lag.

Key takeaways

  • A signaling service introduces the participants, while the audio and video often travel on a separate path.
  • Codecs shrink raw camera and microphone data to a small fraction of its size before it leaves your device.
  • Home routers hide devices behind shared addresses, so calls use STUN to discover paths and TURN relays when direct ones fail.
  • Delay, jitter, loss and weak upload hurt calls more than a modest download speed does.

A video call captures sound and pictures, compresses them heavily, chops them into small packets and sends those across the internet within a fraction of a second. Before any of that, the two sides use a server to find each other, agree on formats and encryption and discover a network path that works. Media then flows directly between the participants or through a relay or conferencing server.

Calls are harder than watching a movie. A streaming service can buffer many seconds ahead. A conversation can't, because every bit of buffering becomes a pause that makes people talk over each other.

From camera to compressed data

Your camera produces a stream of images, and your microphone produces thousands of sound samples every second. Raw video is enormous. A 1280 by 720 picture has 921,600 pixels, and at 30 pictures a second even compact color formats add up to hundreds of megabits per second.

A codec (coder-decoder) squeezes this down. Video codecs such as H.264, VP8, VP9 and AV1 exploit the fact that most of one frame looks like the last, so they mostly send the changes. Now and then they send a complete picture, called a key frame, that doesn't depend on earlier ones. Audio codecs such as Opus keep speech clear at very low bit rates.

Before encoding, the software usually cancels echo, suppresses noise and adjusts volume. Background blur and virtual backgrounds happen here too, and they can use a lot of processor power. On a weak laptop, that load alone can make a call stutter.

Signaling: finding each other

When you click a meeting link, your app contacts the service's servers over an encrypted web connection. This signaling step handles accounts, invitations, ringing and the exchange of technical descriptions: which codecs each side supports, which media it wants to send and how to reach it.

Calls inside a web browser commonly use WebRTC, a set of browser interfaces and protocols for real-time media. WebRTC deliberately leaves signaling up to each application, while it standardizes how media is negotiated, protected and transported. Many native apps use similar techniques, and some use their own. See WebRTC in the browser.

Getting through home routers

Here is the awkward part. Your laptop probably has a private address such as 192.168.1.20, which means nothing outside your home. The other person's does too. Neither router expects unsolicited packets from a stranger.

The standard approach, called ICE (Interactive Connectivity Establishment), gathers several possible addresses, known as candidates, and tests them:

  • The device's own local address, which works if both people are on the same network.
  • The public address and port seen from outside, learned by asking a STUN server.
  • A relay address on a TURN server, which forwards traffic for both sides.
Setting up a browser call
Your laptop Call service Their laptop Offer: my codecs and candidates 1 Passes the offer along 2 Answer: my codecs and candidates 3 Passes the answer back 4 Connectivity checks 5 Tries each candidate pair Key exchange, then encrypted media 6 Your laptop Call service Their laptop Offer: my codecs and candidates 1 Passes the offer along 2 Answer: my codecs and candidates 3 Passes the answer back 4 Connectivity checks 5 Tries each candidate pair Key exchange, then encrypted media 6

Some networks, including many corporate ones, block direct paths or most UDP traffic. A relay then carries the call, sometimes over TCP or TLS on port 443 so that it passes strict firewalls. It works, but usually with more delay. The mechanics are covered in NAT traversal.

Why calls prefer UDP

Media normally travels over UDP, using the Real-time Transport Protocol (RTP) or its encrypted form, SRTP. Each packet carries a sequence number and timestamp so the receiver can play it at the right moment.

TCP would insist on delivering every byte in order. If one packet were lost, everything behind it would wait for the retransmission, and by the time it arrived that moment of speech would be old news. With UDP the application decides what to do: ask for a quick resend if there is still time, rebuild the missing piece from redundant data or paper over the gap.

Hiding the damage

On the receiving side, a jitter buffer holds packets briefly so that uneven arrival times become smooth playback. A bigger buffer tolerates more variation but adds delay, so the software adjusts it continually.

When audio packets go missing, packet loss concealment synthesizes a plausible bridge. Forward error correction sends extra data so some losses can be repaired without asking again. When video loses too much, the picture freezes or smears until the sender provides a fresh key frame.

The sender adapts as well. If it detects growing delay or loss, it lowers resolution, frame rate or bit rate. A sharp picture that turns blocky is usually this system doing its job: keeping the conversation going on a path that got worse.

Group calls and conferencing servers

With two people, a direct path is practical. With ten, having everyone send video to everyone else would mean nine uploads from each laptop, which most home connections can't sustain.

Three ways to connect a group call
Mesh Each person sends to every other No media server needed Upload grows with each participant Only practical for very small groups Forwarding server Each person uploads once or in a few sizes Server forwards selected streams Common in modern meeting services Receivers still download several streams Mixing server Server combines streams into one Light on each participant Heavy processing on the server Used for some dial-in and legacy systems Mesh Each person sends to every other No media server needed Upload grows with each participant Only practical for very small groups Forwarding server Each person uploads once or in a few sizes Server forwards selected streams Common in modern meeting services Receivers still download several streams Mixing server Server combines streams into one Light on each participant Heavy processing on the server Used for some dial-in and legacy systems

The forwarding design is often called a selective forwarding unit (SFU). Your app may send the same video at two or three sizes, and the server gives each viewer the size that suits their screen and connection. That is why a speaker shown large looks sharper than the thumbnails.

Keeping lips and voice together

Audio and video are captured, encoded and sent as separate streams, so the receiver has to line them up again. Timestamps in the media packets, together with periodic reports from the companion control protocol, RTCP, tell the receiver which sound belongs to which frame. If the picture arrives late, the player may delay audio slightly to match, or let video drop frames to catch up.

RTCP reports also feed the quality controls. Each side learns how much the other is losing and how much the arrival times vary, and the sender uses that to choose its next bit rate. Many apps expose these figures in a statistics or call health panel, which is worth opening when a call goes wrong.

Screen sharing behaves differently from camera video. A slide with small text needs sharpness more than smooth motion, so the software often keeps resolution high and lowers the frame rate. If you share a playing video, look for an option that optimizes for motion.

How long the journey takes

Delay accumulates at every stage: capturing a frame, encoding it, sending it up your connection, crossing the network, waiting in the jitter buffer, decoding and displaying. A commonly cited planning guideline from the telecommunications standards body ITU-T (recommendation G.114) is that one-way delay under about 150 milliseconds is comfortable for most conversation.

Much of that budget can be spent before distance enters the picture, which is why a Bluetooth headset, a slow display or a bloated home router queue can matter. Two people on different continents start with a large delay from the cable route alone, and every extra detour through a faraway relay adds to it. Services try to place media servers near participants for this reason.

Encryption and who can see

WebRTC requires media to be encrypted in transit. In a direct two-person connection, that protects the stream from one device to the other. When a conferencing server sits in the middle, standard transport encryption protects each leg, and the server may be able to access the content.

End-to-end encryption keeps keys only with participants, so the service can't read the media. Some services offer it by default, some as an option and some not at all, and turning it on may disable features such as cloud recording or phone dial-in. Check the current documentation for the service you use. Remember also that any participant can record their own screen.

What makes calls bad

Symptom Likely cause First thing to try
Others hear you break up Weak or busy upload, poor Wi-Fi Use a cable; pause backups
You see them freeze Download loss or their upload Ask whether others see the same
People talk over each other High delay or relay path Try another network
Echo Open speakers near a microphone Use headphones
Fan roars, video lags Processor overload Turn off blur, close other apps
Call drops at regular spots Wi-Fi coverage gaps Move closer to the router

Run a speed test that reports upload, latency and jitter, not only download. A video call needs a few megabits per second in each direction for typical quality, and high-resolution group calls can want more, so check your service's published guidance. Steadiness usually matters more than the headline number. Getting better picture and sound covers lighting and microphones too.

A quick pre-call routine

  1. Connect by Ethernet if you can; otherwise sit near the router and prefer the 5 GHz or 6 GHz band.
  2. Close cloud sync, large downloads and unused video tabs.
  3. Choose the correct microphone and speaker inside the app, and use headphones.
  4. Run the app's built-in test call if it has one.
  5. If trouble starts, turn your video off before leaving. Audio needs far less capacity.

Common questions

Does the call go through the company's servers?

Signaling does. Media may go directly in one-to-one calls, but group calls and restrictive networks usually involve servers.

Why is the quality worse than a streamed film?

A film is encoded slowly ahead of time and buffered. Your call is encoded instantly on your own device, sent up your usually smaller upload and played with almost no buffer.

Can a VPN affect my calls?

Yes. It can add distance and delay, or push the call onto a relay or TCP. If calls are poor with a VPN on, test without it where your organization's rules allow.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in Internet Basics & History →

Latest news on this topic