mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Currently, the implementation of `MediaControllerImplBase` differs from `ExoPlayerImpl`. The listeners of the former are notified of player error changes only in `onPlayerInfoChanged` and not `updatePlayerInfo` (masking method). Whereas `ExoPlayerImpl` has one unified method - `updatePlaybackInfo` - which sends the events to all the available listeners. This change fixes the lack of 2 particular callbacks - `onPlayerErrorChanged` and `onPlayerError`, however, there might be more differences. Ideally, there should be a unified method for oldPlayerInfo/newPlayerInfo comparison-update-notify-listeners flow. Issue: androidx/media#449 #minor-release PiperOrigin-RevId: 539961618 |
||
|---|---|---|
| .. | ||
| androidTest | ||
| main | ||
| test | ||