Skip to content

Commit 7d0a464

Browse files
authored
introduce unified_session_id and extend performance stats with target bitrate (#1113)
1 parent 57b874d commit 7d0a464

File tree

7 files changed

+526
-421
lines changed

7 files changed

+526
-421
lines changed

protobuf/video/sfu/models/models.pb.go

Lines changed: 187 additions & 175 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protobuf/video/sfu/models/models.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,4 +413,6 @@ message PerformanceStats {
413413
float avg_fps = 4;
414414
// the track dimensions
415415
VideoDimension video_dimension = 5;
416+
// the target bitrate for the track, only for published tracks
417+
int32 target_bitrate = 6;
416418
}

protobuf/video/sfu/models/models_vtproto.pb.go

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protobuf/video/sfu/signal_rpc/signal.pb.go

Lines changed: 179 additions & 165 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protobuf/video/sfu/signal_rpc/signal.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ message SendStatsRequest {
8787
repeated models.PerformanceStats encode_stats = 16;
8888
// Decode stats for the subscriber
8989
repeated models.PerformanceStats decode_stats = 17;
90+
// user_session id can change during reconnects, this helps us to
91+
// identify the user across reconnects and should remain consistent until the user explicitly
92+
// disconnects, is kicked or the call is ended.
93+
string unified_session_id = 18;
9094
}
9195

9296
message SendStatsResponse {

protobuf/video/sfu/signal_rpc/signal.twirp.go

Lines changed: 82 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protobuf/video/sfu/signal_rpc/signal_vtproto.pb.go

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)