The audioTracks and videoTracks APIs for media elements switch audio and video tracks during playback.
audioTracks
videoTracks