Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

DVRWindowLength and CanSeek should be optional #246

Open
PatrikCarlander opened this issue Apr 2, 2019 · 2 comments
Open

DVRWindowLength and CanSeek should be optional #246

PatrikCarlander opened this issue Apr 2, 2019 · 2 comments

Comments

@PatrikCarlander
Copy link

DVRWindowLength (variable): The length of the DVR window, specified as the number of time increments indicated by the value of the TimeScale field. If this field is omitted for a live presentation or set to 0, the DVR window is effectively infinite.

When I play live streams that don't have DVRWindowLength the DVR window end doesn't update.
It's same for CanSeek that also are optional.

It would be great if you can fix so DVR window be infinite if DVRWindowLength and CanSeek are omitted.

@bbert
Copy link

bbert commented Apr 23, 2019

Hi @PatrikCarlander,
Can you provide a sample manifest that causes the issue?
BTW, as already indicated, we recommend using dash.js (with MSS package) instead of hasplayer.js since minimal support will be provided on hasplayer.js

@PatrikCarlander
Copy link
Author

<?xml version="1.0" encoding="utf-8"?>
<!-- Created with Unified Streaming Platform(version=1.9.5) -->
<SmoothStreamingMedia
MajorVersion="2"
MinorVersion="0"
TimeScale="10000000"
Duration="0"
LookAheadFragmentCount="2"
IsLive="TRUE">
<StreamIndex
Type="audio"
QualityLevels="1"
TimeScale="10000000"
Language="NAR"
Subtype="AACL"
Name="audio101_NAR"
Chunks="256"
Url="QualityLevels({bitrate})/Fragments(audio101_NAR={start time})">
<QualityLevel
Index="0"
Bitrate="96000"
CodecPrivateData="11900000000000000000000000000000"
SamplingRate="48000"
Channels="2"
BitsPerSample="16"
PacketSize="4"
AudioTag="255"
FourCC="AACL" />
<c t="15589466996501875" d="19200000" />
<c d="19200000" />
<c d="19200000" />
<c d="19200000" />
</StreamIndex>
<StreamIndex
Type="text"
QualityLevels="1"
TimeScale="10000000"
Language="eng"
Subtype="SUBT"
Name="textstream301_eng"
Chunks="256"
Url="QualityLevels({bitrate})/Fragments(textstream301_eng={start time})">
<QualityLevel
Index="0"
Bitrate="20000"
CodecPrivateData=""
FourCC="TTML" />
<c t="15589466981750000" d="19200000" />
<c d="19200000" />
<c d="19200000" />
<c d="19200000" />
</StreamIndex>
<StreamIndex
Type="video"
QualityLevels="6"
TimeScale="10000000"
Subtype="AVC1"
Name="video"
Chunks="256"
Url="QualityLevels({bitrate})/Fragments(video={start time})"
MaxWidth="1280"
MaxHeight="720"
DisplayWidth="1280"
DisplayHeight="720">
<QualityLevel
Index="0"
Bitrate="252000"
CodecPrivateData="00000001674D400D96528303BF2E029C141414280000000168EF3880"
MaxWidth="384"
MaxHeight="216"
FourCC="AVC1" />
<QualityLevel
Index="1"
Bitrate="436000"
CodecPrivateData="00000001674D4015965281004B6029C1414142800000000168EF3880"
MaxWidth="512"
MaxHeight="288"
FourCC="AVC1" />
<QualityLevel
Index="2"
Bitrate="800000"
CodecPrivateData="00000001674D401E965281405FF2E029C1414142800000000168EF3880"
MaxWidth="640"
MaxHeight="360"
FourCC="AVC1" />
<QualityLevel
Index="3"
Bitrate="1400000"
CodecPrivateData="00000001674D401E965281806F6029C1414142800000000168EF3880"
MaxWidth="768"
MaxHeight="432"
FourCC="AVC1" />
<QualityLevel
Index="4"
Bitrate="2400000"
CodecPrivateData="00000001674D401F965280800936029C141414280000000168EF3880"
MaxWidth="1024"
MaxHeight="576"
FourCC="AVC1" />
<QualityLevel
Index="5"
Bitrate="4400000"
CodecPrivateData="00000001674D4028965280A00B76029C141414280000000168EF3880"
MaxWidth="1280"
MaxHeight="720"
FourCC="AVC1" />
<c t="15589466999754777" d="19200000" />
<c d="19200000" />
<c d="19200000" />
<c d="19200000" />
<c d="19200000" />
</StreamIndex>
</SmoothStreamingMedia>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants