Hi,
I have a requirement to calculate the total subscribed minutes of a session.
For e.g. If a session has 2 subscribers(User-1 and User-2) and they consumed the stream for 5 minutes and 10 minutes respectively then
Total Subscribed minutes of the Session would be = Total minutes subscribed by User-1 + Total Minutes subscribed by User-2
I can handle this independently on my APP using user connect and disconnect event, but i want to make it the part of Openvidu Inspector or Openvidu Kibana dashboard.
While exploring the Inspector panel i found a section “History” where it seems showing the same set of data which i need but i am confused how the calculation is being done. I am attaching the screen shot and please describe how the calculation is being done for
"Total Users", “Total Connections”, “Total Publisher”, “Total Subscribers”, "Streamed Time"
For your information,
- I had only 1 Publisher and 4 subscriber in this session but it’s showing 4 Publisher and 19 subscribers.
- Each users (Publisher and Subscribers) was getting connected and disconnected multiple times. I don’t know the exact number of times they connected and disconnected but it would be approx 3-4 times each.
- Session started at 11:26 and ended at 11:31 which is total 15 Minutes but in History section it’s showing 25 Mints. It may be because we have set 10 minutes times to auto stop the recording that why it seems showing total Duration = 25 Mints
Please help to understand the calculation of each field mentioned above.
If i need to achieve the same thing from Kibana how can i achieve it?