monitorWithMuxData

fun ExoPlayer.monitorWithMuxData(context: Context, envKey: String, customerData: CustomerData, playerView: View? = null, customOptions: CustomOptions? = null, logLevel: MuxDataSdk.LogcatLevel = MuxDataSdk.LogcatLevel.NONE): MuxStatsSdkMedia3<ExoPlayer>

Monitor this Player with Mux Data, reporting data about the View to the environment specified by the env key

Parameters

context

a Context containing your player. If it's an Activity, screen size is obtained

envKey

your Mux Data Environment Key

customerData

data about you, your customer, and your video

playerView

the View showing your video content

customOptions

Options that affect the behavior of the SDK


fun Player.monitorWithMuxData(context: Context, envKey: String, customerData: CustomerData, playerView: View? = null, customOptions: CustomOptions? = null, logLevel: MuxDataSdk.LogcatLevel = MuxDataSdk.LogcatLevel.NONE): MuxStatsSdkMedia3<*>

Monitor this Player with Mux Data, reporting data about the View to the environment specified by the env key

If the Player is an ExoPlayer, exoplayer-specific will be collected

Parameters

context

a Context containing your player. If it's an Activity, screen size is obtained

envKey

your Mux Data Environment Key

customerData

data about you, your customer, and your video

playerView

the View showing your video content

customOptions

Options that affect the behavior of the SDK