nwjs / nw.js

Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
https://nwjs.io
MIT License
40.23k stars 3.88k forks source link

Sample Rate #7409

Open marcgfx opened 4 years ago

marcgfx commented 4 years ago

I've released my game on Steam and just tried out Remote Play yesterday. Video transmission worked perfectly but audio unfortunately was not transmitted. I found this information (not official as far I could tell): check if the server system sound card settings are not set higher then 16Bit 48 000Hz for some reason anything set higher than this will result in no audio

I tried other games and audio/video worked with no problem, so I am assuming it's due to some setting in NWjs. I am using version 33.3 as there are prebuilt binaries I require for Steam.

Can I somehow set the output sample rate in NWjs within the package.json file? I don't really know what I am talking about, so excuse me if what I am asking is nonsensical.

marcgfx commented 4 years ago

I have checked the AudioContext sample rate and it's set to 44100, so pretty standard. I really do not know what the cause of the problem is and am grasping at straws.

bluthen commented 4 years ago

Seems like plenty of people have issues with plenty of games.

You try other games? This link helpful? https://steamcommunity.com/groups/homestream/discussions/0/1696095261012366936/

marcgfx commented 4 years ago

Thanks bluthen. I've tried 2 other games made with Unity with no problem, so it must have something to do with how steam remote play grabs the audio, or how NWjs plays audio. No idea what it could be so far.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.