Upgrade to Pro — share decks privately, control downloads, hide ads and more …

省リソースで動作するビデオカンファレンスソフトウェアGalèneの紹介(osckyoto 20...

省リソースで動作するビデオカンファレンスソフトウェアGalèneの紹介(osckyoto 2022 LT版)

Avatar for Kenichiro MATOHARA

Kenichiro MATOHARA

July 30, 2022
Tweet

More Decks by Kenichiro MATOHARA

Other Decks in Technology

Transcript

  1. ビデオミーティングソフトウェ ビデオミーティングソフトウェ アのserver requirements アのserver requirements [1] RAM 2〜8GB CPU

    4core〜 RAM 16GB〜 CPU 8Core〜 1. どんどん増えている……? Jitsi Meet BigBlueButton 7 / 26
  2. Galène Galène Galene needs little momory — it should run correctly in

    128MB of RAM, and is rock solid with 512MB. 桁違いに軽量そう! Galène FAQ 9 / 26
  3. 環境の用意とビルド 環境の用意とビルド Debian sid amd64/Raspberry Pi OS bullseyeで確認 1 Go

    1.3以降が必要 $ sudo apt install golang $ git clone https://github.com/jech/galene $ cd galene $ CGO_ENABLED=0 go build -ldflags='-s -w' 1 11 / 26
  4. クロスビルド例 クロスビルド例 1 Linux arm6(Raspberry Pi 1) 2 Linux arm7(Raspberry

    Pi 2〜) 3 Linux arm64(Raspberry Pi 2 B 1.2〜かつ64bit OS)  今回Linux/amd64とLinux/armhfで試した, Linux/arm64,Linux/mipsやWindowsでも動くらしい $ GOARCH="arm" GOOS="linux" GOARM=6 CGO_ENABLED=0 \ go build -o galene_arm6_linux -ldflags='-s -w' $ GOARCH="arm" GOOS="linux" GOARM=7 CGO_ENABLED=0 \ go build -o galene_arm7_linux -ldflags='-s -w' $ GOARCH="arm64" GOOS="linux" CGO_ENABLED=0 \ go build -o galene_arm64_linux -ldflags='-s -w' 1 2 3 12 / 26
  5. グループを作成 グループを作成 テスト用グループ(部屋)の設定を作成 groups/name.json  詳細は README を参照のこと $ mkdir

    groups $ vi groups/name.json { "op": [{"username": "admin", "password": "1234"}], "presenter": [{}] } 13 / 26
  6. setting(1 of 2) setting(1 of 2) Media Options Camera: →

    off or 各種カメラ Microphone: → off or 各種マイク ✅ Mirror view □ Blackboard mode (高解像度低fps)になる ✅ Noise suppression □ High-quality audio (音楽再生時など) 19 / 26
  7. setting(2 of 2) setting(2 of 2) Other Settings Filter: →

    none, Holizontal mirror, Virtical mirror Send: → lowest, low, normal, unlimited Simulcast: → off, auto, on( ) Receive: → noting, audio only, screen share(low), screen share, everything(low), everything □ Activity detection (????) [1] 1. Firefoxでは動作しない サイマルキャスト 20 / 26
  8. 少し使ってみて 少し使ってみて LAN内でRaspberry Pi 3 model B + Raspberry Pi

    OS bullseye armhf(armv8 1.2GHz x 4core/1GB RAM)をサー バにして3台接続 半日ほど放置しても安定して動作していそう ビデオや画面共有を増やしてもサーバの負荷はあまり上がらない 21 / 26
  9. Raspberry Pi 3B + Raspberry Pi OS Raspberry Pi 3B

    + Raspberry Pi OS bullseye armhf bullseye armhf 22 / 26
  10. 奥付 奥付 発表 2022-07-30(sat) 発表者 利用ソフトウェア ライセンス オープンソースカンファレンス2022 Kyoto ライトニングトーク

    鹿児島Linux勉強会 2022.06のフルバージョンスライド Kenichiro Matohara(matoken) Asciidoctor Reveal.js CC BY 4.0 26 / 26