Open
      
        Bug 1234727
      
      
        Opened 9 years ago
          Updated 3 years ago
      
        
    
  
WebMBufferedState::UpdateIndex reads entire file at once when playing a local file   
    Categories
(Core :: Audio/Video: Playback, defect, P5)
        Core
          
        
        
      
        
    
        Audio/Video: Playback
          
        
        
      
        
    Tracking
()
        NEW
        
        
    
  
| Tracking | Status | |
|---|---|---|
| firefox46 | --- | affected | 
People
(Reporter: kinetik, Unassigned)
References
Details
Added in bug 1148102. Called from http://mxr.mozilla.org/mozilla-central/source/dom/media/webm/WebMDemuxer.cpp#448 with a local file, the cached ranges will cover the entire file.
The old WebMReader generated the buffered ranges as data flowed into the MediaCache via NotifyDataArrived and included a special case for local files that reported the entire file as cached.  We're now reading and parsing every byte of the file for local files and building a complete WebMBufferedState, but doing this in one step when EnsureUpToDateIndex is called is inefficient and slow for large files and/or slow media.
| Comment 1•9 years ago
           | ||
The up side of this is it allows to seek into webm without cues as we were discussing in Orlando
| Updated•9 years ago
           | 
Priority: -- → P2
Mass change P2 -> P3
Priority: P2 → P3
| Comment 3•8 years ago
           | ||
Is this still needed/wanted?
Flags: needinfo?(kinetik)
Flags: needinfo?(jyavenard)
| Reporter | ||
| Comment 4•8 years ago
           | ||
The suboptimal behaviour is still present but if nobody is complaining it might not be worth the effort to fix.
Flags: needinfo?(kinetik)
| Comment 5•6 years ago
           | ||
Seems like there isn't much interest in this.
Flags: needinfo?(jyavenard)
Priority: P3 → P5
| Updated•3 years ago
           | 
Severity: normal → S3
          You need to log in
          before you can comment on or make changes to this bug.
        
 
 
Description
•