Skip to content
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

documentation refers to pw_remote_connect_fd from Pipewire 0.2 which no longer exists #154

Open
Tooniis opened this issue Aug 7, 2024 · 2 comments

Comments

@Tooniis
Copy link

Tooniis commented Aug 7, 2024

Using pw_remote_connect_fd is suggested here:

* pw_remote_connect_fd(). Only the screencast stream nodes will be available

However, this function no longer exists in PipeWire. How should screencast functionality be implemented instead?

@smcv smcv changed the title pw_remote_connect_fd no longer exists documentation refers to pw_remote_connect_fd from Pipewire 0.2 which no longer exists Aug 7, 2024
@smcv
Copy link
Contributor

smcv commented Aug 7, 2024

That documentation comment is outdated, pw_remote_connect_fd() seems to have been part of the Pipewire 0.2 API. Unfortunately I don't know the Pipewire 0.3/1.0 answer to your question.

I'd suggest looking for a working client of the screencast portal to use as a reference, or possibly looking for a project that previously used pw_remote_connect_fd() (for example qtwebengine-opensource-src, according to Debian code search) and finding out what it now does instead.

@grulja
Copy link
Contributor

grulja commented Aug 8, 2024

You have to use pw_context_connect_fd. You can for example look at implementation in OBS Studio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants