docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Receiver Sample

    This sample shows that displaying a video streamed from another Unity.

    This sample can use in combination with the Broadcast sample.

    ReceiveVideo Sample

    Note

    If no codec is available on both sender and receiver, the video can not stream. Please note that the compatibility of codecs is different corresponding to platforms and graphics API.

    Usage

    Procedure

    This procedure is for using it with the Broadcast sample.

    1. Launch the signaling server using public mode. Please refer to this link for launching.

    Launch web server

    1. Build an app in Unity Editor, and launch an application.

    2. On the Unity Editor, open Menu scene and click Broadcast button.

    Open Broadcast scene

    1. Click Receiver button on the app.

    2. Click Start button.

    Play receiver scene

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)