Record join/publish/subscribe cancellations. (#4102)

To get better picture of success/failure rate.
This commit is contained in:
Raja Subramanian
2025-11-25 14:06:02 +05:30
committed by GitHub
parent 402936324c
commit 7f10e18bac
9 changed files with 90 additions and 30 deletions
+2
View File
@@ -338,6 +338,7 @@ func (r *RoomManager) StartSession(
Leave: leave,
},
})
prometheus.IncrementParticipantRtcCanceled(1)
return errors.New("could not restart closed participant")
}
@@ -395,6 +396,7 @@ func (r *RoomManager) StartSession(
Leave: leave,
},
})
prometheus.IncrementParticipantRtcCanceled(1)
return errors.New("could not restart participant")
}