I want to play a stream of audio blobs that came from a MediaRecorder
I have a website containing this piece of javascript angular code:
This is a MediaRecorder of type https://developer.mozilla.org/nl/docs/Web/API/MediaRecorder
This sends the data from the MediaRecorder in 'audio/webm' format to the server
Server:
All this does is relay the blobs coming in from the MediaRecorder to all the connected clients
Apps (Connected clients)
This console logs:
And:
How can I play this audio blob stream on the client side?
好的,我前一段时间通过向正在发送的ByteArray添加编码来解决了这个问题
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.