Skip to content

Commit

Permalink
Implement default no-args constructor for backwards compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
devoxin committed Dec 1, 2023
1 parent 0c64763 commit 62fc349
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ public abstract class M3uStreamSegmentUrlProvider {
protected String baseUrl;
protected SegmentInfo lastSegment;

protected M3uStreamSegmentUrlProvider() {
this(null);
}

protected M3uStreamSegmentUrlProvider(String originUrl) {
if (originUrl != null) {
if (originUrl.endsWith("/")) {
Expand Down

0 comments on commit 62fc349

Please sign in to comment.