Commit eaf1f215 by ibaker Committed by microkatz

Clarify sideloaded subtitle example

#minor-release

PiperOrigin-RevId: 483633564
parent 3d0f43a1
Showing with 1 additions and 1 deletions
......@@ -88,7 +88,7 @@ when building a media item:
~~~
MediaItem.SubtitleConfiguration subtitle =
new MediaItem.SubtitleConfiguration.Builder(subtitleUri)
.setMimeType(MimeTypes.APPLICATION_SUBRIP) // The correct MIME type (required).
.setMimeType(mimeType) // The correct MIME type (required).
.setLanguage(language) // The subtitle language (optional).
.setSelectionFlags(selectionFlags) // Selection flags for the track (optional).
.build();
......
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