massoudss / waveformSeekBar

Android Waveform SeekBar library
471 stars 79 forks source link

App crashed when notifydatasetChanged is called() #52

Closed Usama99786 closed 1 year ago

Usama99786 commented 1 year ago

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.

massoudss commented 1 year ago

It seems this crash comes from Amplitude library, better to open another issue here. @lincollincol