[plasma/krdp] examples/streamer: example: Port to pipewire node API

Oliver Beard <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 7464b622fb0360487a67b41d407db39e4f5aba9d by Oliver Beard, on behalf of David Edmundson.
Committed on 03/08/2026 at 20:07.
Pushed by olib into branch 'master'.

example: Port to pipewire node API

M  +1    -0    examples/streamer/main.cpp

https://invent.kde.org/plasma/krdp/-/commit/7464b622fb0360487a67b41d407db39e4f5aba9d

diff --git a/examples/streamer/main.cpp b/examples/streamer/main.cpp
index bd113cc..b6b6581 100644
--- a/examples/streamer/main.cpp
+++ b/examples/streamer/main.cpp
@@ -55,6 +55,7 @@ int main(int argc, char **argv)
 
     QObject::connect(&session, &KRdp::PortalSession::started, &session, [&session, &encodedStream]() {
         encodedStream.setObjectSerial(session.objectSerial());
+        encodedStream.setNodeId(session.nodeId());
         auto fd = session.takePipeWireFd();
         if (fd >= 0) {
             encodedStream.setFd(fd);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.