-
Guido Urdaneta authored
With this patch, the network state of elements playing inactive streams is NETWORK_IDLE and the state of elements playing active streams is NETWORK_LOADING. Before this CL, the network state was always NETWORK_LOADING, which prevented media elements from being garbage collected, which was a source of JavaScript memory leaks and made it easy to reach limits in the number of active low-level audio streams. Drive-by: Fix the case of addition of stopped tracks to a stream. Bug: 771550 Change-Id: Id0d8e27fc30c9850e5ad43d7a3887c03a9415a18 Reviewed-on: https://chromium-review.googlesource.com/1057808 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Emircan Uysaler <emircan@chromium.org> Cr-Commit-Position: refs/heads/master@{#558655}
fc2ee900