setup() {
    this.audioPlayer.addEventListener('waiting', () => {
      console.log('[Audio Player] Player is waiting on data...');
      this.emit('waiting');
    });

    this.audioPlayer.preload = 'none';
    this.audioPlayer.autoplay = true;
    this.audioPlayer.src = URL.createObjectURL(this.mediaSource);
  }
Setups the player with the given buffer as source.