@100mslive/hms-video-store 0.2.74 → 0.2.77

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.
@@ -1,7 +1,7 @@
1
1
  import { HMSConfig, HMSSimulcastLayer, HMSAudioTrackSettings, HMSVideoTrackSettings, HMSLogLevel, HMSVideoPlugin, HMSAudioPlugin } from '@100mslive/hms-video';
2
2
  import { HMSMessageID, HMSPeerID, HMSRoleName, HMSTrackID, HMSTrackSource, IHMSPlaylistActions, HMSChangeMultiTrackStateParams } from './schema';
3
3
  import { HMSRoleChangeRequest } from './selectors';
4
- import { RTMPRecordingConfig } from './hmsSDKStore/sdkTypes';
4
+ import { RTMPRecordingConfig, HMSPeerUpdateConfig } from './hmsSDKStore/sdkTypes';
5
5
  /**
6
6
  * The below interface defines our SDK API Surface for taking room related actions.
7
7
  * It talks to our 100ms backend and handles error reconnections, state managements
@@ -229,6 +229,13 @@ export interface IHMSActions {
229
229
  * If you want to stop both RTMP streaming and recording.
230
230
  */
231
231
  stopRTMPAndRecording(): Promise<void>;
232
+ /**
233
+ * If both name and data is undefined: Message is ignored.
234
+ * If data is undefined: Name of the peer is changed.
235
+ * If name is undefined: Metadata of the peer is updated.
236
+ * If both name and data is defined: Both name and metadata is updated.
237
+ */
238
+ updatePeer(params: HMSPeerUpdateConfig): Promise<void>;
232
239
  /**
233
240
  * Set the type of logs from the SDK you want to be logged in the browser console.
234
241
  *
@@ -74,6 +74,7 @@ export declare class HMSSDKActions implements IHMSActions {
74
74
  removePeer(peerID: string, reason: string): Promise<void>;
75
75
  startRTMPOrRecording(params: sdkTypes.RTMPRecordingConfig): Promise<void>;
76
76
  stopRTMPAndRecording(): Promise<void>;
77
+ updatePeer(params: sdkTypes.HMSPeerUpdateConfig): Promise<void>;
77
78
  setRemoteTrackEnabled(trackID: HMSTrackID | HMSTrackID[], enabled: boolean): Promise<void>;
78
79
  setRemoteTracksEnabled(params: HMSChangeMultiTrackStateParams): Promise<void>;
79
80
  setLogLevel(level: HMSLogLevel): void;
@@ -3,4 +3,5 @@ interface notifcationMap {
3
3
  }
4
4
  export declare const PEER_NOTIFICATION_TYPES: notifcationMap;
5
5
  export declare const TRACK_NOTIFICATION_TYPES: notifcationMap;
6
+ export declare const ACTION_TYPES: notifcationMap;
6
7
  export {};
@@ -1,2 +1,2 @@
1
- import { HMSException, HMSSimulcastLayer, HMSPeerUpdate, HMSRoomUpdate, HMSTrackUpdate, HMSAudioTrackSettings, HMSVideoTrackSettings, HMSPeer, HMSRoom, HMSMessage, HMSConfig, HMSSpeaker, HMSRole, HMSLocalPeer, HMSRemotePeer, SimulcastLayerDefinition, DeviceMap, HMSLogLevel, HMSDeviceChangeEvent, HMSPlaylistItem, HMSPlaylistManager, HMSPlaylistProgressEvent, RTMPRecordingConfig, HMSRecording, HMSRTMP } from '@100mslive/hms-video';
2
- export { HMSPeer, HMSRoom, HMSMessage, HMSSpeaker, HMSConfig, HMSAudioTrackSettings, HMSVideoTrackSettings, HMSException, HMSSimulcastLayer, HMSRoomUpdate, HMSPeerUpdate, HMSTrackUpdate, HMSRole, HMSLocalPeer, HMSRemotePeer, HMSLogLevel, SimulcastLayerDefinition, DeviceMap, HMSDeviceChangeEvent, HMSPlaylistItem, HMSPlaylistManager, HMSPlaylistProgressEvent, RTMPRecordingConfig, HMSRecording, HMSRTMP, };
1
+ import { HMSException, HMSSimulcastLayer, HMSPeerUpdate, HMSRoomUpdate, HMSTrackUpdate, HMSAudioTrackSettings, HMSVideoTrackSettings, HMSPeer, HMSRoom, HMSMessage, HMSConfig, HMSSpeaker, HMSRole, HMSLocalPeer, HMSRemotePeer, SimulcastLayerDefinition, DeviceMap, HMSLogLevel, HMSDeviceChangeEvent, HMSPlaylistItem, HMSPlaylistManager, HMSPlaylistProgressEvent, RTMPRecordingConfig, HMSRecording, HMSRTMP, HMSPeerUpdateConfig } from '@100mslive/hms-video';
2
+ export { HMSPeer, HMSRoom, HMSMessage, HMSSpeaker, HMSConfig, HMSAudioTrackSettings, HMSVideoTrackSettings, HMSException, HMSSimulcastLayer, HMSRoomUpdate, HMSPeerUpdate, HMSTrackUpdate, HMSRole, HMSLocalPeer, HMSRemotePeer, HMSLogLevel, SimulcastLayerDefinition, DeviceMap, HMSDeviceChangeEvent, HMSPlaylistItem, HMSPlaylistManager, HMSPlaylistProgressEvent, RTMPRecordingConfig, HMSRecording, HMSRTMP, HMSPeerUpdateConfig, };
@@ -32,5 +32,7 @@ export declare enum HMSNotificationTypes {
32
32
  ROOM_ENDED = "ROOM_ENDED",
33
33
  REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM",
34
34
  DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE",
35
- PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED"
35
+ PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED",
36
+ NAME_UPDATED = "NAME_UPDATED",
37
+ METADATA_UPDATED = "METADATA_UPDATED"
36
38
  }
@@ -25,7 +25,7 @@ export interface HMSChangeMultiTrackStateParams {
25
25
  source?: HMSTrackSource;
26
26
  }
27
27
  export interface HMSLeaveRoomRequest {
28
- requestedBy: HMSPeer;
28
+ requestedBy?: HMSPeer;
29
29
  reason: string;
30
30
  roomEnded: boolean;
31
31
  }
@@ -18,12 +18,12 @@ export interface HMSPublishAllowed {
18
18
  audio: boolean;
19
19
  screen: boolean;
20
20
  }
21
- export declare const selectPeersWithAudioStatus: import("reselect/*").OutputSelector<HMSStore, HMSPeerWithMuteStatus[], (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSTrack>) => HMSPeerWithMuteStatus[]>;
21
+ export declare const selectPeersWithAudioStatus: import("reselect").OutputSelector<HMSStore, HMSPeerWithMuteStatus[], (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSTrack>) => HMSPeerWithMuteStatus[]>;
22
22
  /**
23
23
  * Select the role change request received for your local peer.
24
24
  */
