Contents
WebRTC Video Chat
Links
Description
WebRTC Video Chat allows to connect users via audio, video streams and text messages. It can be used to build applications similar to Skype or Teamspeak and include the functionality directly into a game or VR application.
The assets comes with a fully functional example application (“CallApp”) to demonstrate how to create a video chat. If this
is all you need you can simply change the UI to your liking and use it without any programming.
WebRTC Video Chat also comes with a copy of WebRTC Network (see below).
How does it work?
The plugin automatically handles all audio/video and network functionality for you. All you need is to
create a Call object and connect it to the other side and using a shared password. An event handler will
then return events when a user connects, sends a message, a new video frame is received and so on.
The video frames will be returned as a raw image. You can then copy it into a texture (see example) or
use it for other libraries e.g for facial recognition or applying filters.
Supported platforms and features
Following platforms are currently supported:
- Unity Editor for Windows and Mac (x64)
- Standalone Win x86, Win x64
- Standalone Mac x64
- Android armv7a, x86, arm64
- iOS arm, arm64
- Chrome and Firefox
Note that Universal Windows Platform is not supported!
You can find sample applications for all platforms here.
awrtc_browser
awrtc_browser is a JavaScript / Typescript port of C# API “awrtc” used to power WebRTC Video Chat. It can be used to embed video streaming in a webpage and can connect to all other platforms out of the box. The project also doubles as a backend for the WebGL Unity build and a compressed build is included in WebRTC Video Chat. awrtc_browser is developed as an Open Source project. You can find it on github: awrtc_browser.
Holo Video Chat
Holo Video Chat contains a port of the WebRTC Video Chat plugin for UWP x86, x64 and ARM 32 for the HoloLens 2. It includes the same ICall, IMediaNetwork and IVideoInput C# interfaces that are available for the other platforms.
Holo Video Chat is compatible to WebRTC Video Chat on a network level and it can be used to connect the HoloLens 2 to all other platforms including browser based apps developed on top of awrtc_browser.
For more information check out the Holo Video Chat guide!
You can find the asset here: Holo Video Chat