Skip to content

@camera.ui/sdk / camera / StreamingInterface

Interface: StreamingInterface ​

Defined in: camera/device.ts:216

Optional implementation that provides stream URLs.

Methods ​

streamUrl() ​

streamUrl(sourceId): Promise<string>

Defined in: camera/device.ts:224

Get the streaming URL for a source.

Parameters ​

sourceId ​

string

The ID of the source

Returns ​

Promise<string>

The streaming URL (e.g., rtsp://, rtmp://, or custom protocol)