I am building a chat module. So whenever I send an audio in the chat and the recyclerview adapter is refreshed, It crashes on
mBinding?.waveform?.setSampleFrom(file_path)
in the adapter. It also crashes randomly sometimes when there are a lot of audio messages as well. It gives the following exception
W/System.err: linc.com.amplituda.exceptions.processing.PacketSubmittingException: Error submitting a packet for decoding!
I would really appreciate some help here.
I am building a chat module. So whenever I send an audio in the chat and the recyclerview adapter is refreshed, It crashes on mBinding?.waveform?.setSampleFrom(file_path) in the adapter. It also crashes randomly sometimes when there are a lot of audio messages as well. It gives the following exception W/System.err: linc.com.amplituda.exceptions.processing.PacketSubmittingException: Error submitting a packet for decoding! I would really appreciate some help here.