You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using a link from the server to play the audio. When a user records & uploads their audio, I get a new audio link but the problem is useAudioPlayer hook is not playing the new audio. I think it is caching the audio because the link is the same. I have checked the file by downloading it and listening to it they are different. Is there any way to disable this caching behavior?
Expected behavior
The hook should play the latest audio even if the link is same
Environment (please complete the following information):
MS Edge:
1.2.6:
18.2.0:
v18.0.0:
The text was updated successfully, but these errors were encountered:
@rohilpinto that is an interesting use case. The caching behavior is implemented by the underlying lib howler. Because of this our options may be limited. I would suggest taking at look at their issue board and seeing if anyone has reported something similar there. In the meantime I will do the same and see if there is something we can build into this package to help
@rohilpinto that is an interesting use case. The caching behavior is implemented by the underlying lib howler. Because of this our options may be limited. I would suggest taking at look at their issue board and seeing if anyone has reported something similar there. In the meantime I will do the same and see if there is something we can build into this package to help
Got it. I will take a look at their issue board & submit this issue on their repo as well. Thanks for the reply.
Describe the bug
I'm using a link from the server to play the audio. When a user records & uploads their audio, I get a new audio link but the problem is useAudioPlayer hook is not playing the new audio. I think it is caching the audio because the link is the same. I have checked the file by downloading it and listening to it they are different. Is there any way to disable this caching behavior?
Expected behavior
The hook should play the latest audio even if the link is same
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: