{"id":5500,"date":"2026-06-30T19:48:59","date_gmt":"2026-06-30T10:48:59","guid":{"rendered":"https:\/\/matoken.org\/blog\/?p=5500"},"modified":"2026-06-30T19:52:35","modified_gmt":"2026-06-30T10:52:35","slug":"transfer-linux-sound-to-galene-with-pw-whip","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2026\/06\/30\/transfer-linux-sound-to-galene-with-pw-whip\/","title":{"rendered":"PipwWire\u3068WHIP\u306e\u30d6\u30ea\u30c3\u30b8\u306epw-whip\u3067Linux\u306e\u97f3\u3092Galene\u306b\u8ee2\u9001"},"content":{"rendered":"<div id=\"preamble\">\n<div class=\"sectionbody\">\n<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"48\" height=\"48\" viewBox=\"0 0 24 24\">\n\t<path d=\"M0 0h24v24H0z\" fill=\"none\" \/>\n\t<path fill=\"currentColor\" d=\"M12 2c2.44 0 4.5 1.75 4.91 4.07l.84-.07c2.75 0 5 2.24 5 5a5 5 0 0 1-2.59 4.38a5.015 5.015 0 0 1-4.41 7.37A5 5 0 0 1 12 21.06a5 5 0 0 1-3.75 1.69c-2.75 0-5-2.25-5-5c0-.86.22-1.66.59-2.37A5 5 0 0 1 1.25 11c0-2.76 2.25-5 5-5l.84.07C7.5 3.75 9.56 2 12 2M6.75 20.25L13.66 17H17c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h.77z\" \/>\n<\/svg><!-- https:\/\/icon-sets.iconify.design\/?query=rtc mdi:webrtc --><\/p>\n<div class=\"paragraph\">\n<p>\u30d3\u30c7\u30aa\u30ab\u30f3\u30d5\u30a1\u30ec\u30f3\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e<a href=\"https:\/\/galene.org\/\">Galene<\/a>\u306eML\u306bpw-whip\u3068\u3044\u3046PipeWire-WHIP pridge\u3092\u4f5c\u3063\u305f\u3088\u3068\u3044\u3046\u30e1\u30fc\u30eb\u304c\u6d41\u308c\u3066\u304d\u307e\u3057\u305f\uff0e<\/p>\n<\/div>\n<p><!--more--><\/p>\n<div class=\"quoteblock\">\n<blockquote>\n<div class=\"paragraph\">\n<p>Pw-whip is a bridge between PipeWire and WHIP.<\/p>\n<\/div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>https:\/\/github.com\/jech\/pw-whip<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>It can be used to stream the audio of any Linux application to Galene:<\/p>\n<\/div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>pw-whip -C mpv https:\/\/galene.org:8443\/group\/public\/pw-whip\/.whip<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>This is currently audio-only, I&#8217;ll extend it to do video if there&#8217;s demand.<\/p>\n<\/div>\n<\/blockquote>\n<div class=\"attribution\">\n&#8212; <a href=\"https:\/\/lists.galene.org\/galene\/871pdutfkg.wl-jch@irif.fr\/T\/#u\">[Galene] ANNOUNCE: pw-whip, PipeWire-WHIP bridge<\/a>\n<\/div>\n<\/div>\n<div class=\"ulist\">\n<ul>\n<li>\n<p><a href=\"https:\/\/github.com\/jech\/pw-whip\">jech\/pw-whip: PipeWire-WHIP bridge<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div class=\"paragraph\">\n<p>Galene\u306f\u7d50\u69cb\u524d\u304b\u3089WHIP\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u3066\uff0cOBS Studio\u306a\u3069\u304b\u3089\u9001\u4fe1\u3067\u304d\u3066\u3044\u307e\u3057\u305f\uff0e\u4eca\u56de\u306epw-whip\u3067Linux\u306ePipeWire(PulseAudio\u306e\u5149\u666f\u306b\u3088\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b)\u304b\u3089Galene\u306b\u97f3\u58f0\u30e1\u30c7\u30a3\u30a2\u3092\u8ee2\u9001\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1\">\n<h2 id=\"_build\">build<\/h2>\n<div class=\"sectionbody\">\n<div class=\"paragraph\">\n<p>\u3053\u3053\u3067\u306fDebian sid amd64\u74b0\u5883\u3067build\u3057\u307e\u3057\u305f\uff0e<br \/>\n\u57fa\u672c\u7684\u306bREADME.md\u306e\u3068\u304a\u308a\u3067\u3059\u304c\u4f55\u7b87\u6240\u304b\u5f15\u3063\u304b\u304b\u308a\u307e\u3057\u305f\uff0e<\/p>\n<\/div>\n<div class=\"sect2\">\n<h3 id=\"_\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165\">\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165<\/h3>\n<div class=\"paragraph\">\n<p>\u307e\u305a\u306f\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ sudo apt install libopus-dev libpipewire-0.3-dev<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect2\">\n<h3 id=\"_libdtachannel\u306ebuild\">libdtachannel\u306ebuild<\/h3>\n<div class=\"paragraph\">\n<p>WebRTC\u306eMedia Transport\u306b\u4f7f\u3046libdtachannel\u306ebuild\u3092\u884c\u3044\u307e\u3059\uff0e<\/p>\n<\/div>\n<div class=\"ulist\">\n<ul>\n<li>\n<p><a href=\"https:\/\/github.com\/paullouisageneau\/libdatachannel\">paullouisageneau\/libdatachannel: C\/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div class=\"paragraph\">\n<p><code>~\/src<\/code> \u306fpw-whip\u306eMakefile\u306b\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3055\u308c\u3066\u3044\u308b\u306e\u3067 <code>~\/src<\/code> \u4ee5\u4e0b\u3067\u4f5c\u696d\u3057\u305f\u307b\u3046\u304c\u624b\u9593\u304c\u306a\u3044\u3067\u3059\uff0e<br \/>\n~\/src\u4ee5\u4e0b\u306bsource\u3092\u6301\u3063\u3066\u304d\u3066Cmake\u3067\u5931\u6557\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ cd ~\/src\n$ git clone https:\/\/github.com\/paullouisageneau\/libdatachannel\n$ cd libdatachannel\n$ cmake -Bbuild\nCMake Error at CMakeLists.txt:328 (add_subdirectory):\n  The source directory\n\n    \/home\/matoken\/src\/libdatachannel\/deps\/plog\n\n  does not contain a CMakeLists.txt file.\n\n  :\n  :<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>deps\/plog\u306e\u4e2d\u306f\u7a7a\u3067\u3059\uff0e\u305d\u3057\u3066\u540c\u69d8\u306e\u30a8\u30e9\u30fc\u304c\u7d9a\u304d\u307e\u3059\uff0e<br \/>\nlibdatachannel\u306eBUILDING.md\u306b\u306fgit submodule\u3082\u5f15\u3063\u5f35\u3063\u3066\u304f\u308b\u3088\u3046\u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\uff0e<\/p>\n<\/div>\n<div class=\"quoteblock\">\n<blockquote>\n<div class=\"paragraph\">\n<p>## Init submodules<\/p>\n<\/div>\n<div class=\"paragraph\">\n<p>This step is optional if <code>PREFER_SYSTEM_LIB<\/code> CMake option will be enabled.<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre class=\"highlight\"><code class=\"language-bash\" data-lang=\"bash\">$ cd libdatachannel\n$ git submodule update --init --recursive --depth 1<\/code><\/pre>\n<\/div>\n<\/div>\n<\/blockquote>\n<div class=\"attribution\">\n&#8212; <a href=\"https:\/\/github.com\/paullouisageneau\/libdatachannel\/blob\/master\/BUILDING.md#init-submodules\">libdatachannel\/BUILDING.md at master \u00b7 paullouisageneau\/libdatachannel<\/a>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>\u3068\u3044\u3046\u3053\u3068\u3067submodule\u3092\u8cb0\u3063\u3066\u304d\u3066\u518d\u5ea6cmake\u304b\u3089\uff0e<br \/>\n\u4eca\u5ea6\u306fCmake\u3082make\u3082\u901a\u308a\u307e\u3057\u305f\uff0e<br \/>\n.so \u3092\/usr\/local\/lib\/ \u4ee5\u4e0b\u306b\u30b3\u30d4\u30fc\u3057\u3066pw-whip\u306ebuild\u306b\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ git submodule update --init --recursive --depth 1\n$ cmake -Bbuild\n$ cd build\n$ make -j\n$ sudo mv libdatachannel.so* \/usr\/local\/lib\/\n$ sudo ldconfig\n$ cd ..\n$ git clone https:\/\/github.com\/jech\/pw-whip\n$ cd pw-whip\n$ make -j<\/pre>\n<\/div>\n<\/div>\n<div class=\"admonitionblock note\">\n<table  class=\" table table-hover\" >\n<tr>\n<td class=\"icon\">\n<div class=\"title\">Note<\/div>\n<\/td>\n<td class=\"content\">\n<div class=\"paragraph\">\n<p>pw-whip\u306eCommit c945067\u3088\u308a\u524d\u3060\u3068Type\u304c\u3042\u3063\u305f\u3088\u3046\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\uff0e\u6700\u65b0\u306b\u3057\u3066\u304b\u3089make\u3057\u307e\u3057\u3087\u3046\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>In file included from whip.cpp:8:\nwhip.hpp: In constructor \u2018WhipClient::WhipClient(std::string, bool)\u2019:\nwhip.hpp:18:15: error: \u2018class WhipClient\u2019 has no member named \u2018seqno\u2019\n   18 |         this-&gt;seqno = 42;\n      |               ^~~~~\nIn file included from main.cpp:10:\nwhip.hpp: In constructor \u2018WhipClient::WhipClient(std::string, bool)\u2019:\nwhip.hpp:18:15: error: \u2018class WhipClient\u2019 has no member named \u2018seqno\u2019\n   18 |         this-&gt;seqno = 42;\n      |               ^~~~~<\/pre>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1\">\n<h2 id=\"_pw_whip\">pw-whip<\/h2>\n<div class=\"sectionbody\">\n<div class=\"paragraph\">\n<p>usage\u898b\u3066\u3082\u3088\u304f\u308f\u304b\u3093\u306a\u3044\u306a?<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ .\/pw-whip\nUsage: .\/pw-whip [-k] [-t token] [-c] [-C target] [-b bitrate] [-d] endpoint<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>README.md\u3092\u53c2\u8003\u306b\u307e\u305a\u306f\u3053\u3093\u306a\u611f\u3058\u3067<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ .\/pw-whip -k -c https:\/\/localhost:9443\/group\/test\/.whip<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p><code>-k<\/code> \u306f\u30aa\u30ec\u30aa\u30ec\u8a3c\u660e\u66f8\u306a\u306e\u3067TLS\u8a3c\u660e\u66f8\u3092\u78ba\u8a8d\u3057\u306a\u3044\u3088\u3046\u306b\uff0e <code>-c<\/code> \u3067PipeWire\u65e2\u5b9a\u5024\u306esource\u3092\u8ee2\u9001\u3057\u307e\u3059\uff0e<\/p>\n<\/div>\n<div class=\"paragraph\">\n<p>\u4eca\u56de\u306f\u5185\u8535\u30de\u30a4\u30af\u3092\u898f\u5b9a\u5024\u306b\u3057\u305f\u3089\u5185\u8535\u30de\u30a4\u30af\u306e\u97f3\u304c\u5c4a\u304d\u307e\u3057\u305f\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ .\/pw-whip -k -C mpv https:\/\/localhost:9443\/group\/test\/.whip<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>\u6b21\u306f\u3053\u3093\u306a\u611f\u3058\u3067 <code>-C mpv<\/code> \u3092\u6307\u5b9a\uff0e\u3053\u308c\u3067mpv\u306e\u30bd\u30fc\u30b9\u3092\u8ee2\u9001\u3057\u307e\u3059\uff0empv\u3067\u518d\u751f\u3057\u305f\u52d5\u753b\u306e\u97f3\u58f0\u304c\u8ee2\u9001\u3055\u308c\u307e\u3057\u305f\uff0e<\/p>\n<\/div>\n<div class=\"paragraph\">\n<p><span class=\"image\"><img decoding=\"async\" src=\"https:\/\/matoken.org\/blog\/wp-content\/uploads\/2026\/06\/pw-whip_galene.webp\" alt=\"pw whip galene\"><\/span><\/p>\n<\/div>\n<div class=\"paragraph\">\n<p>\u3053\u306e\u3068\u304d\u306ePipeWire\u306e\u30bd\u30fc\u30b9\u306f<a href=\"https:\/\/gitlab.freedesktop.org\/rncbc\/qpwgraph\">qpwgraph<\/a>\u3084\uff0c <code>pw-cli ls Node<\/code> \u30b3\u30de\u30f3\u30c9\u306a\u3069\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e<\/p>\n<\/div>\n<div class=\"paragraph\">\n<p><span class=\"image\"><img decoding=\"async\" src=\"https:\/\/matoken.org\/blog\/wp-content\/uploads\/2026\/06\/pw-whip_qpwgraph.webp\" alt=\"pw whip qpwgraph\" width=\"50%\"><\/span><\/p>\n<\/div>\n<div class=\"paragraph\">\n<p>\u3068\u3044\u3046\u3053\u3068\u3067PipwWire\u304c\u52d5\u3044\u3066\u3044\u3066\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306bopus\u306b\u5909\u63db\u3067\u304d\u308b\u304f\u3089\u3044\u306e\u30b9\u30da\u30c3\u30af\u306e\u7aef\u672b(\u53e4\u3081\u306eRaspberryPi\u306a\u3069)\u304b\u3089\u3082Galene\u306b\u97f3\u58f0\u3092\u9001\u308a\u8fbc\u3081\u305d\u3046\u3067\u3059\uff0e<br \/>\narm\u3067\u306ebuild\u3082\u8a66\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\uff0e<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1\">\n<h2 id=\"_\u95a2\u9023url\">\u95a2\u9023URL<\/h2>\n<div class=\"sectionbody\">\n<div class=\"ulist\">\n<ul>\n<li>\n<p><a href=\"https:\/\/lists.galene.org\/galene\/871pdutfkg.wl-jch@irif.fr\/T\/#u\">[Galene] ANNOUNCE: pw-whip, PipeWire-WHIP bridge<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/jech\/pw-whip\">jech\/pw-whip: PipeWire-WHIP bridge<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/galene.org\/\">Galene videoconference server<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/datatracker.ietf.org\/doc\/rfc9725\/\">RFC 9725 &#8211; WebRTC-HTTP Ingestion Protocol (WHIP)<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/paullouisageneau\/libdatachannel\/blob\/master\/BUILDING.md#init-submodules\">libdatachannel\/BUILDING.md at master \u00b7 paullouisageneau\/libdatachannel<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/gitlab.freedesktop.org\/rncbc\/qpwgraph\">Rui Nuno Capela \/ qpwgraph \u00b7 GitLab<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1\">\n<h2 id=\"_toot\">toot<\/h2>\n<div class=\"sectionbody\">\n<div class=\"ulist\">\n<ul>\n<li>\n<p><a href=\"https:\/\/inari.opencocon.org\/deck\/@matoken\/116813169696372932\">matoken :fox:: &#8220;Linux\u306ePipeWire\u3068\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u306eWHIP\u306e\u30d6\u30ea\u2026&#8221; &#8211; \u3044\u306a\u3053\u3093<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1\">\n<h2 id=\"_\u74b0\u5883\">\u74b0\u5883<\/h2>\n<div class=\"sectionbody\">\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ dpkg-query -W libopus-dev libpipewire-0.3-dev build-essential git\nbuild-essential 12.12\ngit     1:2.53.0-1\nlibopus-dev:amd64       1.6.1-1+b1\nlibpipewire-0.3-dev:amd64       1.6.7-1\n$ lsb_release -dr\nDescription:    Debian GNU\/Linux forky\/sid\nRelease:        n\/a\n$ arch\nx86_64<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u30d3\u30c7\u30aa\u30ab\u30f3\u30d5\u30a1\u30ec\u30f3\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306eGalene\u306eML\u306bpw-whip\u3068\u3044\u3046PipeWire-WHIP pridge\u3092\u4f5c\u3063\u305f\u3088\u3068\u3044\u3046\u30e1\u30fc\u30eb\u304c\u6d41\u308c\u3066\u304d\u307e\u3057\u305f\uff0e<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":""},"categories":[1],"tags":[],"class_list":["post-5500","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/5500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=5500"}],"version-history":[{"count":3,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/5500\/revisions"}],"predecessor-version":[{"id":5503,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/5500\/revisions\/5503"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=5500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=5500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=5500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}