Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decode data which from websocket will be very slow #22

Open
njw-bupt opened this issue Jun 6, 2019 · 1 comment
Open

Decode data which from websocket will be very slow #22

njw-bupt opened this issue Jun 6, 2019 · 1 comment

Comments

@njw-bupt
Copy link

njw-bupt commented Jun 6, 2019

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?

@erossv
Copy link

erossv commented Jun 11, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants