You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using the Skip silence audio processor but I'm unable to retrieve the number of dropped frames from the exoplayer instance.
This would be a nice feature to provide stats and feedback to the user
Proposed solution
Maybe adding a new callback in AnalyticsListener could be a solution
Alternatives considered
Duplicating the Skip Silence Audio processor to then add it to the RenderedFactory can work, but it's not ideal
The text was updated successfully, but these errors were encountered:
Just duplicating the SilenceSkippingAudioProcessor likely won't work because the player position needs to account for the skipped frame count. It should work to inject a DefaultAudioProcessorChain to DefaultAudioSink and access its skipped output frame count, but this is not very convenient as you need to know the audio format and the getter needs to be called on the playback thread.
How would you envisage a listener callback for this would work? It seems it might make more sense to have this work via DecoderCounters, or in the same way. I'll mark this as a low priority enhancement for now as it's unlikely we will get round to it soon.
[REQUIRED] Use case description
I'm currently using the Skip silence audio processor but I'm unable to retrieve the number of dropped frames from the exoplayer instance.
This would be a nice feature to provide stats and feedback to the user
Proposed solution
Maybe adding a new callback in AnalyticsListener could be a solution
Alternatives considered
Duplicating the Skip Silence Audio processor to then add it to the RenderedFactory can work, but it's not ideal
The text was updated successfully, but these errors were encountered: