agora-rte-extension
Advanced tools
Comparing version 1.1.0 to 1.2.3
# v1.1.0 | ||
- Add public abstract optional method `Extension.checkCompatibility` to provide a unified interface to help developers check browser compatibility. | ||
# v1.2.3 | ||
- Added `IProcessorContext.gatherUsage` method to gather extension usage information. | ||
- Fixed some logging typos. |
@@ -62,3 +62,3 @@ declare interface AgoraApiExecutor<T> { | ||
protected onPiped?(context: IProcessorContext): void; | ||
protected onUnpiped?(): void; | ||
protected onUnpiped?(context?: IProcessorContext): void; | ||
} | ||
@@ -200,3 +200,3 @@ | ||
*/ | ||
kind: 'video' | 'audio'; | ||
kind: "video" | "audio"; | ||
/** | ||
@@ -281,5 +281,9 @@ * 标识处理器的状态。 | ||
gatherStats(): ProcessorStats[]; | ||
registerUsage(processor: IBaseProcessor, cb: () => Usage | Promise<Usage>): void; | ||
unregisterUsage(processor: IBaseProcessor): void; | ||
getDirection(): "local" | "remote"; | ||
gatherUsage(): Promise<UsageWithDirection[]>; | ||
} | ||
export declare type Kind = 'video' | 'audio'; | ||
export declare type Kind = "video" | "audio"; | ||
@@ -305,2 +309,12 @@ declare class Logger implements IExtensionLogger { | ||
export declare class PromiseMutex { | ||
private lockingPromise; | ||
private locks; | ||
private name; | ||
private lockId; | ||
constructor(name?: string); | ||
get isLocked(): boolean; | ||
lock(info?: string): Promise<() => void>; | ||
} | ||
declare interface ReportApiInvokeParams { | ||
@@ -338,2 +352,12 @@ name: string; | ||
export declare interface Usage { | ||
id: string; | ||
value: number; | ||
level: number; | ||
} | ||
export declare interface UsageWithDirection extends Usage { | ||
direction: "local" | "remote"; | ||
} | ||
export declare abstract class VideoProcessor extends BaseProcessor { | ||
@@ -340,0 +364,0 @@ get kind(): Kind; |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.19.4" | ||
"packageVersion": "7.33.5" | ||
} | ||
] | ||
} |
{ | ||
"name": "agora-rte-extension", | ||
"version": "1.1.0", | ||
"version": "1.2.3", | ||
"description": "Agora RTE Extension", | ||
@@ -5,0 +5,0 @@ "main": "./dist/agora-rte-extension.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99303
352