|
@@ -32,9 +32,6 @@ export * from './functions.any';
|
32
|
32
|
* @param {string|null} [options.micDeviceId] - Microphone device id or
|
33
|
33
|
* {@code undefined} to use app's settings.
|
34
|
34
|
* @param {number|undefined} [oprions.timeout] - A timeout for JitsiMeetJS.createLocalTracks used to create the tracks.
|
35
|
|
- * @param {boolean} [options.firePermissionPromptIsShownEvent] - Whether lib-jitsi-meet
|
36
|
|
- * should check for a {@code getUserMedia} permission prompt and fire a
|
37
|
|
- * corresponding event.
|
38
|
35
|
* @param {IStore} store - The redux store in the context of which the function
|
39
|
36
|
* is to execute and from which state such as {@code config} is to be retrieved.
|
40
|
37
|
* @param {boolean} recordTimeMetrics - If true time metrics will be recorded.
|
|
@@ -45,7 +42,6 @@ export function createLocalTracksF(options: ITrackOptions = {}, store?: IStore,
|
45
|
42
|
const {
|
46
|
43
|
desktopSharingSourceDevice,
|
47
|
44
|
desktopSharingSources,
|
48
|
|
- firePermissionPromptIsShownEvent,
|
49
|
45
|
timeout
|
50
|
46
|
} = options;
|
51
|
47
|
|
|
@@ -91,7 +87,6 @@ export function createLocalTracksF(options: ITrackOptions = {}, store?: IStore,
|
91
|
87
|
effects,
|
92
|
88
|
facingMode: options.facingMode || getCameraFacingMode(state),
|
93
|
89
|
firefox_fake_device, // eslint-disable-line camelcase
|
94
|
|
- firePermissionPromptIsShownEvent,
|
95
|
90
|
micDeviceId,
|
96
|
91
|
resolution,
|
97
|
92
|
timeout
|
|
@@ -146,7 +141,6 @@ export function createPrejoinTracks() {
|
146
|
141
|
if (requestedAudio || requestedVideo) {
|
147
|
142
|
tryCreateLocalTracks = createLocalTracksF({
|
148
|
143
|
devices: initialDevices,
|
149
|
|
- firePermissionPromptIsShownEvent: true,
|
150
|
144
|
timeout
|
151
|
145
|
}, APP.store)
|
152
|
146
|
.catch(async (err: Error) => {
|
|
@@ -163,7 +157,6 @@ export function createPrejoinTracks() {
|
163
|
157
|
if (requestedAudio) {
|
164
|
158
|
gUMPromises.push(createLocalTracksF({
|
165
|
159
|
devices: [ MEDIA_TYPE.AUDIO ],
|
166
|
|
- firePermissionPromptIsShownEvent: true,
|
167
|
160
|
timeout
|
168
|
161
|
}));
|
169
|
162
|
}
|
|
@@ -171,7 +164,6 @@ export function createPrejoinTracks() {
|
171
|
164
|
if (requestedVideo) {
|
172
|
165
|
gUMPromises.push(createLocalTracksF({
|
173
|
166
|
devices: [ MEDIA_TYPE.VIDEO ],
|
174
|
|
- firePermissionPromptIsShownEvent: true,
|
175
|
167
|
timeout
|
176
|
168
|
}));
|
177
|
169
|
}
|