I'm developing an Android application that uses two decoders: an SSTV decoder and an AFSK (audio frequency-shift keying) decoder. These decoders should work together in a synchronized manner. The goal is to have only one decoder active at a time: either SSTV or AFSK.
However, when I switch between the decoders, I encounter an error. Specifically, when I activate the AFSK decoder, the audio record function of the device stops working and throws a permission error. This doesn't happen when I activate only one decoder (either SSTV or AFSK).
In summary, I need assistance in resolving the issue where switching between the SSTV and AFSK decoders causes the audio record function to stop and throw a permission error. The desired behavior is to have the decoders work synchronously and allow smooth switching between them without encountering this error.
Top comments (0)