Ticket #1633 (closed enhancement: fixed)

Opened 14 months ago

Last modified 10 months ago

HLS: investigate memory/disk caching

Reported by: jeroen Owned by: sanil
Priority: Normal Milestone: Plugins
Component: flash Keywords:
Cc: Forum thread:

Description

At present, a fair amount of logging and local buffering is done in the HLS provider. This leads to ever increasing disk and/or memory access.

In order to make the provider production ready, data must be purged and made available for garbage collection. We should find out what data / variables are causing the load and clean them up.

Change History

comment:1 Changed 10 months ago by jeroen

  • Cc pablo removed
  • Owner changed from jeroen to courtenay
  • Component changed from embedder to flash

comment:2 Changed 10 months ago by jeroen

  • Owner changed from courtenay to sanil

Sanil is working on this at present...

comment:3 Changed 10 months ago by sanil

  • Status changed from new to closed
  • Resolution set to fixed

This bug was fixed by clearing parts of the buffer vector that had already been streamed and were not needed anymore. Since the provider refreshes the buffer on any seek event, the parts of the video that have been played do not need to be kept in memory and can be deleted. This fix simply ensures that parts of the video that have been played are immediately cleared out in order to save memory.

comment:4 Changed 10 months ago by sanil

Fixed with changes in [2412]

Note: See TracTickets for help on using tickets.