rootux / portal

Unity based game for burnerot
MIT License
0 stars 1 forks source link

Connect Agora Video Stream #3

Open rootux opened 1 year ago

rootux commented 1 year ago

What

Setup Agora video stream and connect credentials - Validate that if you open two instances of the app - they are automatically connected and sharing videos

We should use the webcam microphones and NOT the kinect microphones because they may be too far apart

We can set the Bitrate, Framerate, Dimensions https://docs.agora.io/en/3.x/video-calling/basic-features/video-profiles?platform=android

We can add a settings or use a json file settings to choose the bitrate, framerate, dimensions

Add a new VideoFeed Scene that will use agora.

How does connectivity works?

Need to open 2 instances - both choose the VideoFeed Scene in the main menu (Option 1) that will connect to one another - Maybe Lobby (Check boss room). Since we need a server - we might as well create it ourself. Web server in C# - Sqlite db that store Score and others. Discovery - 2 Ips - sockets. Mostly we share data directly

If the network is going down and back up - things should work as expected.