An interface describing the payload of the PlayerEventType.ERROR event. The interface has properties that can uniquely identify the error.
Some valuable errors to handle:
A code representing the specific error condition. The code values depend on the source and result types. For example, if source is "Segment", the result is ErrorType.NETWORK, and the code value is 400, this indicates that an HTTP 400 error occurred while trying to download a video segment.
A message describing the error.
The source component within the player that generated the error.
The result code for the error.
Generated using TypeDoc