Adapters
Rehelios
The Rehelios adapter — the reference implementation, full capabilities.
The Rehelios adapter is the reference implementation and supports every capability.
import { createVideos } from 'videos-sdk';
import { rehelios } from 'videos-sdk/rehelios';
const videos = createVideos({
adapter: rehelios({ apiKey: process.env.REHELIOS_API_KEY! }),
});Config
| Option | Type | Required | Description |
|---|---|---|---|
apiKey | string | ✓ | Your Rehelios API key (rh_live_…). |
collectionId | string | — | Default collection for videos created/uploaded here. |
visibility | 'public' | 'private' | — | Default visibility for new videos. |
apiBaseUrl | string | — | Override the API base URL. |
appUrl | string | — | Override the app origin (embed / poster URLs). |
Capabilities
DASH playback, signed playback, captions, and webhooks are supported. Rehelios exposes a
fixed poster (not thumbnails at an arbitrary timestamp), so thumbnailAtTime is off. See
Capability-safe by types.