mirror of
https://github.com/samsonjs/media.git
synced 2026-03-28 09:55:48 +00:00
feat(MediaSource): provide getTag default implementation
This commit is contained in:
parent
b278b02816
commit
a11a8716ef
1 changed files with 3 additions and 1 deletions
|
|
@ -222,7 +222,9 @@ public interface MediaSource {
|
|||
/**
|
||||
* 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue