oneam / h264bsd

A simple h264 software decoding library
Other
194 stars 52 forks source link

fix bug: race in h264bsd_worker.js #26

Open Fruneng opened 1 year ago

Fruneng commented 1 year ago

In my case, web client connect to server by websocket to receive a H264 Annex B stream.

Sometime, it raced in decoder.queueInput() and decodeLoop() .