25
- export declare const selectRoleChangeRequest: import("reselect/*").OutputSelector<HMSStore, HMSRoleChangeRequest | null, (res1: import("../schema").HMSRoleChangeStoreRequest, res2: Record<string, HMSPeer>, res3: Record<string, HMSRole>) => HMSRoleChangeRequest | null>;
25
+ export declare const selectRoleChangeRequest: import("reselect").OutputSelector<HMSStore, HMSRoleChangeRequest | null, (res1: import("../schema").HMSRoleChangeStoreRequest, res2: Record<string, HMSPeer>, res3: Record<string, HMSRole>) => HMSRoleChangeRequest | null>;
26
26
  /**
27
27
  * Select what streams is the local peer allowed to publish from video, audio and screenshare.
28
28
  */
29
- export declare const selectIsAllowedToPublish: import("reselect/*").OutputSelector<HMSStore, HMSPublishAllowed, (res: HMSRole | null) => HMSPublishAllowed>;
29
+ export declare const selectIsAllowedToPublish: import("reselect").OutputSelector<HMSStore, HMSPublishAllowed, (res: HMSRole | null) => HMSPublishAllowed>;
@@ -39,46 +39,46 @@ export declare const selectLocalMediaSettings: (store: HMSStore) => import("../s
39
39
  * }
