|
|
@@ -1092,8 +1092,10 @@ JitsiConference.prototype._fireMuteChangeEvent = function(track) {
|
|
1092
|
1092
|
* @returns {Array<JitsiLocalTrack>} - list of local tracks that are unmuted.
|
|
1093
|
1093
|
*/
|
|
1094
|
1094
|
JitsiConference.prototype._getInitialLocalTracks = function() {
|
|
|
1095
|
+ // Always add the audio track on mobile Safari because of a known issue where audio playout doesn't happen
|
|
|
1096
|
+ // if the user joins audio and video muted.
|
|
1095
|
1097
|
return this.getLocalTracks()
|
|
1096
|
|
- .filter(track => (track.getType() === MediaType.AUDIO && !this.isStartAudioMuted())
|
|
|
1098
|
+ .filter(track => (track.getType() === MediaType.AUDIO && (!this.isStartAudioMuted() || browser.isIosBrowser()))
|
|
1097
|
1099
|
|| (track.getType() === MediaType.VIDEO && !this.isStartVideoMuted()));
|
|
1098
|
1100
|
};
|
|
1099
|
1101
|
|