Using the async interface, as in the examples:
let mut datareader_stream = reader.async_sample_stream();
This stream produces samples with no metadata (SampleInfo) using the take_bare method internally instead of take.
Is there a way to access the SampleInfo using the async interface, or do I need to resort to synchronously calling take on the reader directly?
Is there a reason that the async interface currently strips the metadata? Performance I'm guessing?
It seems like a more versatile interface would expose the metadata and let the user choose to ignore it.
Or perhaps two interfaces could exist, one that provides metadata and one that doesn't?
Using the async interface, as in the examples:
This stream produces samples with no metadata (
SampleInfo) using thetake_baremethod internally instead oftake.Is there a way to access the
SampleInfousing the async interface, or do I need to resort to synchronously callingtakeon the reader directly?Is there a reason that the async interface currently strips the metadata? Performance I'm guessing?
It seems like a more versatile interface would expose the metadata and let the user choose to ignore it.
Or perhaps two interfaces could exist, one that provides metadata and one that doesn't?