build
fun build(platformContext: <Error class: unknown class>, consumptionType: ConsumptionType): BroadpeakPlayer
DEVELOPER NOTE: This is overloaded version of the build function that handles clear content and should be used mainly for testing purposes.
Builds a BroadpeakPlayer instance for Server-Side Ad Insertion (SSAI).
This function constructs a BroadpeakPlayer capable of handling SSAI and creates a Broadpeak SmartLib's streaming session. If the streaming URL cannot be obtained from Broadpeak, teh player will fall back to using the original content URL.
Return
A Result which is either a Result.Success containing the configured BroadpeakPlayer or a Result.Failure with an Error if the player could not be built.
Parameters
platformContext
The PlatformContext instance.
consumptionType
The ConsumptionType of the media (e.g., VOD, LIVE).
Deprecated
Use overloaded build function instead
Replace with
import com.quickplay.vstb7.player.PlayerBuilder
Content copied to clipboard
build(platformContext, consumptionType)Content copied to clipboard