Git Product home page Git Product logo

unityrenderstreaming-ayame-sample's Introduction

UnityRenderStreaming-Ayame-Sample

image

これは何

Unity Render Streamingのシグナリング処理を、株式会社時雨堂様のAyameというシグナリングサーバに対応させてみたものです。

サンプルの動かし方

1.このリポジトリをクローンして開きます。

2.Ayame Liteにアクセスしてサインアップ。

3.Ayame Liteに書いてあるシグナリングURLとシグナリングキーをコピーして、Render Streamingコンポーネントに貼り付けます。

image

4.RoomIDをフォーマットに沿って適当に作成してRender Streamingコンポーネントに貼り付けます。

例:GitHubID@TestRoom

以上で映像を送信するUnity側の設定はOKです。次に映像の受信側の設定を行います。時雨堂様が簡単にためせるウェブサイトを公開してくださっているので、それを使います。

5.URLを作ってAyame-Web-SDK-Samplesにアクセスする

先程適当に作成したRoomIDとAyame Liteのシグナリングキーを使ってURLをつくりアクセスします。

https://openayame.github.io/ayame-web-sdk-samples/recvonly.html?roomId=<ROOMID>&signalingKey=<SIGNALING_KEY>

6.Unityを実行したあと、Ayame-Web-SDK-Smaple側の接続ボタンを押すと、シグナリングが実行されて、P2P通信が始まります。

関連

映像の受信側をReact Nativeで作成してみました。 https://github.com/tarakoKutibiru/UnityRenderStreaming-Ayame-ReactNative-Sample

Discord

UnityでAyameを利用する人のためのコミュニティを作ってみました。私自身がサポートする可能性は低いですが、開発者同士の議論の場として使って頂けると嬉しいです。

Discord

unityrenderstreaming-ayame-sample's People

Contributors

tarakokutibiru avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.