Skip to content

Commit

Permalink
Switch to SVG assets hosted on developer.android.com for reference docs
Browse files Browse the repository at this point in the history
#minor-release

PiperOrigin-RevId: 541970884
  • Loading branch information
icbaker authored and tof-tof committed Jun 22, 2023
1 parent 4604f0c commit 34f2345
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 98 deletions.
22 changes: 11 additions & 11 deletions libraries/common/src/main/java/androidx/media3/common/Timeline.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
import java.util.ArrayList;
import java.util.List;

// TODO(b/276289331): Revert to media3-hosted SVG links below once they're available on
// developer.android.com.
// TODO: b/288080357 - Replace developer.android.com fully-qualified SVG URLs below with relative
// URLs once we stop publishing exoplayer2 javadoc.

/**
* A flexible representation of the structure of media. A timeline is able to represent the
Expand All @@ -65,7 +65,7 @@
* <h2 id="single-file">Single media file or on-demand stream</h2>
*
* <p style="align:center"><img
* src="https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/doc-files/timeline-single-file.svg"
* src="https://developer.android.com/static/images/reference/androidx/media3/common/timeline-single-file.svg"
* alt="Example timeline for a single file">
*
* <p>A timeline for a single media file or on-demand stream consists of a single period and window.
Expand All @@ -76,7 +76,7 @@
* <h2>Playlist of media files or on-demand streams</h2>
*
* <p style="align:center"><img
* src="https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/doc-files/timeline-playlist.svg"
* src="https://developer.android.com/static/images/reference/androidx/media3/common/timeline-playlist.svg"
* alt="Example timeline for a playlist of files">
*
* <p>A timeline for a playlist of media files or on-demand streams consists of multiple periods,
Expand All @@ -88,7 +88,7 @@
* <h2 id="live-limited">Live stream with limited availability</h2>
*
* <p style="align:center"><img
* src="https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/doc-files/timeline-live-limited.svg"
* src="https://developer.android.com/static/images/reference/androidx/media3/common/timeline-live-limited.svg"
* alt="Example timeline for a live stream with limited availability">
*
* <p>A timeline for a live stream consists of a period whose duration is unknown, since it's
Expand All @@ -102,7 +102,7 @@
* <h2>Live stream with indefinite availability</h2>
*
* <p style="align:center"><img
* src="https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/doc-files/timeline-live-indefinite.svg"
* src="https://developer.android.com/static/images/reference/androidx/media3/common/timeline-live-indefinite.svg"
* alt="Example timeline for a live stream with indefinite availability">
*
* <p>A timeline for a live stream with indefinite availability is similar to the <a
Expand All @@ -113,7 +113,7 @@
* <h2 id="live-multi-period">Live stream with multiple periods</h2>
*
* <p style="align:center"><img
* src="https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/doc-files/timeline-live-multi-period.svg"
* src="https://developer.android.com/static/images/reference/androidx/media3/common/timeline-live-multi-period.svg"
* alt="Example timeline for a live stream with multiple periods">
*
* <p>This case arises when a live stream is explicitly divided into separate periods, for example
Expand All @@ -124,7 +124,7 @@
* <h2>On-demand stream followed by live stream</h2>
*
* <p style="align:center"><img
* src="https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/doc-files/timeline-advanced.svg"
* src="https://developer.android.com/static/images/reference/androidx/media3/common/timeline-advanced.svg"
* alt="Example timeline for an on-demand stream followed by a live stream">
*
* <p>This case is the concatenation of the <a href="#single-file">Single media file or on-demand
Expand All @@ -135,7 +135,7 @@
* <h2 id="single-file-midrolls">On-demand stream with mid-roll ads</h2>
*
* <p style="align:center"><img
* src="https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/doc-files/timeline-single-file-midrolls.svg"
* src="https://developer.android.com/static/images/reference/androidx/media3/common/timeline-single-file-midrolls.svg"
* alt="Example timeline for an on-demand stream with mid-roll ad groups">
*
* <p>This case includes mid-roll ad groups, which are defined as part of the timeline's single
Expand All @@ -151,7 +151,7 @@ public abstract class Timeline implements Bundleable {
* corresponding {@link Period Periods} in the timeline.
*
* <p style="align:center"><img
* src="https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/doc-files/timeline-window.svg"
* src="https://developer.android.com/static/images/reference/androidx/media3/common/timeline-window.svg"
* alt="Information defined by a timeline window">
*/
public static final class Window implements Bundleable {
Expand Down Expand Up @@ -560,7 +560,7 @@ private static Window fromBundle(Bundle bundle) {
* information relates to a corresponding {@link Window} in the timeline.
*
* <p style="align:center"><img
* src="https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/doc-files/timeline-period.svg"
* src="https://developer.android.com/static/images/reference/androidx/media3/common/timeline-period.svg"
* alt="Information defined by a period">
*/
public static final class Period implements Bundleable {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 34f2345

Please sign in to comment.