← ClaudeAtlas

digital-sambalisted

Build video conferencing integrations using Digital Samba's API and SDK. Use when creating meeting rooms, embedding video calls, generating participant tokens, managing recordings, or integrating real-time collaboration features. Triggers include "Digital Samba", "video conferencing API", "embed video calls", "meeting room integration", "WebRTC iframe", "participant tokens".
digitalsamba/digital-samba-skill · ★ 2 · Code & Development · score 75
Install: claude install-skill digitalsamba/digital-samba-skill
# Digital Samba Integration Build video conferencing into your applications using Digital Samba's prebuilt infrastructure. No WebRTC/Janus/TURN setup required. ## Two Integration Approaches 1. **REST API** - Server-side room/session/participant management 2. **Embedded SDK** - Client-side iframe control and event handling ## Quick Start ### 1. Create a Room (Server-side) ```bash curl -X POST https://api.digitalsamba.com/api/v1/rooms \ -H "Authorization: Bearer {DEVELOPER_KEY}" \ -H "Content-Type: application/json" \ -d '{"friendly_url": "my-meeting", "privacy": "public"}' ``` ### 2. Generate Access Token (Server-side) ```javascript const jwt = require('jsonwebtoken'); const token = jwt.sign({ td: "team-uuid", // Your team ID rd: "room-uuid", // Room ID from step 1 u: "John Doe", // User display name role: "moderator" // Optional: user role }, DEVELOPER_KEY, { algorithm: 'HS256' }); ``` ### 3. Embed the Room (Client-side) **Option A: Plain iframe** — simplest, no SDK needed: ```html <iframe id="video-frame" allow="camera; microphone; display-capture; autoplay;" src="https://yourteam.digitalsamba.com/my-meeting?token={jwt}" style="width: 100%; height: 100vh; border: none;" allowfullscreen="true"> </iframe> ``` **Option B: SDK creates the iframe** — lets you add event listeners before loading: ```javascript import DigitalSambaEmbedded from '@digitalsamba/embedded-sdk'; // SDK injects an iframe into this container element co