Skip to content

Instantly share code, notes, and snippets.

@S-YOU
Forked from voluntas/sora_momo_av1.md
Created September 12, 2020 14:29
Show Gist options
  • Select an option

  • Save S-YOU/5e02a838a24bae499b8175b7488f7f49 to your computer and use it in GitHub Desktop.

Select an option

Save S-YOU/5e02a838a24bae499b8175b7488f7f49 to your computer and use it in GitHub Desktop.

Revisions

  1. @voluntas voluntas revised this gist Apr 28, 2020. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions sora_momo_av1.md
    Original file line number Diff line number Diff line change
    @@ -15,9 +15,9 @@

    ## Momo ダウンロード

    以下から `momo-2020.5_macos-10.15.tar.gz` をダウンロードしてください。
    以下から `momo-2020.6_macos-10.15.tar.gz` をダウンロードしてください。

    https://github.com/shiguredo/momo/releases/tag/2020.5
    https://github.com/shiguredo/momo/releases/tag/2020.6

    ## 動作確認

    @@ -119,3 +119,4 @@ AV1 はマルチストリームでも利用可能です。AV1 を利用した簡
    ```
    ./momo sora wss://sora-labo.shiguredo.jp/signaling voluntas@av1-multi --audio true --video true --video-codec AV1 --role sendrecv --multistream --metadata '{"signaling_key": "hqUpW4EMPBltgH-DMgcPW0bgJH-2icZMzV6dXYlM8aYMC5lX"}'
    ```

  2. @voluntas voluntas revised this gist Apr 14, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sora_momo_av1.md
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,7 @@

    以下から `momo-2020.5_macos-10.15.tar.gz` をダウンロードしてください。

    https://github.com/shiguredo/momo/actions/runs/71511770
    https://github.com/shiguredo/momo/releases/tag/2020.5

    ## 動作確認

  3. @voluntas voluntas revised this gist Apr 7, 2020. 1 changed file with 20 additions and 0 deletions.
    20 changes: 20 additions & 0 deletions sora_momo_av1.md
    Original file line number Diff line number Diff line change
    @@ -99,3 +99,23 @@ https://github.com/shiguredo/momo/actions/runs/71511770
    #### 受信スクリーンショット

    [![Image from Gyazo](https://i.gyazo.com/4b75b2f208fd83fa422f61e48f886054.png)](https://gyazo.com/4b75b2f208fd83fa422f61e48f886054)

    ## マルチストリームで双方向で動かす

    AV1 はマルチストリームでも利用可能です。AV1 を利用した簡易会議システムを堪能してみてください。

    ### 音声なし

    **チャネル ID とシグナリングキーは変更してください**

    ```
    ./momo --no-audio-device sora wss://sora-labo.shiguredo.jp/signaling voluntas@av1-multi --audio false --video true --video-codec AV1 --role sendrecv --multistream --metadata '{"signaling_key": "hqUpW4EMPBltgH-DMgcPW0bgJH-2icZMzV6dXYlM8aYMC5lX"}'
    ```

    ### 音声あり

    **チャネル ID とシグナリングキーは変更してください**

    ```
    ./momo sora wss://sora-labo.shiguredo.jp/signaling voluntas@av1-multi --audio true --video true --video-codec AV1 --role sendrecv --multistream --metadata '{"signaling_key": "hqUpW4EMPBltgH-DMgcPW0bgJH-2icZMzV6dXYlM8aYMC5lX"}'
    ```
  4. @voluntas voluntas revised this gist Apr 6, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion sora_momo_av1.md
    Original file line number Diff line number Diff line change
    @@ -33,7 +33,8 @@ https://github.com/shiguredo/momo/actions/runs/71511770

    ### 許可

    そのあとシステム環境設定のセキュリティとプライバシーの一般から、ダウンロードしたアプリケーションの実行許可のこのまま許可をおします。
    そのあと、システム環境設定のセキュリティとプライバシーの一般から、
    ダウンロードしたアプリケーションの実行許可のこのまま許可をおします。

    ### 再実行

  5. @voluntas voluntas revised this gist Apr 6, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions sora_momo_av1.md
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,7 @@
    - libwebrtc は master のほぼ最先端を利用しています
    - SDL を利用しての動作確認です
    - フィードバックは Discord の general でどうぞ
    - Momo を2つ起動する必要があります

    ## Momo ダウンロード

  6. @voluntas voluntas revised this gist Apr 6, 2020. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions sora_momo_av1.md
    Original file line number Diff line number Diff line change
    @@ -94,3 +94,6 @@ https://github.com/shiguredo/momo/actions/runs/71511770
    ./momo --no-audio-device --use-sdl sora wss://sora-labo.shiguredo.jp/signaling voluntas@av1 --audio false --video true --video-codec AV1 --role recvonly --metadata '{"signaling_key": "hqUpW4EMPBltgH-DMgcPW0bgJH-2icZMzV6dXYlM8aYMC5lX"}'
    ```

    #### 受信スクリーンショット

    [![Image from Gyazo](https://i.gyazo.com/4b75b2f208fd83fa422f61e48f886054.png)](https://gyazo.com/4b75b2f208fd83fa422f61e48f886054)
  7. @voluntas voluntas revised this gist Apr 6, 2020. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions sora_momo_av1.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,11 @@
    # Sora Labo と Momo で WebRTC の AV1 を試す
    # Sora と Momo で WebRTC の AV1 を試す

    ## 前提

    - Sora Labo と Momo の使い方は把握している事
    **Sora Labo と Momo の使い方は把握している前提の資料です**

    - Sora Labo を利用します
    - https://sora-labo.shiguredo.jp/
    - macOS 10.15 であること
    - ブラウザではまだ確認できません
    - libwebrtc は master のほぼ最先端を利用しています
    @@ -90,3 +93,4 @@ https://github.com/shiguredo/momo/actions/runs/71511770
    ```
    ./momo --no-audio-device --use-sdl sora wss://sora-labo.shiguredo.jp/signaling voluntas@av1 --audio false --video true --video-codec AV1 --role recvonly --metadata '{"signaling_key": "hqUpW4EMPBltgH-DMgcPW0bgJH-2icZMzV6dXYlM8aYMC5lX"}'
    ```

  8. @voluntas voluntas revised this gist Apr 6, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sora_momo_av1.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Sora Labo と macOS 版 Momo で WebRTC での AV1 を試す
    # Sora Labo と Momo で WebRTC AV1 を試す

    ## 前提

  9. @voluntas voluntas revised this gist Apr 6, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions sora_momo_av1.md
    Original file line number Diff line number Diff line change
    @@ -47,6 +47,8 @@ https://github.com/shiguredo/momo/actions/runs/71511770
    ./momo --no-audio-device sora wss://sora-labo.shiguredo.jp/signaling voluntas@av1 --audio false --video true --video-codec AV1 --role sendonly --metadata '{"signaling_key": "hqUpW4EMPBltgH-DMgcPW0bgJH-2icZMzV6dXYlM8aYMC5lX"}'
    ```

    #### リモート統計でエンコーダをチェックする

    [![リモート統計でエンコーダーをチェック](https://i.gyazo.com/f2ca3054d118cc06c9a3100e77a605bc.png)](https://gyazo.com/f2ca3054d118cc06c9a3100e77a605bc)

    ```
  10. @voluntas voluntas revised this gist Apr 6, 2020. 1 changed file with 10 additions and 2 deletions.
    12 changes: 10 additions & 2 deletions sora_momo_av1.md
    Original file line number Diff line number Diff line change
    @@ -21,12 +21,18 @@ https://github.com/shiguredo/momo/actions/runs/71511770

    セキュリティで、動作させるために一手間いります。

    ### 実行できない

    まず実行すると以下が出ます

    [![最初実行した時](https://i.gyazo.com/8b3b3ed2fa974f2230ee9340aebab150.png)](https://gyazo.com/8b3b3ed2fa974f2230ee9340aebab150)

    ### 許可

    そのあとシステム環境設定のセキュリティとプライバシーの一般から、ダウンロードしたアプリケーションの実行許可のこのまま許可をおします。

    ### 再実行

    [![このまま許可を押す](https://i.gyazo.com/23798dad966752de1417895e8e7a179e.png)](https://gyazo.com/23798dad966752de1417895e8e7a179e)

    再度実行すると開くが追加されてるので開くをおします。
    @@ -35,8 +41,10 @@ https://github.com/shiguredo/momo/actions/runs/71511770

    ### 送信側

    **チャネル ID とシグナリングキーは変更してください**

    ```
    ./momo --no-audio-device sora wss://sora-labo.shiguredo.jp/signaling voluntas@av1 --audio false --video true --video-codec AV1 --role sendonly --metadata '{"signaling_key": "hqUpW4EMPBltgH-DMgcPW0bgJH-2icZMzV6dXYlM8aYMZ5lX"}'
    ./momo --no-audio-device sora wss://sora-labo.shiguredo.jp/signaling voluntas@av1 --audio false --video true --video-codec AV1 --role sendonly --metadata '{"signaling_key": "hqUpW4EMPBltgH-DMgcPW0bgJH-2icZMzV6dXYlM8aYMC5lX"}'
    ```

    [![リモート統計でエンコーダーをチェック](https://i.gyazo.com/f2ca3054d118cc06c9a3100e77a605bc.png)](https://gyazo.com/f2ca3054d118cc06c9a3100e77a605bc)
    @@ -78,5 +86,5 @@ https://github.com/shiguredo/momo/actions/runs/71511770
    ### 受信側

    ```
    ./momo --no-audio-device --use-sdl sora wss://sora-labo.shiguredo.jp/signaling voluntas@av1 --audio false --video true --video-codec AV1 --role recvonly --metadata '{"signaling_key": "hqUpW4EMPBltgH-DMgcPW0bgJH-2icZMzV6dXYlM8aYMZ5lX"}'
    ./momo --no-audio-device --use-sdl sora wss://sora-labo.shiguredo.jp/signaling voluntas@av1 --audio false --video true --video-codec AV1 --role recvonly --metadata '{"signaling_key": "hqUpW4EMPBltgH-DMgcPW0bgJH-2icZMzV6dXYlM8aYMC5lX"}'
    ```
  11. @voluntas voluntas revised this gist Apr 6, 2020. 1 changed file with 12 additions and 2 deletions.
    14 changes: 12 additions & 2 deletions sora_momo_av1.md
    Original file line number Diff line number Diff line change
    @@ -4,23 +4,33 @@

    - Sora Labo と Momo の使い方は把握している事
    - macOS 10.15 であること
    - ブラウザではまだ確認できません
    - libwebrtc は master のほぼ最先端を利用しています
    - SDL を利用しての動作確認です
    - フィードバックは Discord の general でどうぞ

    ## Momo ダウンロード

    https://github.com/shiguredo/momo/actions/runs/71511770
    以下から `momo-2020.5_macos-10.15.tar.gz` をダウンロードしてください。

    momo-2020.5_macos-10.15.tar.gz
    https://github.com/shiguredo/momo/actions/runs/71511770

    ## 動作確認

    ### macOS での動作注意

    セキュリティで、動作させるために一手間いります。

    まず実行すると以下が出ます

    [![最初実行した時](https://i.gyazo.com/8b3b3ed2fa974f2230ee9340aebab150.png)](https://gyazo.com/8b3b3ed2fa974f2230ee9340aebab150)

    そのあとシステム環境設定のセキュリティとプライバシーの一般から、ダウンロードしたアプリケーションの実行許可のこのまま許可をおします。

    [![このまま許可を押す](https://i.gyazo.com/23798dad966752de1417895e8e7a179e.png)](https://gyazo.com/23798dad966752de1417895e8e7a179e)

    再度実行すると開くが追加されてるので開くをおします。

    [![開くを押す](https://i.gyazo.com/5c2bb2766fd9727a6addc66c21e35e0e.png)](https://gyazo.com/5c2bb2766fd9727a6addc66c21e35e0e)

    ### 送信側
  12. @voluntas voluntas created this gist Apr 6, 2020.
    72 changes: 72 additions & 0 deletions sora_momo_av1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,72 @@
    # Sora Labo と macOS 版 Momo で WebRTC での AV1 を試す

    ## 前提

    - Sora Labo と Momo の使い方は把握している事
    - macOS 10.15 であること

    ## Momo ダウンロード

    https://github.com/shiguredo/momo/actions/runs/71511770

    momo-2020.5_macos-10.15.tar.gz

    ## 動作確認

    ### macOS での動作注意

    セキュリティで、動作させるために一手間いります。

    [![最初実行した時](https://i.gyazo.com/8b3b3ed2fa974f2230ee9340aebab150.png)](https://gyazo.com/8b3b3ed2fa974f2230ee9340aebab150)

    [![このまま許可を押す](https://i.gyazo.com/23798dad966752de1417895e8e7a179e.png)](https://gyazo.com/23798dad966752de1417895e8e7a179e)

    [![開くを押す](https://i.gyazo.com/5c2bb2766fd9727a6addc66c21e35e0e.png)](https://gyazo.com/5c2bb2766fd9727a6addc66c21e35e0e)

    ### 送信側

    ```
    ./momo --no-audio-device sora wss://sora-labo.shiguredo.jp/signaling voluntas@av1 --audio false --video true --video-codec AV1 --role sendonly --metadata '{"signaling_key": "hqUpW4EMPBltgH-DMgcPW0bgJH-2icZMzV6dXYlM8aYMZ5lX"}'
    ```

    [![リモート統計でエンコーダーをチェック](https://i.gyazo.com/f2ca3054d118cc06c9a3100e77a605bc.png)](https://gyazo.com/f2ca3054d118cc06c9a3100e77a605bc)

    ```
    {
    "bytesSent": 279459,
    "codecId": "RTCCodec_video_MgXdZC_Outbound_120",
    "encoderImplementation": "libaom",
    "firCount": 0,
    "framesEncoded": 135,
    "headerBytesSent": 8340,
    "id": "RTCOutboundRTPVideoStream_3737227746",
    "isRemote": false,
    "keyFramesEncoded": 1,
    "kind": "video",
    "mediaSourceId": "RTCVideoSource_1",
    "mediaType": "video",
    "nackCount": 0,
    "packetsSent": 310,
    "pliCount": 0,
    "qpSum": 15871,
    "qualityLimitationReason": "none",
    "qualityLimitationResolutionChanges": 0,
    "remoteId": "RTCRemoteInboundRtpVideoStream_3737227746",
    "retransmittedBytesSent": 0,
    "retransmittedPacketsSent": 0,
    "ssrc": 3737227746,
    "timestamp": 1586165181374655,
    "totalEncodeTime": 1.29000000000000003553e+00,
    "totalEncodedBytesTarget": 392867,
    "totalPacketSendDelay": 3.99930000000000021032e+01,
    "trackId": "RTCMediaStreamTrack_sender_1",
    "transportId": "RTCTransport_video_MgXdZC_1",
    "type": "outbound-rtp"
    },
    ```

    ### 受信側

    ```
    ./momo --no-audio-device --use-sdl sora wss://sora-labo.shiguredo.jp/signaling voluntas@av1 --audio false --video true --video-codec AV1 --role recvonly --metadata '{"signaling_key": "hqUpW4EMPBltgH-DMgcPW0bgJH-2icZMzV6dXYlM8aYMZ5lX"}'
    ```