mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
server: update metric for rtc_offer
This commit is contained in:
@@ -242,6 +242,9 @@ async def rtc_offer_base(
|
||||
await pc.setLocalDescription(answer)
|
||||
sessions.append(pc)
|
||||
|
||||
# update metrics
|
||||
m_rtc_sessions.inc()
|
||||
|
||||
return RtcOffer(sdp=pc.localDescription.sdp, type=pc.localDescription.type)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user