|
|
@@ -295,7 +295,7 @@ declare module '__urtc-sdk/resolutions' {
|
|
|
}
|
|
|
|
|
|
declare module '__urtc-sdk/version' {
|
|
|
- export const version = "1.6.7";
|
|
|
+ export const version = "1.6.8";
|
|
|
}
|
|
|
|
|
|
declare module '__urtc-sdk/token' {
|
|
|
@@ -316,7 +316,7 @@ declare module '__urtc-sdk/types' {
|
|
|
export type RoomType = 'rtc' | 'live';
|
|
|
export type UserRole = 'pull' | 'push' | 'push-and-pull';
|
|
|
export type DeviceType = 'audio' | 'video';
|
|
|
- export type EventType = 'user-added' | 'user-removed' | 'stream-added' | 'stream-removed' | 'stream-published' | 'stream-subscribed' | 'mute-video' | 'unmute-video' | 'mute-audio' | 'unmute-audio' | 'screenshare-stopped' | 'connection-state-change' | 'kick-off' | 'network-quality' | 'stream-reconnected' | 'record-notify' | 'relay-notify' | 'volume-indicator';
|
|
|
+ export type EventType = 'user-added' | 'user-removed' | 'stream-added' | 'stream-removed' | 'stream-published' | 'stream-subscribed' | 'mute-video' | 'unmute-video' | 'mute-audio' | 'unmute-audio' | 'screenshare-stopped' | 'connection-state-change' | 'kick-off' | 'network-quality' | 'stream-reconnected' | 'record-notify' | 'relay-notify' | 'volume-indicator' | 'error-notify';
|
|
|
export type ConnectionState = 'OPEN' | 'CONNECTING' | 'CLOSING' | 'RECONNECTING' | 'CLOSED';
|
|
|
export type WaterMarkPosition = 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom';
|
|
|
export type WaterMarkType = 'time' | 'image' | 'text';
|
|
|
@@ -605,6 +605,10 @@ declare module '__urtc-sdk/types' {
|
|
|
code: string;
|
|
|
message: string;
|
|
|
}
|
|
|
+ export interface ErrorNotification {
|
|
|
+ code: string;
|
|
|
+ message: string;
|
|
|
+ }
|
|
|
export interface AudioVolume {
|
|
|
sid: string;
|
|
|
uid: string;
|