Skip to content

Commit

Permalink
chore: update protos
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Sep 16, 2024
1 parent ae7f419 commit 8e4104c
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 74 deletions.
132 changes: 67 additions & 65 deletions protos/generated/video_streaming/video_playback_abr_request.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions protos/video_streaming/video_playback_abr_request.proto
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,18 @@ message MediaInfo {

optional int32 time_since_last_manual_format_selection_ms = 13;
optional int32 last_manual_direction = 14;
optional int32 video_width = 16;
optional int32 quality = 16;
optional int32 detailed_network_type = 17;
optional int32 B7 = 18;
optional int32 A7 = 19;
optional int32 adjusted_width = 18;
optional int32 adjusted_height = 19;
optional int32 iea = 21;
optional int32 r7 = 23;
optional int32 startTimeMs = 28;
optional int32 zea = 29;
optional int64 start_time_ms = 28;
optional int64 time_since_last_seek = 29;
optional int32 visibility = 34;
optional int32 d8 = 36;
optional MediaCapabilities media_capabilities = 38;
optional int32 yea = 39;
optional int32 lact = 39;
// optional int32 Gw = 40;
optional MediaType media_type = 40;
optional int32 player_state = 44;
Expand All @@ -72,8 +72,8 @@ message MediaInfo {
optional bool is_prefetch = 61;
optional int32 Iz = 62;
optional bytes sabr_license_constraint = 63;
optional int32 l2 = 64;
optional int32 k2 = 66;
optional int32 allow_proxima_live_latency = 64;
optional int32 sabr_force_proxima = 66;
optional int32 Tqb = 67;
optional int32 c = 68;

Expand Down
2 changes: 1 addition & 1 deletion src/core/ServerAbrStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class ServerAbrStream extends EventEmitterLike {
const mediaInfo: MediaInfo = {
lastManualDirection: 0,
timeSinceLastManualFormatSelectionMs: 0,
videoWidth: videoFormats.length === 1 ? firstVideoFormat?.width : DEFAULT_VIDEO_WIDTH,
quality: videoFormats.length === 1 ? firstVideoFormat?.width : DEFAULT_VIDEO_WIDTH,
iea: videoFormats.length === 1 ? firstVideoFormat?.width : DEFAULT_VIDEO_WIDTH,
startTimeMs: 0,
visibility: 0,
Expand Down
Loading

0 comments on commit 8e4104c

Please sign in to comment.