Skip to content

StreamBytesOptions

Defined in: client-sdk-js/src/types.ts:57

Options when streaming raw bytes.

attributes?: Record<string, string>;

Defined in: client-sdk-js/src/types.ts:65

Key-value attributes attached to the stream.


destinationIdentities?: string[];

Defined in: client-sdk-js/src/types.ts:67

Participant identities to send to. If empty, sends to all.


mimeType?: string;

Defined in: client-sdk-js/src/types.ts:63

MIME type of the data.


name?: string;

Defined in: client-sdk-js/src/types.ts:59

Human-readable name for the stream.


topic?: string;

Defined in: client-sdk-js/src/types.ts:61

Topic identifier.


totalSize?: number;

Defined in: client-sdk-js/src/types.ts:69

Total size in bytes if known ahead of time.