Skip to content

Commit 714b319

Browse files
dsilhavyKozhinM
authored andcommitted
Added Description of the sample sites
1 parent 1d63c73 commit 714b319

File tree

4 files changed

+49
-9
lines changed

4 files changed

+49
-9
lines changed

app/js/streaming/StreamController.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
var streams = [],
2323
activeStream,
2424
//TODO set correct value for threshold
25-
STREAM_BUFFER_END_THRESHOLD = 0.5,
25+
STREAM_BUFFER_END_THRESHOLD = 6,
2626
STREAM_END_THRESHOLD = 0.2,
2727
autoPlay = true,
2828
isPeriodSwitchingInProgress = false,

samples/ad-insertion/adinsertion_inband.html

+23-3
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,30 @@
131131
<img src="images/famium.png" style="position:absolute;top:20px;left:500px;" />
132132

133133
<div id="info_area">
134-
<div id="info_item" style="width: 500px; height: 300px;">
135-
Advert-Insertion with DASH + W3C MediaSource Extensions + Inband Event MPD Reload
134+
<div id="info_item" style="width: 550px; height: 300px;">
135+
<b>Advert-Insertion with DASH + W3C MediaSource Extensions + Inband Event MPD Reload</b>
136+
137+
<ol>
138+
<li>The server provides a MPD containing an InbandEventStream element on Period Level. The schmeIdUri and the value of the Eventstream are set according to ISO/IEC
139+
23009-1 5.10.4.1.
140+
<br><br>
141+
<pre>&lt;InbandEventStream schemeIdUri="urn:mpeg:dash:event:2012" value="1"/&gt;</pre>
142+
Additionally one segment contains an EMSG Box with the same schemeIdUri and the same value.</li>
143+
144+
<li>During the playback the Client parses the EMSG Box, removes it from the segment and schedules the MPD Reload.</li>
145+
<li>The new MPD contains an additional period with ad content which will be played after 51 seconds</li>
146+
147+
</ol>
148+
Important:
149+
<ul>
150+
<li>Cookies have to be activated</li>
151+
<li>Due to missing Multiperiod implementation a workaround has to be used to enable multiperiod playback. The second period will therefore have a starttime set to PT0M0S.</li>
152+
</ul>
153+
136154
</div>
155+
156+
157+
137158
</div>
138159

139160

@@ -144,7 +165,6 @@
144165

145166
<div class="dash-video-player" style="position:absolute; left:700px;top:170px; width:640px" >
146167
<video controls="true" id="vid" width="640" height="360";></video>
147-
<video controls="true" id="vidAd" style="display:none"></video>
148168
</div>
149169

150170

samples/ad-insertion/adinsertion_inline.html

+23-3
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,29 @@
131131
<img src="images/famium.png" style="position:absolute;top:20px;left:500px;" />
132132

133133
<div id="info_area">
134-
<div id="info_item" style="width: 500px; height: 300px;">
135-
Advert-Insertion with DASH + W3C MediaSource Extensions + Inline Event MPD Reload
134+
<div id="info_item" style="width: 550px; height: 300px;">
135+
<b>Advert-Insertion with DASH + W3C MediaSource Extensions + Inline Event MPD Reload</b>
136+
137+
<ol>
138+
<li>The server provides a MPD containing an InlineEventStream element on Period Level. The schmeIdUri and the value of the Eventstream are set according to ISO/IEC
139+
23009-1 5.10.4.1.
140+
<br><br>
141+
<pre>&lt;EventStream schemeIdUri="urn:mpeg:dash:event:2012" value="1"/&gt;
142+
&lt;Event presentationTime="5" id="1"/>
143+
&lt;/EventStream&gt;
144+
</pre>
145+
</li>
146+
147+
<li>MPD reload is scheduled at 5 seconds of the playback </li>
148+
<li>The new MPD contains an additional period with ad content which will be played after 15 seconds</li>
149+
150+
</ol>
151+
152+
Important:
153+
<ul>
154+
<li>Cookies have to be activated</li>
155+
<li>Due to missing Multiperiod implementation a workaround has to be used to enable multiperiod playback. The second period will therefore have a starttime set to PT0M0S.</li>
156+
</ul>
136157
</div>
137158
</div>
138159

@@ -144,7 +165,6 @@
144165

145166
<div class="dash-video-player" style="position:absolute; left:700px;top:170px; width:640px" >
146167
<video controls="true" id="vid" width="640" height="360"></video>
147-
<video controls="true" id="vidAd" style="display:none"></video>
148168
</div>
149169

150170

samples/ad-insertion/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
Demonstration of different implementation approaches for advert insertion using MPEG-DASH and W3C MediaSourceExtensions, based on the DASH-IF reference client.
2121

2222
<ul>
23-
<li class="big"><a href="adinsertion_inband.html?mpd=http://se-mashup.fokus.fraunhofer.de:8080/dash/assets/inband/dash.mpd">Ad Insertion Inband</a></li>
24-
<li class="big"><a href="adinsertion_inline.html?mpd=http://se-mashup.fokus.fraunhofer.de:8080/dash/assets/inline/dash.mpd">Ad Insertion Inline</a></li>
23+
<li class="big"><a href="adinsertion_inband.html?mpd=http://se-mashup.fokus.fraunhofer.de:8080/dash/events/inband_sample/dash.mpd">Ad Insertion Inband</a></li>
24+
<li class="big"><a href="adinsertion_inline.html?mpd=http://se-mashup.fokus.fraunhofer.de:8080/dash/events/inline_sample/dash.mpd">Ad Insertion Inline</a></li>
2525
</ul>
2626

2727
<div>

0 commit comments

Comments
 (0)