mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-22 07:09:34 +08:00
api, metrics: add endpoints and metrics for RTSP connections (#1233)
new API endpoints: * /v1/rtspconns/list * /v1/rtspsconns/list new metrics: * rtsp_conns * rtsps_conns
This commit is contained in:
@@ -163,7 +163,7 @@ func TestCorePathAutoDeletion(t *testing.T) {
|
||||
}
|
||||
}()
|
||||
|
||||
res := p.pathManager.apiPathsList(pathAPIPathsListReq{})
|
||||
res := p.pathManager.apiPathsList()
|
||||
require.NoError(t, res.err)
|
||||
|
||||
require.Equal(t, 0, len(res.data.Items))
|
||||
|
Reference in New Issue
Block a user