createExoplayerSession
fun EngagementSDK.createExoplayerSession(playerProvider: PlayerProvider, programId: String): LiveLikeContentSession
This extension act as a plugin for Exoplayer. It retrieves the timecode from an HLS stream using the PDT tags.
Parameters
playerProvider
An interface returning the latest player instance when called.
programId
The program to connect the session with. This Id can be created from the Engagement CMS.