|
|
@@ -55,9 +55,12 @@ export function createDesiredLocalTracks(...desiredTypes) {
|
|
55
|
55
|
dispatch(destroyLocalDesktopTrackIfExists());
|
|
56
|
56
|
|
|
57
|
57
|
if (desiredTypes.length === 0) {
|
|
58
|
|
- const { audio, video } = state['features/base/media'];
|
|
|
58
|
+ const { video } = state['features/base/media'];
|
|
59
|
59
|
|
|
60
|
|
- audio.muted || desiredTypes.push(MEDIA_TYPE.AUDIO);
|
|
|
60
|
+ // XXX: Always create the audio track early, even if it will be muted.
|
|
|
61
|
+ // This fixes a timing issue when adding the track to the conference which
|
|
|
62
|
+ // manifests primarily on iOS 15.
|
|
|
63
|
+ desiredTypes.push(MEDIA_TYPE.AUDIO);
|
|
61
|
64
|
|
|
62
|
65
|
// XXX When the app is coming into the foreground from the
|
|
63
|
66
|
// background in order to handle a URL, it may realize the new
|