How to track per room video minutes?
Hello, dear daily people :)
We are currently working on a workshop app using daily.co. We would like to track and limit video minutes per user per month.
The problem right now is we are not sure which is the best way to implement that feature using your API.
The first idea was that we track a OurUser <-> DailyRoom in our Database and then regularly call the /meeting/:name endpoint to calculate the usage of that user. Or is there a way to add some metadata to the daily room, so we can connect it to a specific user on our side?
Also, could you maybe provide some information on how the duration of the /meeting/:name object is calculated? Is it an accurate representation of video minutes spend in that room?
Any help is greatly appreciated,