Listen to exo player events from app
- Dominant language
- Java
- Stars
- 201
- Forks
- 255
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to hook into the player events for analytical purposes. I'm seeing debug information such as: -
`D/PlaybackActivity: State change event! Oldstate= PLAYING NewState= READY`
and
`I/ExoPlayerStateMachineImpl: getDuration()= 61529`
I'm wishing to listen to this if possible.
Could someone point me in the right direction?
Contributor guide
Research direction
Search the project for PlaybackActivity and ExoPlayerStateMachineImpl, starting with the code that emits the logged state and duration events. Determine whether an application-facing event hook is already available; done means the app can receive the player events needed for analytics, with the supported usage documented or demonstrated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100