Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this page
Looking for more inspiration?Visit the

Media SDKs overview


(new)

Public Beta

The Video Media SDK for Node.js is currently available as a Public Beta product and the information contained in this document is subject to change. This means that some features are not yet implemented and others may be changed before the product is declared as Generally Available. Public Beta products are not covered by the Twilio Support Terms or Twilio Service Level Agreement(link takes you to an external page).

The Video Media SDK for Node.js is not a US Health Insurance Portability and Accountability Act (HIPAA)(link takes you to an external page) Eligible Service or Payment Card Industry Data Security Standard (PCI DSS)(link takes you to an external page) compliant and should not be enabled in workflows that are subject to HIPAA or PCI.

Twilio Video Media SDKs let your server-side app join a Video Room and work with decoded audio and video media. With the SDK, your app can send and receive raw frames from a Room. This works without the need for a person to capture video from a camera and render it to a screen.

Media SDKs work on the server-side in the same way the client-side SDKs work on browsers, Android, and iOS. All the SDKs share the same Room, Participant, and Track model and connect with the same Access Tokens.


Purpose

purpose page anchor

Direct frame access lets a back-end service participate in a Room as a media producer, consumer, or both. This participation might take one of the following forms:

  • Media processing pipelines that analyze or transform frames in real time.
  • AI and voice agents that consume Room audio and speak back into the Room.
  • Virtual cameras that push generated or pre-recorded video into a Room.

Differences between client and server SDKs

differences-between-client-and-server-sdks page anchor

The client-side SDKs run where a person is: a browser or a mobile device, capturing from a camera and microphone and rendering to a screen. The Media SDKs run on a server and exchange raw frames.

To understand the differences, see the following table:

AreaClient-side SDKsServer-side SDKs
Target userPersonApp
LanguagesJavaScript, Java (Android), Swift (iOS)Node.js
Runs on or asRuns in browsers or mobile devices.Runs as a server process.
Local mediaCaptured from a camera or microphone.Pushed as raw frames by your code.
Remote mediaRendered to a UI element.Read as raw decoded frames from an async iterator.
Use caseMake in-person conferencing and calling.Automate media processing and integrate media.

To learn how Twilio supports SDK releases across versions, see the Platform SDK Support Policy.


  • Overview: Learn what the Node.js SDK does and which platforms it supports.
  • Quickstart: Connect to a Room and move your first frames.