Skip to content

Commit

Permalink
Add simulate scenarios for disconnecting signal during connection res…
Browse files Browse the repository at this point in the history
…ume (#575)

* Add simulation of disconnect_signal_on_resume.

* generated protobuf

* simulate signal on resume no messages

* generated protobuf

---------

Co-authored-by: boks1971 <[email protected]>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 17, 2024
1 parent e17b08e commit 6dc023d
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 42 deletions.
124 changes: 83 additions & 41 deletions livekit/livekit_rtc.pb.go

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

6 changes: 5 additions & 1 deletion livekit_rtc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ message SimulateScenario {
// maximum bandwidth for subscribers, in bps
// when zero, clears artificial bandwidth limit
int64 subscriber_bandwidth = 6;
// disconnect signal on resume
bool disconnect_signal_on_resume = 7;
// disconnect signal on resume before sending any messages from server
bool disconnect_signal_on_resume_no_messages = 8;
}
}

Expand Down Expand Up @@ -380,4 +384,4 @@ message RegionInfo {
message SubscriptionResponse {
string track_sid = 1;
SubscriptionError err = 2;
}
}

0 comments on commit 6dc023d

Please sign in to comment.