Commit dcd3931c authored by Anssi Piirainen's avatar Anssi Piirainen

Merge pull request #170 from flowplayer/danielr-136

- #136 when we are streaming live and not in dvr mode set the duration t...
parents c0dc62a2 b2a05cb0
......@@ -5,6 +5,7 @@ Version history:
- Now uses OSMF 2.0
- #70 fixes for live streams
- #70 fixes for buffer start value.
- #136 when we are streaming live and not in dvr mode set the duration to zero in the index handler instead of the metadata callback.
3.2.10
------
......
......@@ -172,11 +172,17 @@ package org.flowplayer.httpstreaming {
}
}
override protected function onMetaData(event:ClipEvent):void {
/*override protected function onMetaData(event:ClipEvent):void {
log.debug("in NetStreamControllingStremProvider.onMetaData: " + event.target);
//#70 remove clip duration for live streams and when not dvr recording
if (clip.live && !isDvr) clip.metaData.duration = null;
if (clip.live && !isDvr) {
clip.metaData.duration = 0;
clip.duration = 0;
clip.durationFromMetadata = 0;
}
if (! clip.startDispatched) {
clip.dispatch(ClipEventType.START, pauseAfterStart);
......@@ -187,7 +193,7 @@ package org.flowplayer.httpstreaming {
pauseToFrame();
}
switching = false;
}
} */
override public function get allowRandomSeek():Boolean {
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment