googlevideo 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +9 -9
- package/README.md +79 -66
- package/dist/protos/generated/misc/common.d.ts +0 -15
- package/dist/protos/generated/misc/common.js +1 -134
- package/dist/protos/generated/video_streaming/buffered_range.d.ts +0 -15
- package/dist/protos/generated/video_streaming/buffered_range.js +1 -147
- package/dist/protos/generated/video_streaming/client_abr_state.d.ts +16 -38
- package/dist/protos/generated/video_streaming/client_abr_state.js +95 -319
- package/dist/protos/generated/video_streaming/crypto_params.d.ts +0 -17
- package/dist/protos/generated/video_streaming/crypto_params.js +1 -79
- package/dist/protos/generated/video_streaming/encrypted_player_request.d.ts +2 -19
- package/dist/protos/generated/video_streaming/encrypted_player_request.js +9 -106
- package/dist/protos/generated/video_streaming/format_initialization_metadata.d.ts +0 -15
- package/dist/protos/generated/video_streaming/format_initialization_metadata.js +1 -75
- package/dist/protos/generated/video_streaming/live_metadata.d.ts +17 -0
- package/dist/protos/generated/video_streaming/live_metadata.js +122 -0
- package/dist/protos/generated/video_streaming/media_capabilities.d.ts +0 -15
- package/dist/protos/generated/video_streaming/media_capabilities.js +1 -122
- package/dist/protos/generated/video_streaming/media_header.d.ts +0 -17
- package/dist/protos/generated/video_streaming/media_header.js +1 -128
- package/dist/protos/generated/video_streaming/next_request_policy.d.ts +0 -15
- package/dist/protos/generated/video_streaming/next_request_policy.js +1 -50
- package/dist/protos/generated/video_streaming/onesie_header.d.ts +0 -15
- package/dist/protos/generated/video_streaming/onesie_header.js +1 -123
- package/dist/protos/generated/video_streaming/onesie_header_type.d.ts +0 -2
- package/dist/protos/generated/video_streaming/onesie_header_type.js +1 -146
- package/dist/protos/generated/video_streaming/onesie_player_request.d.ts +1 -17
- package/dist/protos/generated/video_streaming/onesie_player_request.js +5 -50
- package/dist/protos/generated/video_streaming/onesie_player_response.d.ts +18 -16
- package/dist/protos/generated/video_streaming/onesie_player_response.js +19 -54
- package/dist/protos/generated/video_streaming/onesie_request.d.ts +2 -15
- package/dist/protos/generated/video_streaming/onesie_request.js +11 -84
- package/dist/protos/generated/video_streaming/playback_cookie.d.ts +0 -15
- package/dist/protos/generated/video_streaming/playback_cookie.js +1 -43
- package/dist/protos/generated/video_streaming/playback_start_policy.d.ts +0 -15
- package/dist/protos/generated/video_streaming/playback_start_policy.js +1 -66
- package/dist/protos/generated/video_streaming/proxy_status.d.ts +0 -2
- package/dist/protos/generated/video_streaming/proxy_status.js +1 -66
- package/dist/protos/generated/video_streaming/request_cancellation_policy.d.ts +0 -15
- package/dist/protos/generated/video_streaming/request_cancellation_policy.js +1 -66
- package/dist/protos/generated/video_streaming/sabr_error.d.ts +0 -15
- package/dist/protos/generated/video_streaming/sabr_error.js +1 -29
- package/dist/protos/generated/video_streaming/sabr_redirect.d.ts +0 -15
- package/dist/protos/generated/video_streaming/sabr_redirect.js +1 -22
- package/dist/protos/generated/video_streaming/stream_protection_status.d.ts +0 -15
- package/dist/protos/generated/video_streaming/stream_protection_status.js +1 -29
- package/dist/protos/generated/video_streaming/streamer_context.d.ts +0 -17
- package/dist/protos/generated/video_streaming/streamer_context.js +1 -351
- package/dist/protos/generated/video_streaming/time_range.d.ts +0 -15
- package/dist/protos/generated/video_streaming/time_range.js +1 -34
- package/dist/protos/generated/video_streaming/video_playback_abr_request.d.ts +1 -15
- package/dist/protos/generated/video_streaming/video_playback_abr_request.js +19 -257
- package/dist/src/core/ServerAbrStream.d.ts +1 -0
- package/dist/src/core/ServerAbrStream.js +34 -47
- package/dist/src/core/UMP.d.ts +25 -1
- package/dist/src/core/UMP.js +35 -19
- package/dist/src/utils/Protos.d.ts +3 -2
- package/dist/src/utils/Protos.js +3 -2
- package/package.json +59 -60
package/package.json
CHANGED
|
@@ -1,61 +1,60 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "googlevideo",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "A set of utilities for working with Google Video APIs.",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"types": "./dist/src/index.d.ts",
|
|
8
|
-
"module": "./dist/src/index.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"watch": "npx tsc --watch",
|
|
11
|
-
"lint": "npx eslint ./src/**/*.ts",
|
|
12
|
-
"lint:fix": "npx eslint --fix ./src/**/*.ts",
|
|
13
|
-
"clean": "npx rimraf ./dist ./protos/generated",
|
|
14
|
-
"build": "npm run clean && npm run lint && npm run build:proto && npm run build:esm",
|
|
15
|
-
"build:esm": "npx tsc",
|
|
16
|
-
"build:proto": "node ./dev-scripts/generate-proto.mjs",
|
|
17
|
-
"prepare": "npm run build"
|
|
18
|
-
},
|
|
19
|
-
"author": "LuanRT <luan.lrt4@gmail.com> (https://github.com/LuanRT)",
|
|
20
|
-
"funding": [
|
|
21
|
-
"https://github.com/sponsors/LuanRT"
|
|
22
|
-
],
|
|
23
|
-
"keywords": [
|
|
24
|
-
"UMP",
|
|
25
|
-
"SABR",
|
|
26
|
-
"Google",
|
|
27
|
-
"YouTube"
|
|
28
|
-
],
|
|
29
|
-
"license": "MIT",
|
|
30
|
-
"exports": {
|
|
31
|
-
".": {
|
|
32
|
-
"node": {
|
|
33
|
-
"import": "./dist/src/index.js"
|
|
34
|
-
},
|
|
35
|
-
"types": "./dist/src/index.d.ts",
|
|
36
|
-
"default": "./dist/src/index.js"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"@eslint/js": "^9.9.0",
|
|
41
|
-
"@stylistic/eslint-plugin": "^2.6.4",
|
|
42
|
-
"@types/eslint__js": "^8.42.3",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"typescript": "^
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "googlevideo",
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "A set of utilities for working with Google Video APIs.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"types": "./dist/src/index.d.ts",
|
|
8
|
+
"module": "./dist/src/index.js",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"watch": "npx tsc --watch",
|
|
11
|
+
"lint": "npx eslint ./src/**/*.ts",
|
|
12
|
+
"lint:fix": "npx eslint --fix ./src/**/*.ts",
|
|
13
|
+
"clean": "npx rimraf ./dist ./protos/generated",
|
|
14
|
+
"build": "npm run clean && npm run lint && npm run build:proto && npm run build:esm",
|
|
15
|
+
"build:esm": "npx tsc",
|
|
16
|
+
"build:proto": "node ./dev-scripts/generate-proto.mjs",
|
|
17
|
+
"prepare": "npm run build"
|
|
18
|
+
},
|
|
19
|
+
"author": "LuanRT <luan.lrt4@gmail.com> (https://github.com/LuanRT)",
|
|
20
|
+
"funding": [
|
|
21
|
+
"https://github.com/sponsors/LuanRT"
|
|
22
|
+
],
|
|
23
|
+
"keywords": [
|
|
24
|
+
"UMP",
|
|
25
|
+
"SABR",
|
|
26
|
+
"Google",
|
|
27
|
+
"YouTube"
|
|
28
|
+
],
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"node": {
|
|
33
|
+
"import": "./dist/src/index.js"
|
|
34
|
+
},
|
|
35
|
+
"types": "./dist/src/index.d.ts",
|
|
36
|
+
"default": "./dist/src/index.js"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@eslint/js": "^9.9.0",
|
|
41
|
+
"@stylistic/eslint-plugin": "^2.6.4",
|
|
42
|
+
"@types/eslint__js": "^8.42.3",
|
|
43
|
+
"eslint": "^9.9.0",
|
|
44
|
+
"globals": "^15.9.0",
|
|
45
|
+
"ts-proto": "^2.2.0",
|
|
46
|
+
"typescript": "^5.5.4",
|
|
47
|
+
"typescript-eslint": "^8.2.0"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@bufbuild/protobuf": "^2.0.0"
|
|
51
|
+
},
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/LuanRT/GoogleVideo/issues"
|
|
54
|
+
},
|
|
55
|
+
"homepage": "https://github.com/LuanRT/GoogleVideo#readme",
|
|
56
|
+
"repository": {
|
|
57
|
+
"type": "git",
|
|
58
|
+
"url": "git+https://github.com/LuanRT/GoogleVideo.git"
|
|
59
|
+
}
|
|
61
60
|
}
|