-
-
Notifications
You must be signed in to change notification settings - Fork 598
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
Wayland target, like sway #444
Comments
To get just the streaming done, it needs to be adjused in gstreamer. I would expect that there is similar element to To get the controls ported to wayland, there would need to be implemented a new driver (possibly using libei) that satisfies this interace: neko/server/internal/types/desktop.go Lines 43 to 77 in 5d62e56
|
Also... I imagine multi cursor / seat would be quite helpful? |
https://manpages.debian.org/experimental/sway/sway-input.5.en.html |
Definitely, that would be great to have. |
I think what I'll need to do is just set up the "view only" no inputs version first with webRTC, and then potentially in the next couple of weeks I'll come back to this and see if I can sort out the inputs. Do you have any preferences for how to do PRs or anything? |
Do you have a recommendation on how best to use / edit / refactor your tool if all I want to do with it initially is pass through Wayland screen captures through webRTC? |
This seems like it would be something appropriate to use to pipe the video and audio through to Neko? |
Actually, maybe as a first step entirely I'll just have wf-recorder go to the video loopback and then just stream it with this for now (until I get Neko inputs sorted): |
For neko you could just replace all x11 dependencies with dummy functions so that you get rid of it, and then just try to setup gstreamer pipeline that captures video & audio. That way you shuld be able to acheive the first step. |
For now I think I won't actually pick this up 😞, but I might pick this up in a few weeks. I give it ~15% chance |
An update here: Setting up a loopback video device with:
Then using wf-recorder:
Followed by this for gstreamer:
Seems promising :) |
webrtcsink is from:
|
That's great news, thanks for updating. Unfortunately loading kernel module in docker is not possible. It would have to be done on host. I wonder if this is the only way or there is someone containerization friendly alternative. |
Do you think this would work? (Given it uses gstreamer and doesn't use a loopback?) https://github.com/ammen99/wf-recorder/wiki#streaming-rtsp-with-gstreamer
|
Hi @m1k1o,
Do you have an idea how I might get this working with a wayland target like sway. Also, for clarification, I don't mean something like this:
As that is using sway with an x11 backend. The above config works fine enough. But I explicitly don't want to be using x11 so that I can have many nested sway instances without needing to have them all in RAM
The text was updated successfully, but these errors were encountered: