question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Audio, Text buffer size.

See original GitHub issue

I’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:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
toniheicommented, May 25, 2021

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.

0reactions
shri-hari93commented, May 25, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found