How can I get the duration of the audio of my current encoder, while still adding data to it? Use-case: I want to write the audio to disk in 5 minutes chunks.
Decoder has a duration function, but not Encoder and I don't see a simple way to create a decoder from an encoder that is still in use.
How can I get the duration of the audio of my current encoder, while still adding data to it? Use-case: I want to write the audio to disk in 5 minutes chunks.
Decoderhas a duration function, but notEncoderand I don't see a simple way to create a decoder from an encoder that is still in use.