Skip to content

Commit 573c85b

Browse files
Add a MEDIA_FAILURE disconnect reason. (#1085)
* Add a MEDIA_FAILURE disconnect reason. * generated protobuf --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent edc49fc commit 573c85b

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"github.com/livekit/protocol": patch
3+
"@livekit/protocol": patch
4+
---
5+
6+
Add a MEDIA_FAILURE disconnect reason.

livekit/livekit_models.pb.go

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

protobufs/livekit_models.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,8 @@ enum DisconnectReason {
491491
SIP_TRUNK_FAILURE = 13;
492492
// server timed out a participant session
493493
CONNECTION_TIMEOUT = 14;
494+
// media stream failure or media timeout
495+
MEDIA_FAILURE = 15;
494496
}
495497

496498
message RTPDrift {

0 commit comments

Comments
 (0)