libde265.js icon indicating copy to clipboard operation
libde265.js copied to clipboard

Decode data which from websocket will be very slow

Open njw-bupt opened this issue 5 years ago • 1 comments

I use websocket to send and receive H265 frames. Monitor the onmessage event, when frame comes, function decode will be called. But in this way, the video has a long latency, and data sending also be blocked. How to fix it? Do I need to use webworker to get smooth video?

njw-bupt avatar Jun 06 '19 07:06 njw-bupt

I think you need to use webworker.I tried to separate the project into four parts : player、dercoder、downloader、render,but there is a lot of work to do. Reference:https://github.com/sonysuqin/WasmVideoPlayer

erossv avatar Jun 11 '19 09:06 erossv