This message was deleted.
# helpdesk
s
This message was deleted.
d
Yeah, you can call
publishTrack
multiple times with the same kind of input. some caveats though: • consumers tend to use
participant.getTrack(source)
to get the
RemoteTrackPublication
. if you are tagging both tracks with
Track.Source.Microphone
, it would lead to a bit of unpredictability there which one it returns. • alternatively you can give Tracks a name and use that to distinguish between different microphones.
t
Thanks @dry-elephant-14928, we just tried it but got an error: publishing a second track with the same source: microphone {oldTrack: LocalTrackPublication, newTrack: LocalAudioTrack, trace: 'Error: publishing a second track with the same.. shows up as a warning on console, but seems there's an underlying error being thrown
d
it's a warning as it could have been unintentional.. are you seeing the underlying track to not be published?
t
we got 2 tracks published, trying to get an understanding on whether they actually have 2 different mic inputs
using
deviceId
in AudioCaptureOptions
and wondering whether there's any limitations from a browser pov here
d
I don't believe there are any limitations here..
t
It looks like it's publishing both tracks but we may have faced some of the caveats mentioned above
šŸ™ thanks
šŸ™Œ 1