More of a general Q - I am trying to understand what each of these do and how they fit in with using the imem callback input.
If I remove these plugins then my code still works, so what is their precise purpose, as I cannot find any high level documentation.
I observe:
- that it tries to use “prefetch, cache_read” preferring the prefetch.
- it always tries to include “record” in the chain.
- it doesn’t seem to use “cache_block”.
My guess:
prefetch - gather enough data first before allowing the demuxer to parse it or something? What might go wrong if this isn’t used?
cache_read - gets used if I remove prefetch. How does it differ from prefetch?
record - some sort of hook to be able grab the bytestream and write it out again or something?
I’m using imem with my data coming across the Internet. Like I say if I remove these plugins my app seems to work but of course I don’t want to then have issues with sone edge cases or something.
I realise this is a bit of a vague request, just trying to understand what is needed for a minimal libvlc-based application.