WebRTC | WebRTC | 2.0.5-preview
docs.unity3d.com
    Show / Hide Table of Contents

    WebRTC

    WebRTC header

    What is WebRTC

    WebRTC for Unity is a package that allows WebRTC to be used in Unity.

    Requirements

    This version of the package is compatible with the following versions of the Unity Editor:

    • Unity 2019.3
    Platform Graphics API Hardware Encoder Software Encoder
    Windows x64 DirectX11 ✅ (Require NVIDIA Graphics card) ✅
    Windows x64 DirectX12 ✅ (Require NVIDIA Graphics card) ✅
    Windows x64 OpenGL
    Windows x64 Vulkan
    Linux x64 OpenGL ✅ (Require NVIDIA Graphics card)
    Linux x64 Vulkan
    MacOS OpenGL
    MacOS Metal ✅

    To check the compatible NVIDIA graphics card, please visit on the NVIDIA VIDEO CODEC SDK web site.

    Note

    On Linux, libc++1 libc++abi1 packages should be installed. Please install like command below

    sudo apt install -y libc++1 libc++abi1

    Installation

    To install the package, download WebRTC for Unity from the package manager. See the documentation for details on how to use the package manager.

    WebRTC Package Manager

    Samples

    The package contains the following 3 samples.

    Scene Details
    PeerConnection A scene for checking the process of connecting to a peer
    DataChannel A scene for sending and receiving text
    MediaStream A scene for sending and receiving video/audio

    To get these samples, Push the Import into Project button on Package Manager.

    Download package sample

    Other Languages

    • Japanese
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023