Commit 444e7eee authored by Dan Rossi's avatar Dan Rossi
Browse files

- #70 fixes for buffer start value on httpstreaming

parent 7dcdfb86
......@@ -4,6 +4,7 @@ Version history:
------
- New code requires to be compiled against OSMF 2.0
- #70 fixes for live streams
- #70 fixes for buffer start value.
3.2.10
------
......
......@@ -287,10 +287,11 @@ package org.flowplayer.httpstreaming {
return httpNetStream;
}
override public function get bufferStart() : Number {
if (!clip) return 0;
if (!netStream) return 0;
return Math.max(0, getCurrentPlayheadTime(netStream));
//#70 fixes for bugger start value
override public function get bufferStart():Number
{
if (! clip) return 0;
return _bufferStart - clip.start;
}
override public function get bufferEnd() : Number {
......
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