LoginSignup
8
9

More than 3 years have passed since last update.

ローカルネットワークでmomo同士で手軽な双方向の映像音声通信

Last updated at Posted at 2020-04-28

momo 2020.6 でサーバ不要のmomo to momo の通信ができるようになったので試してみました。

Mac 2台でやっています。
2台のうちの1台がサーバーを兼務します。

サーバーを兼務する方

まずはhost名の確認。

$ hostname
koba-mac.local

momoの起動。

momo --use-sdl --show-me test

先にこちらを起動しておく必要があります。

クライアント

さきほど確認したサーバのhost名が koba-mac.local だったので

momo --use-sdl --show-me ayame ws://koba-mac.local:8080/ws test

これでつながって双方向の映像音声通信ができます。簡単ですね!
mac同士だとmDNSが使えるのでIPアドレスを調べる必要もありません。

開発者に感謝!

@tnoho さん素晴らしいです。

8
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
9