diff options
Diffstat (limited to 'src/voip/WebRTCSession.cpp')
-rw-r--r-- | src/voip/WebRTCSession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voip/WebRTCSession.cpp b/src/voip/WebRTCSession.cpp index ba75c744..c0cab4ac 100644 --- a/src/voip/WebRTCSession.cpp +++ b/src/voip/WebRTCSession.cpp @@ -1030,7 +1030,7 @@ WebRTCSession::addVideoPipeline(int vp8PayloadType) pipe_ = nullptr; return false; } - g_object_set(pipewiresrc, "fd", (gint)stream->fd, nullptr); + g_object_set(pipewiresrc, "fd", (gint)stream->fd.fileDescriptor(), nullptr); std::string path = std::to_string(stream->nodeId); g_object_set(pipewiresrc, "path", path.c_str(), nullptr); g_object_set(pipewiresrc, "do-timestamp", (gboolean)1, nullptr); |