|
@@ -127,8 +127,8 @@ function HlsStreamReader(src, options) {
|
|
|
this.noData = !!options.noData;
|
|
this.noData = !!options.noData;
|
|
|
|
|
|
|
|
// dates are inclusive
|
|
// dates are inclusive
|
|
|
- this.startDate = new Date(options.startDate);
|
|
|
|
|
- this.stopDate = new Date(options.stopDate);
|
|
|
|
|
|
|
+ this.startDate = options.startDate ? new Date(options.startDate) : null;
|
|
|
|
|
+ this.stopDate = options.stopDate ? new Date(options.stopDate) : null;
|
|
|
|
|
|
|
|
this.maxStallTime = options.maxStallTime || Infinity;
|
|
this.maxStallTime = options.maxStallTime || Infinity;
|
|
|
|
|
|