phoboslab/jsmpeg-vnc

Sound??

bionichuman opened this issue · 12 comments

Does sound work yet?? Trying to watch a video using this but sound does not seem to come through. Does sound work?

Jsmpeg-vnc has not a JavaScript sound decoder implemented as far I know. I'm going to implement the js sound decoder and do a pull request.

I needed a js browser video and sound decoder some year ago but I didn't found out.

Cool, please let me know when you do. I am trying to just unblock Netflix through a web proxy or this. If you have any ideas for that please let me know too.

What do you mean unblock Netflix with proxy?

@eipeipkrop7992 Access netflix via a web proxy.

Just a comment about this, but jsmpg-vnc isn't very secure for that. I'm assuming you'll be opening a port to outside connections which will let anyone who has the IP address to your VNC to control your computer, also, there's no SSL so your passwords, usernames, credit card information, ect could be easily obtained if someone was trying

edit: you can also see here that jsmpeg does indeed have audio decoding in newer versions, so it's a matter of capturing, encoding, and sending audio on the server and updating the version of jsmpeg used

Yeap I saw that. That is a MP2 decoder. Actually only in Jsmpeg-vnc repo it isn't not implemented. I will need to code sound grabber and encode that. It's not difficult. All this things is on my to-do list.

  • So, ideas or support you can add me on Discord eipeipkrop7992#3342

Hey @eipeipkrop7992 any progress at implementing audio?

May I know if there are any updates for the sound grabber?
I think your project is very interesting.

Hey,

It is found that my FFmpeg can only find recorder devices instead of playback devices.
Then I use a VB virtual cable to redirect the sound to a virtual recorder device. The sound can be captured.

after following the instruction of "https://github.com/phoboslab/jsmpeg"
I can stream the desktop with sound now.

I do not have much knowledge about c program. Hope it can give you some ideas for future improvement.

Thanks

Hey,

It is found that my FFmpeg can only find recorder devices instead of playback devices.
Then I use a VB virtual cable to redirect the sound to a virtual recorder device. The sound can be captured.

after following the instruction of "https://github.com/phoboslab/jsmpeg"
I can stream the desktop with sound now.

I do not have much knowledge about c program. Hope it can give you some ideas for future improvement.

Thanks

Would you be able to list how you managed to do it as i was reading what you read and it makes zero sense to me so i hint into the right direction would be awesome

Thanks!