Hi!
Thank you for open-sourcing your work.
I and @splnlss @NYTimesR&D have been experimenting with the Web Audio client and were able to migrate the web client in this repo to the legacy player. Instead of preloading the audio files or using a Dash server, we can now use the client via a standard <audio> MediaElementSource with 8 channels, so streaming is done natively. Do you foresee any problems with this solution?
I also have a question about the code, specifically this line:
const merger = context.createChannelMerger(channels * 2);
So if my audio file has 8 channels, this merger will have 16 input channels. However all of the connections to the merger are done via two channels in here:
gain.connect(merger, 0, position === -1 ? 0 : 1);
Could you help me understand how this works?
Thank you!
/Avner
Hi!
Thank you for open-sourcing your work.
I and @splnlss @NYTimesR&D have been experimenting with the Web Audio client and were able to migrate the web client in this repo to the legacy player. Instead of preloading the audio files or using a Dash server, we can now use the client via a standard
<audio>MediaElementSourcewith 8 channels, so streaming is done natively. Do you foresee any problems with this solution?I also have a question about the code, specifically this line:
So if my audio file has 8 channels, this merger will have 16 input channels. However all of the connections to the merger are done via two channels in here:
Could you help me understand how this works?
Thank you!
/Avner