WebRTC session

Hi,

How long does a web RTC session last if it was created and for some reason not used/connected? Is it possible to obtain all sessions ? Checked here:

https://doc.developer.milestonesys.com/mipvmsapi/api/config-rest/v1/#tag/Session

but there is no DELETE/GET

Thanks

There are several factors which affect whether the WebRTC session is kept open or not:

  • the bearer token must be valid. By default, the token expires after an hour and must be refreshed in order to keep the session alive,
  • if the client-side session is closed either by closing the page or stopping the session through code, the server-side session will also be closed,
  • the IIS app pool used by the API Gateway (VideoOS.ApiGateway AppPool) is set to reset every 29 hours. Once the app pool is reset, all active sessions will be closed.

Regarding getting the list of all sessions, the answer is no, it’s not possible to do so.