Luan
159237ff92
chore: Fix onesie request example and clean up
2025-04-06 19:12:24 -03:00
Luan
cc05057771
chore(UMP): Add TSDoc comments
2025-03-18 17:42:43 -03:00
Luan
d12432c0e5
feat(UMP): Add support for partial parts
2025-03-18 17:41:17 -03:00
Luan
d683f123c0
chore: fix SABR example and update protos
...
+ SABR now requires PoTokens.
2024-12-23 14:36:48 -03:00
Luan
3faff2f6f5
refactor(UMP): Simplify readVarInt method
...
Based on the following from the latest `base.js` from YouTube:
```ts
if (a.Kx(b, 1)) {
var c = a.getUint8(b);
c = c < 128 ? 1 : c < 192 ? 2 : c < 224 ? 3 : c < 240 ? 4 : 5
} else
c = 0;
```
2024-11-02 10:30:41 -03:00
Luan
008ded015f
chore(ServerAbrStream): Clean up
2024-11-02 10:02:53 -03:00
Luan
ec64dd5183
refactor!: drop cjs support
...
+ Publish to JSR (jsr.io)
2024-11-02 01:50:30 -03:00
Luan
3ab569c637
fix(sabr): Video-only playback is no longer supported
...
What a bummer...
At least they can't remove audio-only, since it's still needed for YouTube Music. :)
2024-10-24 09:12:18 -03:00
Luan
3f0ddc0555
chore: update protos
2024-10-23 09:35:50 -03:00
Luan
79711e655b
chore: update protos
2024-10-02 12:23:00 -05:00
Luan
125654457e
chore: update protos x2
2024-09-25 14:36:16 -03:00
Luan
e2e885bf09
fix(ServerAbrStream): validate server response
2024-09-19 14:10:00 -03:00
Luan
48ef9be26b
fix(ServerAbrStream): use optional chaining for sequenceNumber access
2024-09-19 13:53:17 -03:00
Luan
83d130eb14
chore: clean up
2024-09-18 16:06:51 -03:00
Luan
8e4104c9d0
chore: update protos
2024-09-16 15:40:36 -03:00
Luan
a1e573831b
chore(examples): clean up
2024-09-15 15:30:38 -03:00
Luan
f273a416c7
refactor(ServerAbrStream): Clean up
...
+ Add an example with ffmpeg.
2024-09-15 08:52:54 -03:00
Luan
d9fb9431ed
fix(ServerAbrStream): Ignore duplicate sequences
...
Ignoring them is not the best solution, but at least we don't end up with a corrupted file :P
Note:
This would only happen when downloading two itags (MediaType.MEDIA_TYPE_DEFAULT).
Other changes:
Convert field names to camelCase.
2024-09-14 12:03:06 -03:00
Luan
c5f18b840a
chore(ServerAbrStream): Update TODO comment
2024-09-13 14:19:39 -03:00
Luan
a508925216
feat: init repo
2024-09-13 13:52:28 -03:00