Ignore:
Timestamp:
10/26/09 17:49:48 (4 years ago)
Author:
pablo
Message:

Fixed HTTP buffering flicker (buffer position is still incorrect)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fl5/src/com/longtailvideo/jwplayer/media/MediaProvider.as

    r523 r530  
    253253                 
    254254                /** Dispatches buffer change notifications **/ 
    255                 protected function sendBufferEvent(bufferPercent:Number):void { 
     255                protected function sendBufferEvent(bufferPercent:Number, offset:Number=0):void { 
    256256                        if (bufferPercent != this.bufferPercent) { 
    257257                                this.bufferPercent = bufferPercent; 
    258                                 sendMediaEvent(MediaEvent.JWPLAYER_MEDIA_BUFFER, {'bufferPercent': this.bufferPercent}); 
     258                                sendMediaEvent(MediaEvent.JWPLAYER_MEDIA_BUFFER,  
     259                                                                {       'bufferPercent': bufferPercent,  
     260                                                                        'offset': offset,  
     261                                                                        'duration': _item.duration 
     262                                                                }); 
    259263                        } 
    260264                } 
Note: See TracChangeset for help on using the changeset viewer.