RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
235 stars 28 forks source link

impossible to get the video bitrate! #267

Closed tarmata closed 4 years ago

tarmata commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

Hello! I'm AVpro user. It is impossible to get the bitrate of the video through url or video, so please contact us.

According to the given document, mediaplayer.Info.GetCurrentVideoTrackBitrate ()); The bitrate should be returned, but only 0 is still returned.

Please reply. Your Setup (please complete the following information):

To Reproduce

Logs If applicable, add error logs to help explain your problem. just 0; Screenshots If applicable, add screenshots to help explain your problem.

Videos If applicable, add a copy of your video or the URL

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

Instead email the link to us unitysupport@renderheads.com

Ste-RH commented 4 years ago

I assume this in on Android? Currently, we do not pass anything back for 'current bitrate'. IT might be possible to pass something back from the API when using the ExoPlayer API path. I will investigate this and add it to the next release if I find it returns anything usable.

AndrewRH commented 4 years ago

Closing this as it should now be possible in the latest version 1.10.2. Thanks,

DragontaleStudio commented 3 years ago

We are getting mediaplayer.Info.GetCurrentVideoTrackBitrate () = -1 on android builds with latest release. Is there any other way to retrieve the playing bitrate?

Ste-RH commented 3 years ago

@DragontaleStudio Are you able to share your video/stream-URL with us? (you can send it to unitysupport@renderheads.com if you wish to keep it private)