CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 01:24:32 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/videojs/http-streaming.git
etag: W/"b313105e5290b30afb2b65ae7173e0a1"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=DL7CZEm6RwiGmsErzxQzBUGRiMbtEiot6k1sRt2WoTMbgfGpSt8qt6M%2BoYqkWrMHIDu8B2MZF1BzuazSb0BOnOurVOERIxb0JW%2FNe9DkreWQrTI2XdjGWNg61b%2F%2FyrXg4dSRI2LGx%2F4OkXNNjukMC54trztMZTI%2Fb7j0zl23WABlVskuHyBRV5%2FCbA6yDdtNCp8QToIV4viBSgJrMM7u8MmkXBh9a2gVEGu4Vgi810T%2FGmUkdcmbkFcau%2FeyUni9oR5bEO03RtQV%2BkMRvOgC%2FQ%3D%3D--LFz5yMx99z9FxFs3--arU7kuDZyTqF4hjHXzmKHw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.872548334.1753493071; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 01:24:31 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 01:24:31 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D586:2992:8834B:D92AA:68842E4F
feat: useNetworkInfo API by default + exclude audio only renditions w… · videojs/http-streaming@1289dd4 · GitHub
Copy file name to clipboardExpand all lines: src/videojs-http-streaming.js
Copy file name to clipboardExpand all lines: test/manifests/multipleAudioGroupsCombinedMain.m3u8
Copy file name to clipboardExpand all lines: test/manifests/two-renditions.m3u8
Copy file name to clipboardExpand all lines: test/playlist-controller.test.js
Copy file name to clipboardExpand all lines: test/videojs-http-streaming.test.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 433
Commit 1289dd4
authored
feat: useNetworkInfo API by default + exclude audio only renditions when we have video renditions alongside (#1565)
* chore: filter audio-only playlists when we have playlists with video-only or muxed
* chore: set use network info api to true by default
* chore: simplify filter logic
* chore: use infinity exclude
* chore: default to true only if unset
* chore: fix tests
* feat: use default as true for networkInformation api1 parent 14ac65a commit 1289dd4Copy full SHA for 1289dd4
File tree
Expand file treeCollapse file tree
10 files changed
+83
-52
lines changedFilter options
- src
- util
- test
- manifests
Expand file treeCollapse file tree
10 files changed
+83
-52
lines changed+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
477 | 477 |
| |
478 | 478 |
| |
479 | 479 |
| |
480 |
| - | |
| 480 | + | |
481 | 481 |
| |
482 | 482 |
| |
483 | 483 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
146 |
| - | |
| 146 | + | |
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
|
+42-1Lines changed: 42 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| |||
523 | 524 |
| |
524 | 525 |
| |
525 | 526 |
| |
526 |
| - | |
| 527 | + | |
527 | 528 |
| |
528 | 529 |
| |
529 | 530 |
| |
530 | 531 |
| |
531 | 532 |
| |
532 | 533 |
| |
533 | 534 |
| |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
534 | 548 |
| |
535 | 549 |
| |
536 | 550 |
| |
| |||
540 | 554 |
| |
541 | 555 |
| |
542 | 556 |
| |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
543 | 584 |
| |
544 | 585 |
| |
545 | 586 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
src/videojs-http-streaming.js
Copy file name to clipboardExpand all lines: src/videojs-http-streaming.js+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
696 | 696 |
| |
697 | 697 |
| |
698 | 698 |
| |
699 |
| - | |
| 699 | + | |
| 700 | + | |
700 | 701 |
| |
701 | 702 |
| |
702 | 703 |
| |
|
test/manifests/multipleAudioGroupsCombinedMain.m3u8
Copy file name to clipboardExpand all lines: test/manifests/multipleAudioGroupsCombinedMain.m3u8+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
|
test/manifests/two-renditions.m3u8
Copy file name to clipboardExpand all lines: test/manifests/two-renditions.m3u8+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
|
test/playlist-controller.test.js
Copy file name to clipboardExpand all lines: test/playlist-controller.test.js+4-25Lines changed: 4 additions & 25 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1478 | 1478 |
| |
1479 | 1479 |
| |
1480 | 1480 |
| |
1481 |
| - | |
1482 | 1481 |
| |
1483 |
| - | |
1484 |
| - | |
1485 |
| - | |
1486 | 1482 |
| |
1487 | 1483 |
| |
1488 | 1484 |
| |
| |||
1498 | 1494 |
| |
1499 | 1495 |
| |
1500 | 1496 |
| |
1501 |
| - | |
1502 |
| - | |
1503 |
| - | |
1504 |
| - | |
1505 |
| - | |
1506 | 1497 |
| |
1507 | 1498 |
| |
1508 | 1499 |
| |
| |||
1525 | 1516 |
| |
1526 | 1517 |
| |
1527 | 1518 |
| |
1528 |
| - | |
1529 |
| - | |
1530 |
| - | |
1531 |
| - | |
1532 |
| - | |
1533 | 1519 |
| |
1534 | 1520 |
| |
1535 | 1521 |
| |
| |||
1540 | 1526 |
| |
1541 | 1527 |
| |
1542 | 1528 |
| |
1543 |
| - | |
1544 |
| - | |
| 1529 | + | |
| 1530 | + | |
1545 | 1531 |
| |
1546 | 1532 |
| |
1547 |
| - | |
| 1533 | + | |
1548 | 1534 |
| |
1549 | 1535 |
| |
1550 |
| - | |
| 1536 | + | |
1551 | 1537 |
| |
1552 | 1538 |
| |
1553 | 1539 |
| |
1554 |
| - | |
1555 |
| - | |
1556 |
| - | |
1557 |
| - | |
1558 |
| - | |
1559 |
| - | |
1560 | 1540 |
| |
1561 | 1541 |
| |
1562 | 1542 |
| |
| |||
1682 | 1662 |
| |
1683 | 1663 |
| |
1684 | 1664 |
| |
1685 |
| - | |
1686 | 1665 |
| |
1687 | 1666 |
| |
1688 | 1667 |
| |
|
+11-1Lines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
367 | 367 |
| |
368 | 368 |
| |
369 | 369 |
| |
370 |
| - | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
371 | 381 |
| |
372 | 382 |
| |
373 | 383 |
| |
|
test/videojs-http-streaming.test.js
Copy file name to clipboardExpand all lines: test/videojs-http-streaming.test.js+19-19Lines changed: 19 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1248 | 1248 |
| |
1249 | 1249 |
| |
1250 | 1250 |
| |
1251 |
| - | |
| 1251 | + | |
1252 | 1252 |
| |
1253 | 1253 |
| |
1254 | 1254 |
| |
| |||
1269 | 1269 |
| |
1270 | 1270 |
| |
1271 | 1271 |
| |
1272 |
| - | |
1273 |
| - | |
| 1272 | + | |
| 1273 | + | |
1274 | 1274 |
| |
1275 | 1275 |
| |
1276 | 1276 |
| |
1277 | 1277 |
| |
1278 | 1278 |
| |
1279 | 1279 |
| |
1280 | 1280 |
| |
1281 |
| - | |
| 1281 | + | |
1282 | 1282 |
| |
1283 | 1283 |
| |
1284 | 1284 |
| |
| |||
1383 | 1383 |
| |
1384 | 1384 |
| |
1385 | 1385 |
| |
1386 |
| - | |
| 1386 | + | |
1387 | 1387 |
| |
1388 | 1388 |
| |
1389 | 1389 |
| |
1390 | 1390 |
| |
1391 |
| - | |
| 1391 | + | |
1392 | 1392 |
| |
1393 | 1393 |
| |
1394 | 1394 |
| |
| |||
1416 | 1416 |
| |
1417 | 1417 |
| |
1418 | 1418 |
| |
1419 |
| - | |
| 1419 | + | |
1420 | 1420 |
| |
1421 | 1421 |
| |
1422 | 1422 |
| |
| |||
2892 | 2892 |
| |
2893 | 2893 |
| |
2894 | 2894 |
| |
2895 |
| - | |
| 2895 | + | |
2896 | 2896 |
| |
2897 | 2897 |
| |
2898 | 2898 |
| |
| |||
4693 | 4693 |
| |
4694 | 4694 |
| |
4695 | 4695 |
| |
4696 |
| - | |
| 4696 | + | |
4697 | 4697 |
| |
4698 | 4698 |
| |
4699 | 4699 |
| |
| |||
5837 | 5837 |
| |
5838 | 5838 |
| |
5839 | 5839 |
| |
5840 |
| - | |
| 5840 | + | |
5841 | 5841 |
| |
5842 | 5842 |
| |
5843 | 5843 |
| |
| |||
5859 | 5859 |
| |
5860 | 5860 |
| |
5861 | 5861 |
| |
5862 |
| - | |
| 5862 | + | |
5863 | 5863 |
| |
5864 | 5864 |
| |
5865 | 5865 |
| |
| |||
5891 | 5891 |
| |
5892 | 5892 |
| |
5893 | 5893 |
| |
5894 |
| - | |
| 5894 | + | |
5895 | 5895 |
| |
5896 | 5896 |
| |
5897 | 5897 |
| |
| |||
5933 | 5933 |
| |
5934 | 5934 |
| |
5935 | 5935 |
| |
5936 |
| - | |
| 5936 | + | |
5937 | 5937 |
| |
5938 | 5938 |
| |
5939 | 5939 |
| |
| |||
5987 | 5987 |
| |
5988 | 5988 |
| |
5989 | 5989 |
| |
5990 |
| - | |
| 5990 | + | |
5991 | 5991 |
| |
5992 | 5992 |
| |
5993 | 5993 |
| |
| |||
6039 | 6039 |
| |
6040 | 6040 |
| |
6041 | 6041 |
| |
6042 |
| - | |
| 6042 | + | |
6043 | 6043 |
| |
6044 | 6044 |
| |
6045 | 6045 |
| |
| |||
6099 | 6099 |
| |
6100 | 6100 |
| |
6101 | 6101 |
| |
6102 |
| - | |
| 6102 | + | |
6103 | 6103 |
| |
6104 | 6104 |
| |
6105 | 6105 |
| |
| |||
6116 | 6116 |
| |
6117 | 6117 |
| |
6118 | 6118 |
| |
6119 |
| - | |
| 6119 | + | |
6120 | 6120 |
| |
6121 | 6121 |
| |
6122 | 6122 |
| |
| |||
6170 | 6170 |
| |
6171 | 6171 |
| |
6172 | 6172 |
| |
6173 |
| - | |
| 6173 | + | |
6174 | 6174 |
| |
6175 | 6175 |
| |
6176 | 6176 |
| |
| |||
6219 | 6219 |
| |
6220 | 6220 |
| |
6221 | 6221 |
| |
6222 |
| - | |
| 6222 | + | |
6223 | 6223 |
| |
6224 | 6224 |
| |
6225 | 6225 |
| |
|
You can’t perform that action at this time.
0 commit comments