For most use cases, the Mux connector is capable of detecting whether a video is being played full-screen. Specifically, it can do so in the case where the player view is the same size as the device display (except ActionBars and other framework window decoration).
For other uses cases (non-overlaid controls, window decoration via plain Views, etc.) you may need to tell the SDK when the user switches to full-screen.
In some cases, you may have the program change within a stream, and you may want to track each program as a view on its own. An example of this is a live stream that streams multiple programs back to back, with no interruptions. You can include any metadata when changing the video, but you should only need to update the values that start with video.
When you change to a new video (in the same player) you need to update the information that Mux knows about the current video. Examples of when this is needed are:
changeVideo which will remove all previous video data and reset all metrics for the video view. You can include any metadata when changing the video, but you should only need to update the values that start with video.
It's best to change the video info immediately after telling the player which new source to play.
Stops video and ad analytics and closes all sessions.
By default, the Mux connector automatically tracks fatal errors. If a fatal error happens outside the player context, and you want to track it with Mux, you can call notifyError.
integer value for the generic type of error that occurred.
String providing more information on the error that occurred.
Additional context for the error.
Create a new Mux connector instance.