Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
577 changes: 247 additions & 330 deletions protobuf/video/sfu/models/models.pb.go

Large diffs are not rendered by default.

23 changes: 11 additions & 12 deletions protobuf/video/sfu/models/models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -401,19 +401,18 @@ enum AppleThermalState {
APPLE_THERMAL_STATE_CRITICAL = 4;
}

// EncodeStats represents the encoding statistics for a track.
message EncodeStats {
// PerformanceStats represents the encoding/decoding statistics for a track.
message PerformanceStats {
// The type of the track (e.g., audio, video).
TrackType track_type = 1;
// The codec used for encoding/decoding the track.
Codec codec = 2;
// The average encode time in milliseconds (for the publisher).
float avg_frame_encode_time_ms = 3;
float avg_fps = 4;
}

// DecodeStats represents the decoding statistics for a track.
message DecodeStats {
TrackType track_type = 1;
Codec codec = 2;
float avg_frame_decode_time_ms = 3;
float avg_fps = 4;
VideoDimension video_dimension = 5;
// The average decode time in milliseconds (for the subscriber).
float avg_frame_decode_time_ms = 4;
// The average frame rate in frames per second (FPS).
float avg_fps = 5;
// the video dimensions (width and height in pixels) of the track.
VideoDimension video_dimension = 6;
}
227 changes: 17 additions & 210 deletions protobuf/video/sfu/models/models_vtproto.pb.go

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

Loading