vscode-audio-preview icon indicating copy to clipboard operation
vscode-audio-preview copied to clipboard

improve remote decoding performance

Open faroit opened this issue 2 years ago • 2 comments

i really love this extension and I use a lot throughout my daily work. Before I start explaining the issue, i have to admit that I do not know enough about the vscode extension mechanics so please correct me.

Issue

when using the extension on a remote host (through the ssh extension), audio loading is very very slow.

Assumptions

the wasm based decoder is running in the host os and decodes the audio, eg. a compressed mp3. Then the decoded audio stream is send to the local vscode ui for playback. This results in very slow loading speed as the uncompressed audio will have to tunneled via ssh.

Potential solution

would it be possible to decode the audio in the frontend and just send the file to the local ui for decoding there?

faroit avatar Jun 01 '22 08:06 faroit

+1. Facing the same issue.

hendriks73 avatar Jun 01 '22 08:06 hendriks73

Thank you! I will check this problem.

sukumo28 avatar Jun 01 '22 14:06 sukumo28

This issue has been resolved in v2.0.6 and will be closed.

sukumo28 avatar Mar 06 '24 10:03 sukumo28

@sukumo28 Awesome. Thanks

faroit avatar Mar 06 '24 16:03 faroit