agora-meeting-sdk
Version:
For publishing npm package agora-metting-sdk (Web). Get more information from https://docs.agora.io
22 lines (21 loc) • 654 B
TypeScript
export declare class LogUpload {
appID: string;
roomId: string;
sdkDomain: string;
constructor(params: {
appId: string;
sdkDomain: string;
});
fetchStsToken(roomId: string, fileExt: string): Promise<{
bucketName: string;
callbackBody: string;
callbackContentType: string;
accessKeyId: any;
accessKeySecret: string;
securityToken: string;
ossKey: string;
}>;
uploadZipLogFile(roomId: string, file: any): Promise<any>;
uploadLogFile(roomId: string, file: any): Promise<any>;
uploadToOss(roomId: string, file: any, ext: string): Promise<any>;
}