Hey all,I'm one of the Developers on Roll20 (https://roll20.net), and online VTT that makes heavy usage of multi-media components. We use WebRTC for audio and video chat, audio tags for our Jukebox system, and video tags for things like animated tokens.This update has basically broken our software. Has any consideration been given to presenting this as an option that can be toggled (i.e. once the limit is reached, an alert pops up with a box where you can opt-in to allowing more tags on the page?) I've also seen conversations starting to happen for things like Jitsi Meet where essentially this is now putting a cap on the number of folks that can be in a call. Seems like something that the user should be able to control.Best,RileyOn Wednesday, June 9, 2021 at 3:41:36 PM UTC-5 John Warburton (Gerrit) wrote:Attention is currently required from: Chris Hamilton.
Thank you very much for this suggestion.
It sounds entirely practical and I'll try it tomorrow.
With best wishes,
JW
To view, visit change 2816118. To unsubscribe, or for help writing mail filters, visit settings.
I'd like to second Riley's concerns here in that this should be toggle-able / disable-able setting as I also have several applications that create dynamic audio players via the use of "new Audio();" constructor in JavaScript. Some of my users have reported issues using my apps and I have had to instruct them to revert to a previous version of Chrome to overcome this restriction.
As I said in the first part of my message, we are fine with switching the audio pre-loads to a different system. I think it's also likely that we will be switching to something like Howler which I believe does use WebAudio to help alleviate the SFX issue. However, the WebRTC + using video tags to show animated sprites on a canvas is, I think, a broken use case that the new hard limit will simply make impossible going forward (open to ideas on how to work around this though if there is one).If raising the cap is an option, and the goal is to prevent crashes from websites with 1000s of video files all playing at once in an infinitely scrolling page, then my suggestion would be to increase the cap to something like 500/300...there's a pretty big gap between the current cap of 75 and the intended prevention of 1000s. At least for our use case I think that would be more than sufficient.
Appreciate you all taking the time to address this for us.Best,RileyOn Thu, Jul 22, 2021 at 1:03 PM Dale Curtis <dalec...@chromium.org> wrote:Raising the cap is fine with me if we find a truly broken case, but despite the unfortunate short term pain it's healthy that the current limit is catching large preload cases like this. I appreciate it's painful to discover this out of the blue on the stable channel though, so if we make further restrictions like this we'll send out some guidance to blink-dev@.Guiding authors to a more dynamic creation and destruction mechanism will provide a better user experience. Loading this many tags at once can hit the network cap of 6 open streams to a given origin, so these end up being serialized or stuck for reasons unbeknownst to the page author. Often an audio tag isn't necessarily the right mechanism for this use case either. Generally folks switch to WebAudio for large sound boards like this. E.g., using a single AudioContext w/ each sound effect loaded via decodeAudioFileData().