diff options
author | Astound <kirito@disroot.org> | 2025-03-07 01:28:34 +0800 |
---|---|---|
committer | Astound <kirito@disroot.org> | 2025-03-07 01:28:34 +0800 |
commit | decbb8e0b2ce1a4b379cbd463ea836436eb11c63 (patch) | |
tree | 9b1c6efc1e041c6681cbf88c2d7833a74c8b97e3 /youtube/comments.py | |
parent | 35daa8879f7e0741d7723d93dca681c061658c68 (diff) | |
download | yt-local-decbb8e0b2ce1a4b379cbd463ea836436eb11c63.tar.lz yt-local-decbb8e0b2ce1a4b379cbd463ea836436eb11c63.tar.xz yt-local-decbb8e0b2ce1a4b379cbd463ea836436eb11c63.zip |
Improve buffer management for different platforms
- Introduced `BUFFER_CONFIG` to define buffer sizes for various systems (webOS, Samsung Tizen, Android TV, desktop).
- Added `detectSystem()` function to determine the platform based on `navigator.userAgent`.
- Updated `Stream` constructor to use platform-specific buffer sizes dynamically.
- Added console log for debugging detected system and applied buffer size.
Diffstat (limited to 'youtube/comments.py')
0 files changed, 0 insertions, 0 deletions