How to play remote tracks?

I am getting remote tracks ( video track - VT and audio track - AT ) using lib-jitsi-meet api.

How should I play these tracks?

  1. attach both VT, AT to one video tag
  2. attach VT to one video tag, attach AT to another hidden video tag
  3. attach VT to one video tag, attach AT to another audio tag
  1. Which is wrong?
  2. Which is prefered way?

This is what jitsi-meet does.

1 Like