mirror of
https://github.com/LuanRT/googlevideo.git
synced 2026-06-13 00:32:11 +00:00
chore: lint
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
syntax = "proto2";
|
||||
package video_streaming;
|
||||
|
||||
@@ -13,7 +12,7 @@ message BufferedRange {
|
||||
required int32 end_segment_index = 5;
|
||||
optional TimeRange time_range = 6;
|
||||
optional Kob field9 = 9;
|
||||
optional YPa field11 = 11;
|
||||
optional YPa field11 = 11;
|
||||
optional YPa field12 = 12;
|
||||
}
|
||||
|
||||
@@ -29,4 +28,4 @@ message YPa {
|
||||
optional int32 field1 = 1;
|
||||
optional int32 field2 = 2;
|
||||
optional int32 field3 = 3;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,4 +48,4 @@ message ClientAbrState {
|
||||
optional int32 Tqb = 67;
|
||||
optional int64 sabr_force_max_network_interruption_duration_ms = 68;
|
||||
optional string audio_track_id = 69;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,10 +5,10 @@ message CryptoParams {
|
||||
enum CompressionType {
|
||||
NONE = 0;
|
||||
GZIP = 1;
|
||||
BROTLI = 2;
|
||||
}
|
||||
|
||||
optional bytes hmac = 4;
|
||||
optional bytes iv = 5;
|
||||
optional CompressionType compression_type = 6;
|
||||
}
|
||||
BROTLI = 2;
|
||||
}
|
||||
|
||||
optional bytes hmac = 4;
|
||||
optional bytes iv = 5;
|
||||
optional CompressionType compression_type = 6;
|
||||
}
|
||||
|
||||
@@ -11,13 +11,13 @@ message EncryptedPlayerRequest {
|
||||
optional bool serialize_response_as_json = 10;
|
||||
optional bool enable_ad_placements_preroll = 13;
|
||||
optional bool enable_compression = 14;
|
||||
|
||||
|
||||
message UstreamerFlags {
|
||||
optional bool send_video_playback_config = 2;
|
||||
}
|
||||
|
||||
optional UstreamerFlags ustreamer_flags = 15;
|
||||
|
||||
|
||||
optional bytes unencrypted_onesie_player_request = 16;
|
||||
optional bool use_jsonformatter_to_parse_player_response = 17;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,5 +13,5 @@ message FormatInitializationMetadata {
|
||||
optional .misc.IndexRange index_range = 7;
|
||||
optional int32 field8 = 8;
|
||||
optional int32 duration_ms = 9;
|
||||
optional int32 field10 = 10;
|
||||
}
|
||||
optional int32 field10 = 10;
|
||||
}
|
||||
|
||||
@@ -13,4 +13,4 @@ message LiveMetadata {
|
||||
optional int32 min_seekable_timescale = 13;
|
||||
optional int64 max_seekable_time_ticks = 14;
|
||||
optional int32 max_seekable_timescale = 15;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,4 +21,4 @@ message MediaCapabilities {
|
||||
optional int32 max_bitrate_bps = 3;
|
||||
optional int32 spatial_capability_bitmask = 6;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,4 +26,4 @@ message MediaHeader {
|
||||
NONE = 1;
|
||||
GZIP = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,4 +9,4 @@ message NextRequestPolicy {
|
||||
optional int32 backoff_time_ms = 4;
|
||||
optional .video_streaming.PlaybackCookie playback_cookie = 7;
|
||||
optional string video_id = 8;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
syntax = "proto2";
|
||||
package video_streaming;
|
||||
|
||||
import "video_streaming/onesie_header_type.proto";
|
||||
import "video_streaming/crypto_params.proto";
|
||||
import "video_streaming/onesie_header_type.proto";
|
||||
|
||||
message OnesieHeader {
|
||||
message Field23 {
|
||||
@@ -13,15 +13,15 @@ message OnesieHeader {
|
||||
repeated string itag_denylist = 1;
|
||||
}
|
||||
|
||||
optional OnesieHeaderType type = 1;
|
||||
optional string video_id = 2;
|
||||
optional string itag = 3;
|
||||
optional CryptoParams crypto_params = 4;
|
||||
optional uint64 last_modified = 5;
|
||||
optional OnesieHeaderType type = 1;
|
||||
optional string video_id = 2;
|
||||
optional string itag = 3;
|
||||
optional CryptoParams crypto_params = 4;
|
||||
optional uint64 last_modified = 5;
|
||||
optional int64 expected_media_size_bytes = 7;
|
||||
repeated string restricted_formats = 11;
|
||||
optional string xtags = 15;
|
||||
optional int64 sequence_number = 18;
|
||||
repeated string restricted_formats = 11;
|
||||
optional string xtags = 15;
|
||||
optional int64 sequence_number = 18;
|
||||
optional Field23 field23 = 23;
|
||||
optional Field34 field34 = 34;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,4 +14,4 @@ enum OnesieHeaderType {
|
||||
LAST_HIGH_PRIORITY_HINT = 9;
|
||||
STREAM_METADATA = 16;
|
||||
ENCRYPTED_INNERTUBE_RESPONSE_PART = 25;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,9 +4,9 @@ package video_streaming;
|
||||
import "misc/common.proto";
|
||||
|
||||
message OnesiePlayerRequest {
|
||||
optional string url = 1;
|
||||
repeated misc.HttpHeader headers = 2;
|
||||
optional string body = 3;
|
||||
optional bool proxied_by_trusted_bandaid = 4;
|
||||
optional bool skip_response_encryption = 6;
|
||||
}
|
||||
optional string url = 1;
|
||||
repeated misc.HttpHeader headers = 2;
|
||||
optional string body = 3;
|
||||
optional bool proxied_by_trusted_bandaid = 4;
|
||||
optional bool skip_response_encryption = 6;
|
||||
}
|
||||
|
||||
@@ -5,8 +5,8 @@ import "misc/common.proto";
|
||||
import "video_streaming/onesie_proxy_status.proto";
|
||||
|
||||
message OnesiePlayerResponse {
|
||||
optional OnesieProxyStatus onesie_proxy_status = 1;
|
||||
optional int32 http_status = 2;
|
||||
repeated .misc.HttpHeader headers = 3;
|
||||
optional bytes body = 4;
|
||||
}
|
||||
optional OnesieProxyStatus onesie_proxy_status = 1;
|
||||
optional int32 http_status = 2;
|
||||
repeated .misc.HttpHeader headers = 3;
|
||||
optional bytes body = 4;
|
||||
}
|
||||
|
||||
@@ -16,4 +16,4 @@ enum OnesieProxyStatus {
|
||||
ONESIE_PROXY_STATUS_DECOMPRESSION_FAILED = 11;
|
||||
ONESIE_PROXY_STATUS_JSON_PARSING_FAILED = 12;
|
||||
ONESIE_PROXY_STATUS_UNKNOWN_COMPRESSION_TYPE = 13;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
syntax = "proto2";
|
||||
package video_streaming;
|
||||
|
||||
import "misc/common.proto";
|
||||
import "video_streaming/buffered_range.proto";
|
||||
import "video_streaming/client_abr_state.proto";
|
||||
import "video_streaming/encrypted_player_request.proto";
|
||||
import "video_streaming/streamer_context.proto";
|
||||
import "video_streaming/buffered_range.proto";
|
||||
import "misc/common.proto";
|
||||
|
||||
message OnesieRequest {
|
||||
repeated string urls = 1;
|
||||
repeated string urls = 1;
|
||||
optional ClientAbrState client_abr_state = 2;
|
||||
optional EncryptedPlayerRequest player_request = 3;
|
||||
optional bytes onesie_ustreamer_config = 4;
|
||||
optional int32 max_vp9_height = 5;
|
||||
optional int32 client_display_height = 6;
|
||||
optional StreamerContext streamer_context = 10;
|
||||
optional .misc.OnesieRequestTarget request_target = 13; // MLOnesieRequestTarget
|
||||
repeated BufferedRange buffered_ranges = 14;
|
||||
}
|
||||
optional int32 max_vp9_height = 5;
|
||||
optional int32 client_display_height = 6;
|
||||
optional StreamerContext streamer_context = 10;
|
||||
optional .misc.OnesieRequestTarget request_target = 13; // MLOnesieRequestTarget
|
||||
repeated BufferedRange buffered_ranges = 14;
|
||||
}
|
||||
|
||||
@@ -8,4 +8,4 @@ message PlaybackCookie {
|
||||
optional int32 field2 = 2;
|
||||
optional .misc.FormatId video_fmt = 7;
|
||||
optional .misc.FormatId audio_fmt = 8;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,4 +9,4 @@ message PlaybackStartPolicy {
|
||||
|
||||
optional ReadaheadPolicy start_min_readahead_policy = 1;
|
||||
optional ReadaheadPolicy resume_min_readahead_policy = 2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,4 +11,4 @@ message RequestCancellationPolicy {
|
||||
optional int32 N0 = 1;
|
||||
repeated Item items = 2;
|
||||
optional int32 jq = 3;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,4 @@ package video_streaming;
|
||||
message SabrError {
|
||||
optional string type = 1;
|
||||
optional int32 code = 2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@ package video_streaming;
|
||||
|
||||
message SabrRedirect {
|
||||
optional string url = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,4 +7,4 @@ message SabrSeek {
|
||||
optional int64 seek_media_time = 1;
|
||||
optional int32 seek_media_timescale = 2;
|
||||
optional .misc.SeekSource seek_source = 3;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,4 @@ package video_streaming;
|
||||
message StreamProtectionStatus {
|
||||
optional int32 status = 1;
|
||||
optional int32 field2 = 2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ message StreamerContext {
|
||||
optional float screen_density_float = 65;
|
||||
optional int64 utc_offset_minutes = 67;
|
||||
optional string time_zone = 80;
|
||||
optional string chipset = 92; // e.g. "qcom;taro"
|
||||
optional string chipset = 92; // e.g. "qcom;taro"
|
||||
optional GLDeviceInfo gl_device_info = 102;
|
||||
}
|
||||
|
||||
@@ -63,4 +63,4 @@ message StreamerContext {
|
||||
repeated int32 field6 = 6;
|
||||
optional string field7 = 7;
|
||||
optional Gqa field8 = 8;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,4 +5,4 @@ message TimeRange {
|
||||
optional int64 start = 1;
|
||||
optional int64 duration = 2;
|
||||
optional int32 timescale = 3;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,10 @@ syntax = "proto2";
|
||||
package video_streaming;
|
||||
|
||||
import "misc/common.proto";
|
||||
import "video_streaming/buffered_range.proto";
|
||||
import "video_streaming/client_abr_state.proto";
|
||||
import "video_streaming/streamer_context.proto";
|
||||
import "video_streaming/buffered_range.proto";
|
||||
|
||||
|
||||
message VideoPlaybackAbrRequest {
|
||||
optional ClientAbrState client_abr_state = 1;
|
||||
repeated .misc.FormatId selected_format_ids = 2;
|
||||
@@ -15,7 +15,7 @@ message VideoPlaybackAbrRequest {
|
||||
optional Lo lo = 6;
|
||||
repeated .misc.FormatId selected_audio_format_ids = 16;
|
||||
repeated .misc.FormatId selected_video_format_ids = 17;
|
||||
optional StreamerContext streamer_context = 19;
|
||||
optional StreamerContext streamer_context = 19;
|
||||
optional OQa field21 = 21;
|
||||
optional int32 field22 = 22;
|
||||
optional int32 field23 = 23;
|
||||
@@ -48,4 +48,4 @@ message Pqa {
|
||||
repeated .misc.FormatId formats = 1;
|
||||
repeated BufferedRange ud = 2;
|
||||
optional string clip_id = 3;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user