Cannot change addUTCTimingSource
Created by: kisdaniel
I would like to change the default UTCTimingSource to https, but it seems to do nothing, it is stil tries to load the http time source:
var url = "stream/live_audio.mpd";
var player = dashjs.MediaPlayer().create();
player.initialize(document.querySelector("#videoPlayer"), url, false);
player.clearDefaultUTCTimingSources();
player.addUTCTimingSource("urn:mpeg:dash:utc:http-xsdate:2014", "https://time.akamai.com/?iso");
In the manifest file there is also a https url in timesource:
<?xml version="1.0" encoding="UTF-8"?>
<MPD
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:mpeg:DASH:schema:MPD:2011"
xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011"
type="dynamic"
minBufferTime="PT1S"
profiles="urn:mpeg:dash:profile:isoff-live:2011"
availabilityStartTime="2017-04-16T09:41:32Z"
timeShiftBufferDepth="PT7200S"
minimumUpdatePeriod="PT7200S">
<UTCTiming
schemeIdUri="urn:mpeg:dash:utc:http-iso:2014"
value="https://time.akamai.com/?iso"/>
<Period id="0" start="PT0S" >
<AdaptationSet id="0" mimeType="audio/webm" codecs="vorbis" bitstreamSwitching="true" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
<ContentComponent id="1" type="audio"/>
<SegmentTemplate timescale="1000" duration="2000" media="audio_$RepresentationID$_$Number$.chk" startNumber="1" initialization="audio_$RepresentationID$.hdr"/>
<Representation id="32" bandwidth="128000" audioSamplingRate="22050" codecs="vorbis" mimeType="audio/webm" startsWithSAP="1"></Representation>
</AdaptationSet>
<AdaptationSet id="1" mimeType="audio/webm" codecs="vorbis" bitstreamSwitching="true" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
<ContentComponent id="1" type="audio"/>
<SegmentTemplate timescale="1000" duration="2000" media="audio_$RepresentationID$_$Number$.chk" startNumber="1" initialization="audio_$RepresentationID$.hdr"/>
<Representation id="128" bandwidth="128000" audioSamplingRate="44100" codecs="vorbis" mimeType="audio/webm" startsWithSAP="1"></Representation>
</AdaptationSet>
</Period>
</MPD>
~