loki-47-6F-64 / sunshine

Host for Moonlight Streaming Client
GNU General Public License v3.0
1.77k stars 155 forks source link

Pairing Devices #26

Open alex2k17 opened 4 years ago

alex2k17 commented 4 years ago

Hi,

We are trying to create connections without pairing code between sunshine and moonlinght app, we are looking for two options. The first one is create a custom code for all connections. Is there any possibilities to create a personalized code? The second one and probably more crazy but we need it, is delete the pairing code and give free access to every one.

Thanks in advance

alex4rks commented 4 years ago

maybe it should be predefined password on server side i.e. you connect via rdp to target host set password and configuration to sunshine server then on client you connect to target pc using password

alex2k17 commented 4 years ago

Hi Alex4rks! Thats doesnt work for us. We need a private session but without manual autorization. We will create an android app that will allow our clients to see unreal an unreal project running in our server. But we cant stay waiting for the connection, we need to create a customized logging or standard password to access. Do you know if is possible? Thanks in advance.

KiralyCraft commented 4 years ago

The PIN authorization requires both sunshine and Moonlight to know it. The PIN itself is generated on Moonlight's side (See here ). Removing the PIN would require a build of Moonlight where the PIN is hardcoded to 0000, for example.

As for sunshine, this is where the PIN would need to be hardcoded to 0000: See here, if used with the -0 flag (read pin from stdin).