WebRTC Statistics Tool | WebRTC | 2.2.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    WebRTC Statistics Tool

    Provides a tool to display statistics about WebRTC in the editor.

    How to Use

    You can open it from the Window -> Analysis -> WebRTC Stats in the top toolbar.

    Guidline WebRTC Stats

    When you open it, you will see a screen like the one below.

    WebRTC Stats Empty

    Run the scene in the Unity editor. When the PeerConnection is created, a list of PeerConnections is displayed in the list on the left.

    WebRTC Stats PeerConnection List

    Pressing the button on the list of PeerConnections will display the list of statistics for the target PeerConnection as a pull-down menu.

    WebRTC Stats StatsType List

    Selecting an item from the pulldown menu displays a list of statistics. Below is an example when you select CandidatePair.

    WebRTC Stats Exsample StatsMember

    It also displays a graph for data that changes over time.

    WebRTC Stats Exsample StatsGraph

    Storing Statistics.

    You can save the collected statistics by pressing the Save button in the upper right corner of the screen.

    WebRTC Stats Save Dump

    The generated dump files are compatible with the dump files generated by Chrome's chrome://webrtc-internals, so you can see the statistics in third party applications.

    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