jiuyiUniapp/jiuyi/node_modules/agora-rtc-sdk-ng/services/data-stream/index.d.ts

14 lines
463 B
TypeScript
Raw Normal View History

2024-12-18 15:46:27 +08:00
import { DataChannel } from '@agora-js/media';
type TRteServiceName = "ChannelMediaRelay" | "LiveStreaming" | "ImageModeration" | "ContentInspect" | "DataStream";
interface IRteService<T = any> {
name: TRteServiceName;
create: (...args: any[]) => T;
update?: (...args: any[]) => Promise<void> | void;
destroy?: (...args: any[]) => Promise<void> | void;
}
declare const DataStreamService: IRteService<DataChannel>;
export { DataStreamService };