-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Miracast source side implementation #172
Conversation
If miraclecat is GO, miracle-dhcp runs as server, it send out SERVER_ID option in little endian, causes non-GO peer connect to wrong IP address, so RTSP connection can't be established. In scenario like, say Android (GO) <-> miracalcast (non-GO), the DHCP service is provided by Android, in this case, the SERVER_ID is in expected byte order (big endian).
since gstplayer has argument --audio to enable audio support but no way to disable it, audio=False might a better choise. If we left audio=True and incoming stream has video only, the whole pipeline will be blocked and wait for audio stream.
…o org.freedesktop.miracle
The new option --lazy-managed will let miracle-wifid don't managed the links automatically. Instead, the link will be managed only when the new DBus property Managed was set to true. So this will be possible that miracle-wifid could be conexists with other network tools like networkmanager. For example, unmange the device in networkmanager with setting the DBus property org.freedesktop.NetworkManager.Device.Managed to false and manage it in miracle-wifid with setting org.freedesktop.miracle.wifi.Link.Managed to true, then both them could works and don't need to kill each other. Besides, there is new command named make-managed in miracle-wifictl and miracle-sinkctla.
while parsing ctl_peer and ctl_link objects, if a ctl_peer appear prior to its related ctl_link, -EINVAL is reported, and miracle-*ctl will quit immediately.
…lems to ease parsing
wow, this looks impressive! @derekdai any chance that the mentioned points are getting fixed? It looks like you did an awesome amount of work! |
@derekdai I just merge #135 so part of this PR can be rebased on top of that. I will use your work on systemd services to fix #98, as using I decide to merge that PR trying again this one (founding that service running with I will rebase my branch https://github.com/albfan/miraclecast/tree/derekdai-master-squashed on top of master and try to split it into atomic changes. Need to look again carefully as I feel lot more treasures are included in these PR About this PR, My tries with external devices (were I don't control the miracast implementation) do not pass from the handshaking, but using my raspberry pi (now raspbian has systemd updated enough) I think I can get progress and see what is blocking these from being merged |
I tried to build (on ubuntu 18.04) these changes and got error while
|
@ra100 there's a rebased branch derekdai-master-squashed with several fixes. |
Hi albfan, What is the status of the WIP on source side Miraclecast? I have tried it and end up with an error when the app does not detect that connection is successful:
Is there a setup which works, or is this the current status? Then I suppose some work is required to get the Connected status from dbus and move on? |
It is not working for me too. We could check https://github.com/benzea/gnome-screencast and see what is different (not easy to do) |
Thanks! I will try it out. |
Is this PR somewhat functional yet? I'd like to use Miraclecast as a source but it seems like progress is stalling. |
This is still not working, but is rebased on top of master in https://github.com/albfan/miraclecast/tree/source-impl Closing this PR to continue on #455 |
sorry, I use this commit complie failed at make process. the error message shows |
Hi albfan:
What's in this PR