Examples
Open-source apps you can clone, run and take apart.
All examples are in the dTelecom GitHub organization.
Example apps
Section titled “Example apps”| App | What it shows | Stack |
|---|---|---|
| dtelecom-meet | Video conferencing: pre-join screen, chat, host controls (mute, remove) behind a host link checked on the server, participant count from the nodes | Next.js, React components |
| dtelecom-live | Livestreaming: host and watch-only viewers, chat, viewer count, OBS input over WHIP, host link checked on the server | Next.js, React components |
| ai-tutor-demo | A voice agent as a language tutor: partial transcripts, smart turn detection, SSML. It runs through the x402 gateway; it differs from Cloud only in how it pays. | Next.js, @dtelecom/agents-js |
Code examples in the SDK repositories
Section titled “Code examples in the SDK repositories”| Repository | Examples |
|---|---|
| React Native Meet and Live example | Scan or paste an invite from Meet or Live to join the same room on iOS or Android. Join a meeting, watch or host a broadcast, and exchange chat with browser participants. Run the mobile example |
| components-js | Join a React video conference from two browser tabs using a server-side Cloud token route. |
| server-sdk-go | List the participants in a live room from a Go backend. |
| agents-js | basic-agent.ts: a minimal voice agent with events and shutdown handling |
| server-sdk-node | echo-bot.ts, receive-audio.ts (save room audio to a file), send-audio.ts (play a file into a room) |
Running an example with a dTelecom Cloud key
Section titled “Running an example with a dTelecom Cloud key”dtelecom-meet and dtelecom-live run on dTelecom Cloud from their main branches. Set DTELECOM_API_KEY, DTELECOM_API_SECRET and DTELECOM_CLOUD_URL and follow each README.
Both decide who is host on the server without a database: the server picks the room name and signs a 24-hour host key into the host link, and every host action checks it. See each README’s “Host link” section.
Two things to know when you adapt them:
- A token’s lifetime is a hard limit. Set a
ttlthat covers the session (up to 24 hours) or extend the token withcloud.extendToken(), or the participant is removed. - The examples in
agents-jsandserver-sdk-nodeneed Node.js 22 or newer.
If you have your own app on the previous server SDK (3.x), see Migrate from 3.x.
Historical examples
Section titled “Historical examples”For a new conferencing app, start with dTelecom Meet. The conference example, AI translation demo and spatial audio demo show earlier designs that sign tokens locally. The original dmeet repository is archived.
For a new streaming app, start with dTelecom Live. The older live.dmeet.org app uses the legacy token flow. The Frogy Telegram demo also signs tokens locally. The livestreaming example is archived.
Earlier network prototypes are archived on GitHub. nearvoice combines NEAR wallet sign-in with Ion voice rooms. metabuild contains a NEAR contract, dashboards and a Go media server. hack-a-tonx contains a conference client, server and TON contracts. The separate ton repository preserves the dTelecom, node-wallet and user-wallet contracts and their tests.
Build with an AI assistant
Section titled “Build with an AI assistant”The docs are available in a form that coding assistants read well. See Use the docs with AI.