Audio, Text buffer size.
See original GitHub issueI’m currently working on a project that generates analytics when a video is played in Exoplayer. As part of the analytics, I’m trying to calculate how much data(component-wise, eg: video, audio, and text) is yet available in the buffer to be played.
I went through the exoplayer docs as well as stack overflow questions, all I could find is the solution to calculate for the video component (player.getBufferedPositon - player.getCurrentPosition
). I would like to know the approach to calculate the buffered content for audio and text components separately. Is there API in the current version that allows me to calculate as simple as the video component?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Sample Rate, Bit Depth & Buffer Size Explained
Buffer Size is the amount of time allowed for your computer to process the audio of your sound card or audio interface.
Read more >What Buffer Size Should I Use? – Does It Affect Sound Quality?
So, when you start noticing latency: lower your buffer size. Most DAWs offer six buffer size options: 32, 64, 128, 256, 512, and...
Read more >Audio latency, buffer size and sample rate explained
What is the buffer size? It is basically the maximum number of samples that will be collected before your plugins get to process...
Read more >What buffer size setting should you use in your DAW?
Buffer size is measured in the number of samples that can be accommodated in the DAW's buffer at any one time. Digital audio...
Read more >What is Sample Rate, Bit Depth, and Buffer Size - Mixing Tips
The primary term we regularly hear about is the sampling rate or sampling frequency, which each refers to the identical thing. Among the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, I’ll close the issue for now as there is nothing we need to do. If you discover at a later stage that this feature request is still needed, please re-open or file a new issue.
Thanks for the support and quick response. As per our project, we are still analyzing the need for the component-wise buffer size. Currently, we could live with the existing synced buffer size calculation for the exoplayer.