Remove deprecated debug listener methods from SimpleExoPlayer
- Once the ability to add debug listeners is removed, analyticsCollector is the only component that needs to receive the events. Hence it is called directly. - It seemed less confusing to do the same thing for (non-debug) video and audio events, and to have AnalyticsCollector no longer implement VideoListener and AudioListener directly. This clears up confusion that arises as a result of the debug and non-debug interfaces defining the same methods in some cases, and having to be careful not to end up calling the corresponding AnalyticsCollector method twice. PiperOrigin-RevId: 351835491
Showing
with
70 additions
and
51 deletions
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment