Analytics onLoad events for HttpMediaDrmCallback requests
@icbaker is already working on this.
Since Jan 19, 2024.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Use case description
An often significant delay for first frame with channel tunes occurs because of delays from the DRM License Server key or provisioning requests, it would be nice to have analytics events for these.
Proposed solution
The standard MediaSourceEventListener report details for DATA_TYPE_DRM for fetches from EXT-X-KEY with an actual key URL, However the same level of details is missing from the DrmSessionEventListener events.
We could:
- Add load statistics to the existing
drmKeysLoadedevent - Add two new events (
drmKeyRequestStarted,drmKeyRequestCompleted)
Alternatives considered
Adding logging to the HttpMediaDrmCallback, this is simple but not as useful as a hook that allowed using AnalyticsListener to post the data to operational logging.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.