Commit Graph

107 Commits

Author SHA1 Message Date
Luan
c240c97c23 fix(generate-proto): Use forceLong=string option
Noticed YouTube returning very large int64 values, causing the protobuf library to throw.
2025-09-14 19:58:07 -03:00
dependabot[bot]
4d0a4a0f14 build(deps-dev): bump vite from 7.0.6 to 7.1.5 (#33)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.0.6 to 7.1.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.1.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 19:21:35 -03:00
github-actions[bot]
e0be4765e1 chore(main): release googlevideo 4.0.3 (#31)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
googlevideo-v4.0.3
2025-08-16 02:09:56 -03:00
Luan
eb28ed07c1 chore: catch up with main branch 2025-08-16 02:07:09 -03:00
Luan
5238e7322a fix(SabrUmpProcessor): Init segment not being fetched when cache is disabled 2025-08-16 02:06:33 -03:00
Luan
4112e35422 fix(SabrStreamingAdapter): Add lastPlayerTimeSecs to prevent stale data usage
Thank you, @andrews54757, for reporting and helping debug this on Discord!
2025-08-16 02:05:36 -03:00
github-actions[bot]
9a0572263f chore(main): release googlevideo 4.0.2 (#30)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
googlevideo-v4.0.2
2025-07-24 10:05:20 -03:00
Luan
fa4d4f7b11 chore(docs): Update API ref 2025-07-24 10:04:20 -03:00
Luan
19854137ca chore(package): Remove main entry point
Oops, almost missed it.
2025-07-24 10:02:49 -03:00
Luan
d8d4471a44 chore(package): Remove unused type and module fields 2025-07-24 10:01:27 -03:00
Luan
059ce1cae8 chore: Update protos 2025-07-24 10:00:27 -03:00
Luan
34dc84f576 chore(package): Update deps 2025-07-24 09:57:33 -03:00
Luan
3d063c3d62 chore(shared-types): Add tsdoc
JSR was complaining about this one too...
2025-07-24 09:48:37 -03:00
Luan
b4a0728f6a fix(SabrStream): Catch part decoding errors and improve stall detection logic
Part decoding errors seem to happen quite often when using slow connections.

Code copied from the player adapter processor.
2025-07-24 09:44:34 -03:00
Luan
57d427774c chore: merge main 2025-07-22 16:39:56 -03:00
Luan
67ae82be3b chore: update docs 2025-07-22 16:39:38 -03:00
github-actions[bot]
e185cbcd88 chore(main): release googlevideo 4.0.1 (#29)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
googlevideo-v4.0.1
2025-07-22 16:02:30 -03:00
Luan
5b84100979 chore(docs): Add more tsdoc to make jsr happy
Release-As: 4.0.1
2025-07-22 16:00:42 -03:00
Luan
7c354bf505 chore: merge main 2025-07-22 15:28:36 -03:00
Luan
1770a47136 chore: fix jsr release 2025-07-22 15:28:20 -03:00
github-actions[bot]
c218cf203c chore(main): release googlevideo 4.0.0 (#28)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
googlevideo-v4.0.0
2025-07-22 15:26:02 -03:00
Luan
f4805f6b36 chore: lint 2025-07-22 15:24:30 -03:00
Luan
445c747a5d chore: remove .idea from repo 2025-07-22 15:09:38 -03:00
Luan
a744d6af0a feat!: rework library (#27) 2025-07-22 15:02:10 -03:00
absidue
059b7a8a26 chore(build): More efficient enum emit (#25)
* chore(build): More efficient enum emit

* chore(build): Add source mappings for enums
2025-07-18 13:19:50 -03:00
absidue
a65328dcca chore(protos): Enable removeEnumPrefix ts-proto option (#24) 2025-04-16 19:57:22 -03:00
Luan
d17ec5a045 chore: lint 2025-04-06 20:38:42 -03:00
Luan
e720acf743 chore: Add id-token permission to release-please action 2025-04-06 20:11:51 -03:00
Luan
b78930491a chore: Remove old browser example 2025-04-06 20:06:23 -03:00
Luan
e6e6caf042 chore: fix conflicts 2025-04-06 19:51:30 -03:00
Luan
159237ff92 chore: Fix onesie request example and clean up 2025-04-06 19:12:24 -03:00
absidue
173a2b0717 chore(protos): Add audioTrackId to ClientAbrState (#22) 2025-03-30 17:32:25 -03:00
github-actions[bot]
e217d50236 chore(main): release googlevideo 3.0.0 (#16)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
googlevideo-v3.0.0
2025-03-23 14:33:15 -03:00
absidue
c5c81a81ed refactor(protos)!: Remove the fromJSON, toJSON, create and fromPartial functions (#19) 2025-03-23 13:52:13 -03:00
Luan
d72f8b2dae chore(protos): Remove outdated comment and update exports 2025-03-19 18:15:48 -03:00
Luan
33878c6aff Merge remote-tracking branch 'origin/main' 2025-03-18 17:43:09 -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
absidue
d389d242ab feat(protos): Add LiveMetadata protobuf (#18) 2025-03-15 11:37:56 -03:00
Luan
4ff9c14f94 chore(protos): Rename YP to serializeResponseAsJson in EncryptedPlayerRequest 2025-02-15 21:10:01 -03:00
Luan
418898faa9 feat: Add support for unencrypted onesie requests & responses
Useful for those looking to skip encryption.
2025-02-15 21:03:08 -03:00
Luan
9db40aba02 chore(protos): Rename field6 to skip_response_encryption in OnesiePlayerRequest 2025-02-15 20:44:08 -03:00
Luan
3d0ec848cd chore(protos): Add all possible onesie_proxy_status enum values 2025-02-15 20:39:13 -03:00
Luan
d683f123c0 chore: fix SABR example and update protos
+ SABR now requires PoTokens.
2024-12-23 14:36:48 -03:00
Luan
7a106dc5f4 chore: update deps 2024-12-10 10:32:02 -03:00
Luan
96004ce991 chore(onesie-request): Use Application-Level Redirects
+ Add `cmo:sensitive_content=yes` to the redirector request.
2024-11-02 10:45:40 -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
175264b1c3 chore(onesie-example): Fix duplicate & in the /initplayback URL 2024-11-02 09:20:40 -03:00
Luan
a6eb8821cb chore: update onesie example 2024-11-02 02:52:10 -03:00