Show / Hide Table of Contents

    Class MediaPlayer

    Play video frames received from a WebRTC video track.

    Inheritance
    Object
    MediaPlayer
    Namespace: Microsoft.MixedReality.WebRTC.Unity
    Assembly: cs.temp.dll.dll
    Syntax
    public class MediaPlayer : MonoBehaviour
    Remarks

    This component writes to the attached Material, via the attached Renderer.

    Fields

    AudioSource

    Declaration
    public AudioSource AudioSource
    Field Value
    Type Description
    AudioSource

    EnableStatistics

    Declaration
    public bool EnableStatistics
    Field Value
    Type Description
    Boolean

    FrameLoadStatHolder

    A textmesh onto which frame load stat data will be written

    Declaration
    public TextMesh FrameLoadStatHolder
    Field Value
    Type Description
    TextMesh
    Remarks

    This is how fast the frames are given from the underlying implementation

    FramePresentStatHolder

    A textmesh onto which frame present stat data will be written

    Declaration
    public TextMesh FramePresentStatHolder
    Field Value
    Type Description
    TextMesh
    Remarks

    This is how fast we render frames to the display

    FrameQueue

    The frame queue from which frames will be rendered.

    Declaration
    public VideoFrameQueue<I420VideoFrameStorage> FrameQueue
    Field Value
    Type Description
    VideoFrameQueue<I420VideoFrameStorage>

    FrameSkipStatHolder

    A textmesh into which frame skip stat dta will be written

    Declaration
    public TextMesh FrameSkipStatHolder
    Field Value
    Type Description
    TextMesh
    Remarks

    This is how often we skip presenting an underlying frame

    MaxVideoFramerate

    Declaration
    public float MaxVideoFramerate
    Field Value
    Type Description
    Single

    VideoSource

    Declaration
    public VideoSource VideoSource
    Field Value
    Type Description
    VideoSource
    Back to top Generated by DocFX