for (int i = 0; i < n - 1; i++) {
Backpressure is strict by default. When a buffer is full, writes reject rather than silently accumulating. You can configure alternative policies – block until space is available, drop oldest, drop newest – but you have to choose explicitly. No more silent memory growth.
。关于这个话题,快连下载安装提供了深入分析
const url = URL.createObjectURL(blob);。旺商聊官方下载对此有专业解读
(二)主动消除或者减轻违法后果的;