mirror of
https://github.com/vector-im/element-call.git
synced 2026-04-03 07:10:26 +00:00
fix "source is in track directly"
Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -59,7 +59,7 @@ async function doConnect(
|
||||
const hasMicrophoneTrack = Array.from(
|
||||
livekitRoom?.localParticipant.audioTracks.values()
|
||||
).some((track: LocalTrackPublication) => {
|
||||
return track.options?.source == Track.Source.Microphone;
|
||||
return track.source == Track.Source.Microphone;
|
||||
});
|
||||
// We create a track in case there isn't any.
|
||||
if (!hasMicrophoneTrack) {
|
||||
|
||||
Reference in New Issue
Block a user