bitmovin / bitmovin-player-android-analytics-conviva

Integration of the Bitmovin Android Player SDK with the Conviva Analytics
MIT License
1 stars 4 forks source link

Support late player attaching #80

Closed stonko1994 closed 2 months ago

stonko1994 commented 2 months ago

Problem

There are certain scenarios where VST tracking should start before a Player instance is created. Currently there is no way to start a Conviva Session without a player instance.

Solution

Extending the API to allow session initialization without a Player instance and adding a possibility to attach a Player instance at a later point in the life-cycle of the session.

Notes

Manual session initialization API already existed and still needs to be used to start VST tracking.

Manual testing instructions

I extended the Sample with a new Start session button. To test this, start the sample but first hit the Release button to stop and destroy the player/session, which automatically starts. (Of comment out setupBitmovinPlayer in viewDidLoad).

Checklist