Commit 41ce635a by ibaker Committed by Oliver Woodman

Fix docs on MediaItem.Builder#setDrmUuid

The docs on setLicenseUri say it's optional, and it has been since
https://github.com/google/ExoPlayer/commit/379cd8a04f0bf44a9422a08440223581b2657d74
(which should have changed this javadoc too)

#minor-release

PiperOrigin-RevId: 376139158
parent 4f59394f
...@@ -284,8 +284,7 @@ public final class MediaItem implements Bundleable { ...@@ -284,8 +284,7 @@ public final class MediaItem implements Bundleable {
} }
/** /**
* Sets the {@link UUID} of the protection scheme. If a DRM system UUID is set, the {@link * Sets the {@link UUID} of the protection scheme.
* DrmConfiguration#licenseUri} needs to be set as well.
* *
* <p>If {@link #setUri} is passed a non-null {@code uri}, the DRM system UUID is used to create * <p>If {@link #setUri} is passed a non-null {@code uri}, the DRM system UUID is used to create
* a {@link PlaybackProperties} object. Otherwise it will be ignored. * a {@link PlaybackProperties} object. Otherwise it will be ignored.
......
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