phoboslab / jsmpeg

MPEG1 Video Decoder in JavaScript
MIT License
6.35k stars 1.43k forks source link

Streaming via WebSockets #299

Open hj0728 opened 5 years ago

hj0728 commented 5 years ago

Hello, I push the audio stream from ffmpeg, and play the sound on the page through websocket. I find that the sound will be intermittent. Is there any good way to solve this problem?

Esser50K commented 5 years ago

As noted on the README, have you tried running 2 processes of ffmpeg in parallel?