SRGSSR / pillarbox-web

Pillarbox is a versatile media playback ecosystem engineered for the web.
https://srgssr.github.io/pillarbox-web-demo/
MIT License
12 stars 1 forks source link

feat(srgssr-middleware): filter incompatible resources #123

Closed amtins closed 9 months ago

amtins commented 9 months ago

Description

Removes incompatible resources such as HDS and RTMP. This functionality to remove incompatible resources was not originally intended. However, some BUs, such as RTS and RSI, continue to return these resources.

When the backends of the various BUs stop providing this type of resource, it will be possible to remove this function.

Changes made

github-actions[bot] commented 9 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟒 Statements
98.37% (+0.01% πŸ”Ό)
482/490
🟒 Branches
93.44% (+0.03% πŸ”Ό)
228/244
🟒 Functions 100% 136/136
🟒 Lines
99.15% (+0% πŸ”Ό)
465/469

Test suite run success

145 tests passing in 9 suites.

Report generated by πŸ§ͺjest coverage report action from a8b8ab32e7758a7a1cba71ff1cd528e0f3814f18