jsmpeg-vnc icon indicating copy to clipboard operation
jsmpeg-vnc copied to clipboard

Sound??

Open bionichuman opened this issue 6 years ago • 12 comments

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

bionichuman avatar Aug 28 '18 01:08 bionichuman

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.

callTx avatar Aug 28 '18 12:08 callTx

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.

bionichuman avatar Aug 28 '18 12:08 bionichuman

What do you mean unblock Netflix with proxy?

callTx avatar Aug 28 '18 17:08 callTx

@eipeipkrop7992 Access netflix via a web proxy.

bionichuman avatar Aug 29 '18 00:08 bionichuman

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

BelleNottelling avatar Sep 02 '18 20:09 BelleNottelling

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

callTx avatar Sep 07 '18 13:09 callTx

Hey @eipeipkrop7992 any progress at implementing audio?

BelleNottelling avatar Nov 06 '18 09:11 BelleNottelling

Hi.

I'm at uni. I'm finishing my final thesis, so until January i will be busy.

On Tue, Nov 6, 2018, 6:17 AM Ben [email protected] wrote:

Hey @eipeipkrop7992 https://github.com/eipeipkrop7992 any progress at implementing audio?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/phoboslab/jsmpeg-vnc/issues/62#issuecomment-436183051, or mute the thread https://github.com/notifications/unsubscribe-auth/AjFtVgB_E4GlqVQVMOJF_sQDCXOK72KUks5usVOagaJpZM4WOvjq .

callTx avatar Nov 07 '18 01:11 callTx

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

kitsonGit avatar Jul 10 '19 19:07 kitsonGit

Hey,

Grab sound is not difficult. You can grab the whole desktop sound via drive or grab it hooking the process buffer. Use a few FFmpeg parameters to encode it and after decode using a js decoder. Then merge into jsmpeg. I'll try to find out a free time to implement this project.

Em qua, 10 de jul de 2019 às 16:40, kitsonGit [email protected] escreveu:

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/phoboslab/jsmpeg-vnc/issues/62?email_source=notifications&email_token=AIYW2VQFJXMVXCQK6KZI3N3P6Y3J3A5CNFSM4FR27DVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZUQPLI#issuecomment-510199725, or mute the thread https://github.com/notifications/unsubscribe-auth/AIYW2VTNUGENJISUXA2CBFDP6Y3J3ANCNFSM4FR27DVA .

callTx avatar Jul 16 '19 12:07 callTx

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

kitsonGit avatar Jul 17 '19 17:07 kitsonGit

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!

thejammie9 avatar Aug 03 '19 22:08 thejammie9