Code Monkey home page Code Monkey logo

Comments (17)

mirh avatar mirh commented on May 27, 2024 5

Ladies and gents
https://github.com/loki-47-6F-64/sunshine

from moonlight-common-c.

letalvoj avatar letalvoj commented on May 27, 2024 3

According to #41 there is no documentation to the protocol. Would anyone from the maintainers be willing to write a blogpost which describes the architecture a bit? Maybe it would help someone with starting with the server implementation.

from moonlight-common-c.

mirh avatar mirh commented on May 27, 2024 3

Well, that seems to have died too.
Now the only open "alive "solution seems to be this
https://open-stream.net/
https://github.com/LS3solutions/openstream-server

from moonlight-common-c.

Papermanzero avatar Papermanzero commented on May 27, 2024 2

A Moonlight Server would be also my question. Especially for ATI users and certain features (e.g. extended display and not only a display clone) it would be an advantage to have a Moonlight server.

from moonlight-common-c.

jorys-paulin avatar jorys-paulin commented on May 27, 2024 1

Having a dedicated moonlight server would be nice indeed, as it would allow us for more flexibility when it comes to adding features and more generally know how exactly the protocol and software works. Though it doesn't appear to be arriving anytime soon, I hope sometime it happens.

from moonlight-common-c.

mirh avatar mirh commented on May 27, 2024

So.. my hopes on the side of the switch community are dead in the water.
On the other hand, it seems like microsoft is doing wonders with miracast.

from moonlight-common-c.

LoneFenris avatar LoneFenris commented on May 27, 2024

Miracast has unfortunate limits (at present, anyway), like requiring a wireless negotiation to start the projection. This requires the projecting PC and Xbox to be in range of each others' adapters (and for the projecting PC to have a WiFi adpater). Once the negotiation is made, the actual stream can go over ethernet, but the negotiation has to be over WiFi.

from moonlight-common-c.

mirh avatar mirh commented on May 27, 2024

If you read the app description it says it uses Infracast, which should be microsoft speech for MS-MICE (aka no P2P needed anymore, and supports ethernet) EDIT: see also homeworkc/lazycast#12

Then, of course it's not like you could have used plain miracast anyway, considering it doesn't carry controls.

from moonlight-common-c.

LoneFenris avatar LoneFenris commented on May 27, 2024

Yes, but unless you can show me differently, what I said still stands. MS-MICE allows for the actual streaming to be done over the infrastructure, but the initial device setup has to be done over WiDi.

According to https://docs.microsoft.com/en-us/surface-hub/miracast-over-infrastructure

How it works
Users attempt to connect to a Miracast receiver as they did previously. When the list of Miracast receivers is populated, Windows 10 will identify that the receiver is capable of supporting a connection over the infrastructure. When the user selects a Miracast receiver, Windows 10 will attempt to resolve the device's hostname via standard DNS, as well as via multicast DNS (mDNS). If the name is not resolvable via either DNS method, Windows 10 will fall back to establishing the Miracast session using the standard Wi-Fi direct connection.

This indicates to me that the initial device negotiation still has to happen over WiDi, and if during that negotiation, Windows determines that the receiver is capable of miracasting over the network, it will lookup the address of the receiver on the network and use that instead of WiDi going forward.

from moonlight-common-c.

mirh avatar mirh commented on May 27, 2024

You can literally use it with ethernet on a normal desktop pc, I don't know what else there is much to say.
"As they did previously" means it from a GUI point of view there.
The initial device negotiation is just the sink pinging the lan with a specific bit set, and you are done.

from moonlight-common-c.

LoneFenris avatar LoneFenris commented on May 27, 2024

You can literally use it with ethernet on a normal desktop pc

Except I literally haven't been able to unless I move the devices to the same room and enable the PC's WiFi adapter.

The initial device negotiation is just the sink pinging the lan with a specific bit set, and you are done.

You keep seemingly unknowingly proving my point. From the protocol details link:

Device discovery

The Miracast over Infrastructure session starts with peer to peer (P2P) device discovery ([WF-P2P1.2] section 3.1.2), which a Miracast Source uses to find a device capable of performing the functions of a Miracast Sink. This includes the Source sending Probe Request frames ([WF-P2P1.2] section 4.2.2) and listening for Probe Response frames ([WF-P2P1.2] section 4.2.3) and Beacon frames ([WF-P2P1.2] section 4.2.1).

Beacon frames are unsolicited broadcasts that advertise P2P devices. Probe Response frames are sent by a Sink in response to Probe Request frames sent by the Source. If the Source receives a Beacon or Probe Response that contains a WSC IE [WF-WSC2.0.2] Vendor Extension attribute (section 2.2.8), the Source checks the Capability attribute (section 2.2.8.1) for Miracast over Infrastructure support.

If the Capability attribute specifies that Miracast over Infrastructure is not supported, the Source falls back to standard Miracast [WF-WSC2.0.2].

If one or more IP Address attributes (section 2.2.8.5) are included, the Source can skip host name resolution.

from moonlight-common-c.

mirh avatar mirh commented on May 27, 2024

So.. Just for the records, in-home-switching is back into seeing some progress, maybe.
And friendly reminder there's also a bounty open by the Vita guys.

from moonlight-common-c.

Papermanzero avatar Papermanzero commented on May 27, 2024

Thanks!!!! Waiting for such a long time for that

from moonlight-common-c.

mirh avatar mirh commented on May 27, 2024

These could be at least featured/advertised somewhere official though.

from moonlight-common-c.

cgutman avatar cgutman commented on May 27, 2024

I don't think any current servers for Moonlight are in a performance and reliability state where we would like to officially support them as first-class options yet. I'm as eager as anyone to reduce the dependence on Nvidia to not break us with a GFE update ;)

from moonlight-common-c.

mirh avatar mirh commented on May 27, 2024

Somewhere a bit less than official then, but still at least somewhere.
I swear, I only got to figure out those two projects existed because I followed up on some random comment in forums and github. Even searching every odd month on google wasn't really helpful.

p.s. I thought GFE updates were still kind of good at the end of the day, in improving and fixing the protocol?

from moonlight-common-c.

r57zone avatar r57zone commented on May 27, 2024

To get away from Nvidia need to make own server application, but since there are no others, the current options are the best solution.

from moonlight-common-c.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.