@mindly/ui-components 3.7.2 → 3.7.4
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/cjs/index.js +30 -30
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/AgoraMediaPlayer/AgoraMediaPlayer.d.ts +3 -1
- package/dist/cjs/types/lib/AgoraMediaPlayer/AgoraMediaPlayer.style.d.ts +3 -3
- package/dist/cjs/types/lib/AgoraMediaPlayer/NetworkQuality/NetworkQualityComponent.d.ts +15 -0
- package/dist/cjs/types/lib/AgoraMediaPlayer/NetworkQuality/utilts.d.ts +11 -0
- package/dist/cjs/types/lib/SwitchDeviceCard/SwitchDeviceCard.d.ts +2 -2
- package/dist/esm/index.js +5 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/AgoraMediaPlayer/AgoraMediaPlayer.d.ts +3 -1
- package/dist/esm/types/lib/AgoraMediaPlayer/AgoraMediaPlayer.style.d.ts +3 -3
- package/dist/esm/types/lib/AgoraMediaPlayer/NetworkQuality/NetworkQualityComponent.d.ts +15 -0
- package/dist/esm/types/lib/AgoraMediaPlayer/NetworkQuality/utilts.d.ts +11 -0
- package/dist/esm/types/lib/SwitchDeviceCard/SwitchDeviceCard.d.ts +2 -2
- package/dist/index.d.ts +5 -3
- package/package.json +1 -1
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
import { ILocalAudioTrack, ILocalVideoTrack, IRemoteAudioTrack, IRemoteVideoTrack } from 'agora-rtc-sdk-ng';
|
|
2
|
+
import { ILocalAudioTrack, ILocalVideoTrack, IRemoteAudioTrack, IRemoteVideoTrack, NetworkQuality } from 'agora-rtc-sdk-ng';
|
|
3
3
|
export declare type MediaPlayerProps = {
|
|
4
4
|
videoContainer?: React.RefObject<HTMLDivElement>;
|
|
5
5
|
cameraTrack?: ILocalVideoTrack;
|
|
6
6
|
audioTrack?: ILocalAudioTrack;
|
|
7
7
|
remoteAudioTrack?: IRemoteAudioTrack;
|
|
8
8
|
remoteCameraTrack?: IRemoteVideoTrack;
|
|
9
|
+
fullScreen?: boolean;
|
|
10
|
+
networkQuality?: NetworkQuality;
|
|
9
11
|
} & HTMLAttributes<HTMLDivElement>;
|
|
10
12
|
declare const AgoraMediaPlayer: React.FC<MediaPlayerProps>;
|
|
11
13
|
export default AgoraMediaPlayer;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
export declare const StyledMediaPlayerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
1
2
|
declare type StyledMediaPlayerContainerPropsType = {
|
|
2
|
-
|
|
3
|
-
height?: number;
|
|
3
|
+
fullScreen?: boolean;
|
|
4
4
|
};
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const StyledMediaPlayer: import("styled-components").StyledComponent<"div", any, StyledMediaPlayerContainerPropsType, never>;
|
|
6
6
|
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NetworkQuality } from 'agora-rtc-sdk-ng';
|
|
3
|
+
declare type NetworkQualityComponentType = {
|
|
4
|
+
/**
|
|
5
|
+
* if this param - true, component didnt render any hint for connection(only icon)
|
|
6
|
+
*/
|
|
7
|
+
showingAdditionalInfo: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Quality of network
|
|
10
|
+
* https://docs.agora.io/en/video/API%20Reference/web_ng/interfaces/networkquality.html#uplinknetworkquality
|
|
11
|
+
*/
|
|
12
|
+
networkQuality?: NetworkQuality;
|
|
13
|
+
};
|
|
14
|
+
declare const NetworkQualityComponent: React.FC<NetworkQualityComponentType>;
|
|
15
|
+
export default NetworkQualityComponent;
|
|
@@ -25,9 +25,9 @@ declare type VideoCallSwitchDevice = {
|
|
|
25
25
|
*/
|
|
26
26
|
disableDeviceHandler?: () => void;
|
|
27
27
|
/**
|
|
28
|
-
* If device
|
|
28
|
+
* If device disabled - false, in another way - true
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
isDisabled?: boolean;
|
|
31
31
|
};
|
|
32
32
|
declare const SwitchDeviceCard: React.FC<VideoCallSwitchDevice>;
|
|
33
33
|
export default SwitchDeviceCard;
|