Player: ExoPlayer - konstantin-shinkarenko/doc-sample-proj GitHub Wiki
Conviva ExoPlayer module auto-detects video events emitted by ExoPlayer. Therefore, it's not necessary to report these events explicitly by using "reportPlaybackMetric()" API. It's still required to report application events such as backgrounding, metadata, session close, ad-related events.
Add the Conviva ExoPlayer module dependency
implementation 'com.conviva.sdk:conviva-exoplayer-sdk:4.0+'
Set player reference to Conviva videoAnalytics using this API:
videoAnalytics.setVideoPlayer(exoPlayer);
Since that moment, Conviva library will listen for all events automatically.
Known ExoPlayer metric limitations
Please refer to the Platform specific page for limitations.
| Metadata/Metric Name | Impact | Conditions (Y/N) | Issue |
|---|---|---|---|
| Average Bitrate | Under reported | HLS Demuxed Streams | Player reports video bitrate but reports 0 for audio. |
| Over reported | AVERAGE-BANDWIDTH unavailable | Player reports peak bitrate if average bitrate information is unavailable in manifest file. |
☞ NOTE: ExoPlayer does not support DASH Live on Android M.