We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 088d2d8 commit 8348813Copy full SHA for 8348813
library/src/main/java/com/mux/player/MuxPlayer.kt
@@ -51,6 +51,14 @@ class MuxPlayer private constructor(
51
private var muxStats: MuxStatsSdkMedia3<ExoPlayer>? = null
52
private var released: Boolean = false
53
54
+ /**
55
+ * Updates the Mux [CustomerData] reported by this player. This data will be applied until you
56
+ * change it again, or [release] this player.
57
+ */
58
+ fun updateCustomerData(customerData: CustomerData) {
59
+ muxStats?.updateCustomerData(customerData)
60
+ }
61
+
62
override fun release() {
63
// good to release muxStats first, so it doesn't call to the player after release
64
muxStats?.release()
0 commit comments