UnityPlugin-AVProVideo
UnityPlugin-AVProVideo copied to clipboard
Api to get the currently used bandwidth while streaming
Is your feature request related to a problem? Please describe. To track down internet issues during streaming from customers more easily, we are sending some analytics data to our backend. Like ping times, data from a small speed test etc. As our videos do have different resolutions we would like add a currently used bandwidth datapoint to easily see which videos are causing issues or could lead to issues when customers do have bad internet.
Describe the solution you'd like Calling e.g. MediaPlayer.CurrentlyUsedBandwidth should return a value that represents the currently used bandwidth. Lets say 8.5 MBit/sec.
Describe alternatives you've considered Theoritcally you could get a very rough estimate of that value when using the video length and size, but as it's streamed, we also want that value when the quality scales down etc.
Which platform(s) are you targeting?
Sorry, forgot to mention that. iOS and Android
We'll have to look into it. For iOS when streaming HLS we can get back some information, but it's not continuously updated. And for Android we could look into implementing the DefaultBandwidthMeter class.
I'd like to request this feature desirably also on Windows and MacOS.