40
40
  * ```
41
41
  */
42
- export declare const selectDevices: (store: HMSStore) => Pick<import("@100mslive/hms-video/dist/interfaces/HMSDeviceManager").HMSDeviceManager, "audioInput" | "audioOutput" | "videoInput">;
42
+ export declare const selectDevices: (store: HMSStore) => import("@100mslive/hms-video/dist/interfaces/HMSDeviceManager").DeviceMap;
43
43
  export declare const selectSpeakers: (store: HMSStore) => Record<string, import("../schema").HMSSpeaker>;
44
44
  /**
45
45
  * Select a boolean flag denoting whether you've joined a room.
46
46
  * NOTE: Returns true only after join, returns false during preview.
47
47
  */
48
- export declare const selectIsConnectedToRoom: import("reselect/*").OutputSelector<HMSStore, boolean | undefined, (res: HMSRoom) => boolean | undefined>;
49
- export declare const selectPeerCount: import("reselect/*").OutputSelector<HMSStore, number, (res: HMSRoom) => number>;
48
+ export declare const selectIsConnectedToRoom: import("reselect").OutputSelector<HMSStore, boolean | undefined, (res: HMSRoom) => boolean | undefined>;
49
+ export declare const selectPeerCount: import("reselect").OutputSelector<HMSStore, number, (res: HMSRoom) => number>;
50
50
  /**
51
51
  * Select an array of peers(remote peers and your local peer) present in the room.
52
52
  */
53
- export declare const selectPeers: import("reselect/*").OutputSelector<HMSStore, HMSPeer[], (res1: HMSRoom, res2: Record<string, HMSPeer>) => HMSPeer[]>;
53
+ export declare const selectPeers: import("reselect").OutputSelector<HMSStore, HMSPeer[], (res1: HMSRoom, res2: Record<string, HMSPeer>) => HMSPeer[]>;
54
54
  /**
55
55
  * Select the local peer object object assigned to you.
56
56
  */
57
- export declare const selectLocalPeer: import("reselect/*").OutputSelector<HMSStore, HMSPeer, (res1: HMSRoom, res2: Record<string, HMSPeer>) => HMSPeer>;
57
+ export declare const selectLocalPeer: import("reselect").OutputSelector<HMSStore, HMSPeer, (res1: HMSRoom, res2: Record<string, HMSPeer>) => HMSPeer>;
58
58
  /**
59
59
  * Select the peer ID of your local peer.
60
60
  */
61
- export declare const selectLocalPeerID: import("reselect/*").OutputSelector<HMSStore, string, (res: HMSRoom) => string>;
61
+ export declare const selectLocalPeerID: import("reselect").OutputSelector<HMSStore, string, (res: HMSRoom) => string>;
62
62
  /**
63
63
  * Select the track ID of your local peer's primary audio track
64
64
  */
65
- export declare const selectLocalAudioTrackID: import("reselect/*").OutputSelector<HMSStore, string | undefined, (res: HMSPeer) => string | undefined>;
65
+ export declare const selectLocalAudioTrackID: import("reselect").OutputSelector<HMSStore, string | undefined, (res: HMSPeer) => string | undefined>;
66
66
  /**
67
67
  * Select the track ID of your local peer's primary video track
68
68
  */
69
- export declare const selectLocalVideoTrackID: import("reselect/*").OutputSelector<HMSStore, string | undefined, (res: HMSPeer) => string | undefined>;
69
+ export declare const selectLocalVideoTrackID: import("reselect").OutputSelector<HMSStore, string | undefined, (res: HMSPeer) => string | undefined>;
70
70
  /**
71
71
  * Select an array of track IDs of all your local peer's tracks
72
72
  */
73
- export declare const selectLocalTrackIDs: import("reselect/*").OutputSelector<HMSStore, string[], (res1: string | undefined, res2: string | undefined, res3: string[]) => string[]>;
73
+ export declare const selectLocalTrackIDs: import("reselect").OutputSelector<HMSStore, string[], (res1: string | undefined, res2: string | undefined, res3: string[]) => string[]>;
74
74
  /**
75
75
  * Select remote peers(other users you're connected with via the internet) present in the room.
76
76
  */
77
- export declare const selectRemotePeers: import("reselect/*").OutputSelector<HMSStore, HMSPeer[], (res: HMSPeer[]) => HMSPeer[]>;
77
+ export declare const selectRemotePeers: import("reselect").OutputSelector<HMSStore, HMSPeer[], (res: HMSPeer[]) => HMSPeer[]>;
78
78
  /**
79
79
  * Select the peer who's speaking the loudest at the moment
80
80
  */
81
- export declare const selectDominantSpeaker: import("reselect/*").OutputSelector<HMSStore, HMSPeer | null, (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSSpeaker>) => HMSPeer | null>;
81
+ export declare const selectDominantSpeaker: import("reselect").OutputSelector<HMSStore, HMSPeer | null, (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSSpeaker>) => HMSPeer | null>;
82
82
  /**
83
83
  * Select a boolean denoting whether your local audio is unmuted
84
84
  * and the audio from your microphone is shared to remote peers
@@ -101,50 +101,50 @@ export declare const selectIsLocalVideoDisplayEnabled: (store: HMSStore) => bool
101
101
  /**
102
102
  * Select a boolean denoting whether your screen is shared to remote peers in the room.
103
103
  */
104
- export declare const selectIsLocalScreenShared: import("reselect/*").OutputSelector<HMSStore, boolean, (res1: HMSPeer, res2: Record<string, import("../schema").HMSTrack>) => boolean>;
104
+ export declare const selectIsLocalScreenShared: import("reselect").OutputSelector<HMSStore, boolean, (res1: HMSPeer, res2: Record<string, import("../schema").HMSTrack>) => boolean>;
105
105
  /**
106
106
  * Select the first peer who is currently sharing their screen.
107
107
  */
108
- export declare const selectPeerScreenSharing: import("reselect/*").OutputSelector<HMSStore, HMSPeer | undefined, (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSTrack>) => HMSPeer | undefined>;
108
+ export declare const selectPeerScreenSharing: import("reselect").OutputSelector<HMSStore, HMSPeer | undefined, (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSTrack>) => HMSPeer | undefined>;
109
109
  /**
110
110
  * Select a boolean denoting whether someone is sharing screen in the room.
111
111
  */
112
- export declare const selectIsSomeoneScreenSharing: import("reselect/*").OutputSelector<HMSStore, boolean, (res: HMSPeer | undefined) => boolean>;
112
+ export declare const selectIsSomeoneScreenSharing: import("reselect").OutputSelector<HMSStore, boolean, (res: HMSPeer | undefined) => boolean>;
113
113
  /**
114
114
  * Select the first peer who is currently sharing their audio only screen
115
115
  */
116
- export declare const selectPeerSharingAudio: import("reselect/*").OutputSelector<HMSStore, HMSPeer | undefined, (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSTrack>) => HMSPeer | undefined>;
116
+ export declare const selectPeerSharingAudio: import("reselect").OutputSelector<HMSStore, HMSPeer | undefined, (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSTrack>) => HMSPeer | undefined>;
117
117
  /**
118
118
  * Select an array of peers who are currently sharing their screen.
119
119
  */
120
- export declare const selectPeersScreenSharing: import("reselect/*").OutputSelector<HMSStore, HMSPeer[], (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSTrack>) => HMSPeer[]>;
121
- export declare const selectPeerSharingVideoPlaylist: import("reselect/*").OutputSelector<HMSStore, HMSPeer | undefined, (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSTrack>) => HMSPeer | undefined>;
122
- export declare const selectPeerSharingAudioPlaylist: import("reselect/*").OutputSelector<HMSStore, HMSPeer | undefined, (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSTrack>) => HMSPeer | undefined>;
120
+ export declare const selectPeersScreenSharing: import("reselect").OutputSelector<HMSStore, HMSPeer[], (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSTrack>) => HMSPeer[]>;
121
+ export declare const selectPeerSharingVideoPlaylist: import("reselect").OutputSelector<HMSStore, HMSPeer | undefined, (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSTrack>) => HMSPeer | undefined>;
122
+ export declare const selectPeerSharingAudioPlaylist: import("reselect").OutputSelector<HMSStore, HMSPeer | undefined, (res1: Record<string, HMSPeer>, res2: Record<string, import("../schema").HMSTrack>) => HMSPeer | undefined>;
123
123
  /**
124
124
  * Select an array of tracks that have been degraded(receiving lower video quality/no video) due to bad network locally.
125
125
  */
126
- export declare const selectDegradedTracks: import("reselect/*").OutputSelector<HMSStore, import("../schema").HMSTrack[], (res: import("../schema").HMSTrack[]) => import("../schema").HMSTrack[]>;
126
+ export declare const selectDegradedTracks: import("reselect").OutputSelector<HMSStore, import("../schema").HMSTrack[], (res: import("../schema").HMSTrack[]) => import("../schema").HMSTrack[]>;
127
127
  /**
128
128
  * Select the number of messages(sent and received).
129
129
  */
130
- export declare const selectHMSMessagesCount: import("reselect/*").OutputSelector<HMSStore, number, (res: string[]) => number>;
130
+ export declare const selectHMSMessagesCount: import("reselect").OutputSelector<HMSStore, number, (res: string[]) => number>;
131
131
  /**
132
132
  * Select the number of unread messages.
133
133
  */
134
- export declare const selectUnreadHMSMessagesCount: import("reselect/*").OutputSelector<HMSStore, number, (res: Record<string, HMSMessage>) => number>;
134
+ export declare const selectUnreadHMSMessagesCount: import("reselect").OutputSelector<HMSStore, number, (res: Record<string, HMSMessage>) => number>;
135
135
  /**
136
136
  * Select an array of messages in the room(sent and received).
137
137
  */
138
- export declare const selectHMSMessages: import("reselect/*").OutputSelector<HMSStore, HMSMessage[], (res1: string[], res2: Record<string, HMSMessage>) => HMSMessage[]>;
138
+ export declare const selectHMSMessages: import("reselect").OutputSelector<HMSStore, HMSMessage[], (res1: string[], res2: Record<string, HMSMessage>) => HMSMessage[]>;
139
139
  /**
140
140
  * Select the current state of the room.
141
141
  */
142
- export declare const selectRoomState: import("reselect/*").OutputSelector<HMSStore, HMSRoomState, (res: HMSRoom) => HMSRoomState>;
142
+ export declare const selectRoomState: import("reselect").OutputSelector<HMSStore, HMSRoomState, (res: HMSRoom) => HMSRoomState>;
143
143
  /**
144
144
  * Select a boolean denoting whether the room is in Preview state.
145
145
  */
146
- export declare const selectIsInPreview: import("reselect/*").OutputSelector<HMSStore, boolean, (res: HMSRoomState) => boolean>;
147
- export declare const selectRoomStarted: import("reselect/*").OutputSelector<HMSStore, boolean, (res: HMSRoom) => boolean>;
146
+ export declare const selectIsInPreview: import("reselect").OutputSelector<HMSStore, boolean, (res: HMSRoomState) => boolean>;
147
+ export declare const selectRoomStarted: import("reselect").OutputSelector<HMSStore, boolean, (res: HMSRoom) => boolean>;
148
148
  /**
149
149
  * Select available roles in the room as a map between the role name and {@link HMSRole} object.
150
150
  */
@@ -152,30 +152,40 @@ export declare const selectRolesMap: (store: HMSStore) => Record<string, HMSRole
152
152
  /**
153
153
  * Select an array of names of available roles in the room.
154
154
  */
155
- export declare const selectAvailableRoleNames: import("reselect/*").OutputSelector<HMSStore, string[], (res: Record<string, HMSRole>) => string[]>;
155
+ export declare const selectAvailableRoleNames: import("reselect").OutputSelector<HMSStore, string[], (res: Record<string, HMSRole>) => string[]>;
156
156
  /**
157
157
  * Select the {@link HMSRole} object of your local peer.
158
158
  */
159
- export declare const selectLocalPeerRole: import("reselect/*").OutputSelector<HMSStore, HMSRole | null, (res1: HMSPeer, res2: Record<string, HMSRole>) => HMSRole | null>;
159
+ export declare const selectLocalPeerRole: import("reselect").OutputSelector<HMSStore, HMSRole | null, (res1: HMSPeer, res2: Record<string, HMSRole>) => HMSRole | null>;
160
160
  /**
161
161
  * Select a boolean denoting whether if your local peer is allowed to subscribe to any other role.
162
162
  */
163
- export declare const selectIsAllowedToSubscribe: import("reselect/*").OutputSelector<HMSStore, boolean, (res: HMSRole | null) => boolean>;
163
+ export declare const selectIsAllowedToSubscribe: import("reselect").OutputSelector<HMSStore, boolean, (res: HMSRole | null) => boolean>;
164
164
  /**
165
165
  * Select the permissions which determine what actions the local peer can do.
166
166
  */
167
- export declare const selectPermissions: import("reselect/*").OutputSelector<HMSStore, {
167
+ export declare const selectPermissions: import("reselect").OutputSelector<HMSStore, {
168
168
  endRoom: boolean;
169
169
  removeOthers: boolean;
170
170
  unmute: boolean;
171
171
  mute: boolean;
172
172
  changeRole: boolean;
173
+ rtmp: boolean;
174
+ /**
175
+ * @internal
176
+ */
177
+ recording: boolean;
173
178
  } | undefined, (res: HMSRole | null) => {
174
179
  endRoom: boolean;
175
180
  removeOthers: boolean;
176
181
  unmute: boolean;
177
182
  mute: boolean;
178
183
  changeRole: boolean;
184
+ rtmp: boolean;
185
+ /**
186
+ * @internal
187
+ */
188
+ recording: boolean;
179
189
  } | undefined>;
180
- export declare const selectRecordingState: import("reselect/*").OutputSelector<HMSStore, import("@100mslive/hms-video/dist/interfaces/room").HMSRecording, (res: HMSRoom) => import("@100mslive/hms-video/dist/interfaces/room").HMSRecording>;
181
- export declare const selectRTMPState: import("reselect/*").OutputSelector<HMSStore, import("@100mslive/hms-video/dist/interfaces/room").HMSRTMP, (res: HMSRoom) => import("@100mslive/hms-video/dist/interfaces/room").HMSRTMP>;
190
+ export declare const selectRecordingState: import("reselect").OutputSelector<HMSStore, import("@100mslive/hms-video/dist/interfaces/room").HMSRecording, (res: HMSRoom) => import("@100mslive/hms-video/dist/interfaces/room").HMSRecording>;
191
+ export declare const selectRTMPState: import("reselect").OutputSelector<HMSStore, import("@100mslive/hms-video/dist/interfaces/room").HMSRTMP, (res: HMSRoom) => import("@100mslive/hms-video/dist/interfaces/room").HMSRTMP>;
@@ -56,14 +56,14 @@ export declare const selectScreenSharesByPeerId: (id?: string | undefined) => St
56
56
  /**
57
57
  * Select the screen share video track of a peer given a peer ID.
58
58
  */
59
- export declare const selectScreenShareByPeerID: (id?: string | undefined) => import("reselect/*").OutputSelector<HMSStore, HMSTrack | undefined, (res: {
59
+ export declare const selectScreenShareByPeerID: (id?: string | undefined) => import("reselect").OutputSelector<HMSStore, HMSTrack | undefined, (res: {
60
60
  video: HMSTrack | undefined;
61
61
  audio: HMSTrack | undefined;
62
62
  }) => HMSTrack | undefined>;
63
63
  /**
64
64
  * Select the screen share audio track of a peer given a peer ID.
65
65
  */
66
- export declare const selectScreenShareAudioByPeerID: (id?: string | undefined) => import("reselect/*").OutputSelector<HMSStore, HMSTrack | undefined, (res: {
66
+ export declare const selectScreenShareAudioByPeerID: (id?: string | undefined) => import("reselect").OutputSelector<HMSStore, HMSTrack | undefined, (res: {
67
67
  video: HMSTrack | undefined;
68
68
  audio: HMSTrack | undefined;
69
69
  }) => HMSTrack | undefined>;
@@ -107,8 +107,8 @@ export declare const selectScreenshareAudioVolumeByPeerID: (id?: string | undefi
107
107
  * Select the current simulcast layer of a track given a track ID.
108
108
  */
109
109
  export declare const selectSimulcastLayerByTrack: (id?: string | undefined) => StoreSelector<import("@100mslive/hms-video").HMSSimulcastLayer | undefined>;
110
- export declare const selectBroadcastMessages: import("reselect/*").OutputSelector<HMSStore, import("../schema").HMSMessage[], (res: import("../schema").HMSMessage[]) => import("../schema").HMSMessage[]>;
111
- export declare const selectBroadcastMessagesUnreadCount: import("reselect/*").OutputSelector<HMSStore, number, (res: import("../schema").HMSMessage[]) => number>;
110
+ export declare const selectBroadcastMessages: import("reselect").OutputSelector<HMSStore, import("../schema").HMSMessage[], (res: import("../schema").HMSMessage[]) => import("../schema").HMSMessage[]>;
111
+ export declare const selectBroadcastMessagesUnreadCount: import("reselect").OutputSelector<HMSStore, number, (res: import("../schema").HMSMessage[]) => number>;
112
112
  export declare const selectMessagesByPeerID: (id?: string | undefined) => StoreSelector<import("../schema").HMSMessage[] | undefined>;
113
113
  export declare const selectMessagesByRole: (id?: string | undefined) => StoreSelector<import("../schema").HMSMessage[] | undefined>;
114
114
  export declare const selectMessagesUnreadCountByRole: (id?: string | undefined) => StoreSelector<number>;
@@ -1,3 +1,3 @@
1
- export declare const selectRoleByRoleName: (roleName: string) => import("reselect/*").OutputSelector<import("../schema").HMSStore, import("@100mslive/hms-video/dist/interfaces/role").HMSRole, (res: Record<string, import("@100mslive/hms-video/dist/interfaces/role").HMSRole>) => import("@100mslive/hms-video/dist/interfaces/role").HMSRole>;
2
- export declare const selectIsLocalVideoPluginPresent: (pluginName: string) => import("reselect/*").OutputSelector<import("../schema").HMSStore, boolean, (res: string[]) => boolean>;
3
- export declare const selectIsLocalAudioPluginPresent: (pluginName: string) => import("reselect/*").OutputSelector<import("../schema").HMSStore, boolean, (res: string[]) => boolean>;
1
+ export declare const selectRoleByRoleName: (roleName: string) => import("reselect").OutputSelector<import("../schema").HMSStore, import("@100mslive/hms-video/dist/interfaces/role").HMSRole, (res: Record<string, import("@100mslive/hms-video/dist/interfaces/role").HMSRole>) => import("@100mslive/hms-video/dist/interfaces/role").HMSRole>;
2
+ export declare const selectIsLocalVideoPluginPresent: (pluginName: string) => import("reselect").OutputSelector<import("../schema").HMSStore, boolean, (res: string[]) => boolean>;
3
+ export declare const selectIsLocalAudioPluginPresent: (pluginName: string) => import("reselect").OutputSelector<import("../schema").HMSStore, boolean, (res: string[]) => boolean>;