@byteplus/rtc 4.66.25 → 4.66.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,6 +22,7 @@ export declare class IRTCAIAnsExtension extends EventEmitter<EventDict> {
|
|
|
22
22
|
isSupported: () => boolean;
|
|
23
23
|
setAnsMode: (ansMode: AnsMode) => Promise<void>;
|
|
24
24
|
dump: <I extends StreamIndex>(streamIndex: I) => Promise<DumpFile<I>>;
|
|
25
|
+
resume: () => Promise<void>;
|
|
25
26
|
}
|
|
26
27
|
export declare enum AnsMode {
|
|
27
28
|
LOW = "low",
|
|
@@ -50,7 +51,8 @@ export declare enum DumpType {
|
|
|
50
51
|
}
|
|
51
52
|
export declare enum EventTypes {
|
|
52
53
|
onOverload = "onOverload",
|
|
53
|
-
onUnsupported = "onUnsupported"
|
|
54
|
+
onUnsupported = "onUnsupported",
|
|
55
|
+
onError = "onError"
|
|
54
56
|
}
|
|
55
57
|
export interface EventDict {
|
|
56
58
|
[EventTypes.onOverload]: (data: {
|
|
@@ -59,6 +61,9 @@ export interface EventDict {
|
|
|
59
61
|
[EventTypes.onUnsupported]: (data: {
|
|
60
62
|
message: string;
|
|
61
63
|
}) => void;
|
|
64
|
+
[EventTypes.onError]: (data: {
|
|
65
|
+
message: string;
|
|
66
|
+
}) => void;
|
|
62
67
|
}
|
|
63
68
|
export interface IRTCAIAnsExtensionConfig {
|
|
64
69
|
urls?: {
|