xpra icon
Bug tracker and wiki

Opened 2 weeks ago

#2349 new enhancement

cache gstreamer config

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 3.0
Component: sound Version: 2.5.x
Keywords: Cc:


Related to #2341 and #2347. Similar to #2345.

Instead of running xpra _sound_query every time we run the client or server, we could cache the results in a text file and just reload it.

We would need to ensure that the timestamp on this file is newer than the gstreamer plugins directory, so that we query it again whenever plugins are added or removed.
This is similar to what gstreamer does with its plugin registry (now found in .cache/gstreamer-1.0/) - can we re-use this mechanism without incurring the same startup cost?

Change History (0)

Note: See TracTickets for help on using tickets.