@livekit/components-core
Version:
This package is a wrapper around the [livekit/client-sdk-js](https://github.com/livekit/client-sdk-js) package. It transforms the event based logic into simple to use observable state and component level APIs. This package is the core for all framework sp
11 lines • 385 B
TypeScript
import { type Room, type TextStreamInfo } from 'livekit-client';
import { type Observable } from 'rxjs';
export interface TextStreamData {
text: string;
participantInfo: {
identity: string;
};
streamInfo: TextStreamInfo;
}
export declare function setupTextStream(room: Room, topic: string): Observable<TextStreamData[]>;
//# sourceMappingURL=textStream.d.ts.map