mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 01:22:11 +00:00
* refactor: Add extracted protos * refactor: Remove old stuff and update affected code * chore(package): Update `build:proto` script * chore(ClientInfo): Rename `androidSdkVersion` to `android_sdk_version` * chore: remove refs to old proto file * refactor(sabr_request): Rename `Gw` to `media_type` * chore(sabr_request): Fix typo in field num * feat(parser): Parse `video_playback_ustreamer_config` and `server_abr_streaming_url` * refactor: update protos * chore(package): streamline clean and build scripts * chore: update package.json * chore: update npmignore * chore(protos): Remove unneeded definitions See https://github.com/LuanRT/googlevideo for video playback proto definitions. * chore(package): add `rimraf` dependency
17 lines
522 B
Protocol Buffer
17 lines
522 B
Protocol Buffer
syntax = "proto3";
|
|
package youtube.api.pfiinnertube;
|
|
|
|
message ThirdPartyInfo {
|
|
optional string developer_key = 1;
|
|
optional string app_name = 2;
|
|
optional string app_publisher = 3;
|
|
optional string embed_url = 4;
|
|
optional string app_version = 6;
|
|
optional ThirdPartyInfo.EmbeddedPlayerContext embedded_player_context = 7;
|
|
|
|
message EmbeddedPlayerContext {
|
|
optional string ancestor_origins = 1;
|
|
optional string embedded_player_encrypted_context = 2;
|
|
optional bool ancestor_origins_supported = 3;
|
|
}
|
|
} |