You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+55Lines changed: 55 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -230,6 +230,61 @@ class MainActivity : AppCompatActivity() {
230
230
231
231
---
232
232
233
+
## Analytics (FastPix Data Core SDK)
234
+
235
+
The FastPix Android Data Core SDK provides analytics for FastPix playback on Android. It is **not** a standalone video player. Instead, it integrates with your player and automatically captures playback analytics, including:
- Engagement signals and session-level playback usage
240
+
241
+
The SDK sends collected analytics to your FastPix workspace, where you can monitor them in near real time through the FastPix dashboard. The integration is lightweight and does not interrupt or degrade playback.
242
+
243
+
### What it is for
244
+
245
+
Use analytics when you want to:
246
+
- Measure viewer engagement and completion trends
247
+
- Detect buffering and quality-of-experience issues
248
+
- Correlate playback behavior with video metadata (for example, title and ID,etc)
249
+
- Monitor player health and failures in production
250
+
251
+
### How to use it
252
+
253
+
Configure analytics using `AnalyticsConfig` and pass it to `FastPixPlayer.Builder`.
-`videoDataDetails`, `playerDataDetails`, and `customDataDetails` are optional and can be added based on your use case.
283
+
- If analytics setup fails at runtime, playback continues. Analytics is fail-safe by design.
284
+
- Current analytics APIs are optimized for Java-first Android integration. Kotlin ergonomics and customization options will improve in future releases.
285
+
286
+
---
287
+
233
288
## Seek Preview (Spritesheet thumbnails)
234
289
235
290
Seek preview lets you show **thumbnail previews while the user scrubs** your seek bar. When enabled, the SDK automatically attempts to resolve the default FastPix spritesheet URL from the currently loaded stream URL:
0 commit comments