Commit a11a8716 by GiuseppePiscopo

feat(MediaSource): provide getTag default implementation

parent b278b028
...@@ -222,7 +222,9 @@ public interface MediaSource { ...@@ -222,7 +222,9 @@ public interface MediaSource {
/** /**
* Returns the tag set on the media source, or null when none was set. * Returns the tag set on the media source, or null when none was set.
*/ */
@Nullable Object getTag(); @Nullable default Object getTag() {
return null;
}
/** /**
* Starts source preparation if not yet started, and adds a listener for timeline and/or manifest * Starts source preparation if not yet started, and adds a listener for timeline and/or manifest
......
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