Commit 17a2feb
[WPE][MSE][GStreamer] Fix QuotaExceededError for init segment when no text limit specified
https://bugs.webkit.org/show_bug.cgi?id=302072
Reviewed by Philippe Normand and Alicia Boya Garcia.
Ignore missing "Text" limit in MSE_MAX_BUFFER_SIZE env when calculating max buffer size
for init segment.
With current impl, missing any of track type A/V/T from MSE_MAX_BUFFER_SIZE causes WebKit
to fallback to default value from HTMLMediaElement/settings that is ~15MB for WPE.
Providing higher video and audio limits in the env we can still end up in QuotaExceededError
because of that.
Assume video and audio limits are enough to calculate accumulative max buffer size
for any type of track.
Original author: Andrzej Surdej <Andrzej_Surdej@comcast.com>
See: #1578
* Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.cpp:
(WebCore::SourceBufferPrivateGStreamer::platformMaximumBufferSize const):
Canonical link: https://commits.webkit.org/302839@main1 parent 692a0e6 commit 17a2feb
File tree
1 file changed
+7
-6
lines changed- Source/WebCore/platform/graphics/gstreamer/mse
1 file changed
+7
-6
lines changedLines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
346 | 347 | | |
347 | 348 | | |
348 | 349 | | |
| |||
380 | 381 | | |
381 | 382 | | |
382 | 383 | | |
383 | | - | |
| 384 | + | |
384 | 385 | | |
385 | 386 | | |
386 | 387 | | |
| |||
0 commit comments