Commit 73b5d0c3 by aquilescanta Committed by kim-vde

Expand documentation of ERROR_CODE_DRM_CONTENT_ERROR

PiperOrigin-RevId: 383382813
parent a302e349
...@@ -182,7 +182,12 @@ public class PlaybackException extends Exception implements Bundleable { ...@@ -182,7 +182,12 @@ public class PlaybackException extends Exception implements Bundleable {
public static final int ERROR_CODE_DRM_SCHEME_UNSUPPORTED = 6001; public static final int ERROR_CODE_DRM_SCHEME_UNSUPPORTED = 6001;
/** Caused by a failure while provisioning the device. */ /** Caused by a failure while provisioning the device. */
public static final int ERROR_CODE_DRM_PROVISIONING_FAILED = 6002; public static final int ERROR_CODE_DRM_PROVISIONING_FAILED = 6002;
/** Caused by attempting to play incompatible DRM-protected content. */ /**
* Caused by attempting to play incompatible DRM-protected content.
*
* <p>For example, this can happen when attempting to play a DRM protected stream using a scheme
* (like Widevine) for which there is no corresponding license acquisition data (like a pssh box).
*/
public static final int ERROR_CODE_DRM_CONTENT_ERROR = 6003; public static final int ERROR_CODE_DRM_CONTENT_ERROR = 6003;
/** Caused by a failure while trying to obtain a license. */ /** Caused by a failure while trying to obtain a license. */
public static final int ERROR_CODE_DRM_LICENSE_ACQUISITION_FAILED = 6004; public static final int ERROR_CODE_DRM_LICENSE_ACQUISITION_FAILED = 6004;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment