@vonage/client-sdk 1.4.1-snapshot.167.0 → 1.4.1
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.
- package/dist/client/index.cjs +20477 -20239
- package/dist/client/index.mjs +20477 -20239
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +31 -3
- package/dist/vonageClientSDK.js +20055 -19797
- package/dist/vonageClientSDK.min.js +1 -1
- package/dist/vonageClientSDK.min.mjs +1 -1
- package/dist/vonageClientSDK.mjs +20055 -19797
- package/package.json +1 -1
|
@@ -624,8 +624,8 @@ export declare namespace vonage {
|
|
|
624
624
|
get name(): "CS_ERROR";
|
|
625
625
|
get ordinal(): 0;
|
|
626
626
|
};
|
|
627
|
-
static get
|
|
628
|
-
get name(): "
|
|
627
|
+
static get NETWORK_ERROR(): vonage.VonageErrorTypeJS & {
|
|
628
|
+
get name(): "NETWORK_ERROR";
|
|
629
629
|
get ordinal(): 1;
|
|
630
630
|
};
|
|
631
631
|
static get SESSION_ERROR(): vonage.VonageErrorTypeJS & {
|
|
@@ -642,9 +642,36 @@ export declare namespace vonage {
|
|
|
642
642
|
};
|
|
643
643
|
static values(): Array<vonage.VonageErrorTypeJS>;
|
|
644
644
|
static valueOf(value: string): vonage.VonageErrorTypeJS;
|
|
645
|
-
get name(): "CS_ERROR" | "
|
|
645
|
+
get name(): "CS_ERROR" | "NETWORK_ERROR" | "SESSION_ERROR" | "INTERNAL_ERROR" | "UNKNOWN_ERROR";
|
|
646
646
|
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
647
647
|
}
|
|
648
|
+
abstract class MediaClientErrorJS {
|
|
649
|
+
protected constructor();
|
|
650
|
+
}
|
|
651
|
+
class MediaNotFoundJS extends vonage.MediaClientErrorJS {
|
|
652
|
+
constructor(legId: string);
|
|
653
|
+
get legId(): string;
|
|
654
|
+
copy(legId?: string): vonage.MediaNotFoundJS;
|
|
655
|
+
toString(): string;
|
|
656
|
+
hashCode(): number;
|
|
657
|
+
equals(other: Nullable<any>): boolean;
|
|
658
|
+
}
|
|
659
|
+
class PeerConnectionNotFoundJS extends vonage.MediaClientErrorJS {
|
|
660
|
+
constructor(legId: string);
|
|
661
|
+
get legId(): string;
|
|
662
|
+
copy(legId?: string): vonage.PeerConnectionNotFoundJS;
|
|
663
|
+
toString(): string;
|
|
664
|
+
hashCode(): number;
|
|
665
|
+
equals(other: Nullable<any>): boolean;
|
|
666
|
+
}
|
|
667
|
+
class TrackNotFoundJS extends vonage.MediaClientErrorJS {
|
|
668
|
+
constructor(legId: string);
|
|
669
|
+
get legId(): string;
|
|
670
|
+
copy(legId?: string): vonage.TrackNotFoundJS;
|
|
671
|
+
toString(): string;
|
|
672
|
+
hashCode(): number;
|
|
673
|
+
equals(other: Nullable<any>): boolean;
|
|
674
|
+
}
|
|
648
675
|
}
|
|
649
676
|
export declare namespace vonage {
|
|
650
677
|
interface ChatEvents extends vonage.CoreClientEvents {
|
|
@@ -1019,6 +1046,7 @@ export declare namespace vonage {
|
|
|
1019
1046
|
interface MediaClientDelegateJS {
|
|
1020
1047
|
onRtcStats(rtcStats: vonage.RTCStatsJS, legId: string): void;
|
|
1021
1048
|
onConnectionChange(id: string, status: string): void;
|
|
1049
|
+
onMediaError(id: string, error: vonage.MediaClientErrorJS): void;
|
|
1022
1050
|
}
|
|
1023
1051
|
}
|
|
1024
1052
|
export declare namespace vonage {
|