I need a function that can transmit audio from a third-party site.
Let's pretend that.
controller
function getStreamAudio($id){ $audioDetails = Audio::find($id);
I have the same playlist as below HTML
<audio src="www.mydomain.com/stream_audio/1"></audio>
I have a playlist of songs for streaming audio. But the goal is to protect the source URL of the source audio.
I tried Defa Protector to encrypt the audio url. Below is the URL
https://sites.google.com/site/defaprotectorhelp/
It works, but when I add 4 or more songs to the playlist. This shows me the error below.
Unprepared (in promise) DOMException: the play () request was aborted by a call to pause ().
For this error, I also tried to use this https://stackoverflow.com/a/3/960/649/ solution. But still the error is the same.
When I use the original audio path. It works great.
source share