MixedReality-WebRTC MixedReality-WebRTC
Search Results for

    Show / Hide Table of Contents

    Interface IVideoSource

    Interface for video sources, whether local or remote.

    Namespace: Microsoft.MixedReality.WebRTC
    Assembly: Microsoft.MixedReality.WebRTC.dll
    Syntax
    public interface IVideoSource

    Properties

    | Improve this Doc View Source

    Enabled

    Enabled status of the source. If enabled, produces video frames as expected. If disabled, produces black frames instead.

    Declaration
    bool Enabled { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    FrameEncoding

    Video encoding indicating the kind of frames the source is producing.

    Declaration
    VideoEncoding FrameEncoding { get; }
    Property Value
    Type Description
    VideoEncoding

    Events

    | Improve this Doc View Source

    Argb32VideoFrameReady

    Event that occurs when a new video frame is available from the source, either because the source produced it locally (VideoTrackSource, LocalVideoTrack) or because it received it from the remote peer (RemoteVideoTrack).

    Declaration
    event Argb32VideoFrameDelegate Argb32VideoFrameReady
    Event Type
    Type Description
    Argb32VideoFrameDelegate
    Remarks

    The event delivers to the handlers an ARGB32-encoded video frame.

    This event is invoked on the WebRTC worker thread. Handlers can be added/removed safely while the event is invoked, but access to any resource used by its handlers must be synchronized manually. Note that a handler might be invoked (at most once) after it has been removed from the event.

    | Improve this Doc View Source

    I420AVideoFrameReady

    Event that occurs when a new video frame is available from the source, either because the source produced it locally (VideoTrackSource, LocalVideoTrack) or because it received it from the remote peer (RemoteVideoTrack).

    Declaration
    event I420AVideoFrameDelegate I420AVideoFrameReady
    Event Type
    Type Description
    I420AVideoFrameDelegate
    Remarks

    The event delivers to the handlers an I420-encoded video frame.

    This event is invoked on the WebRTC worker thread. Handlers can be added/removed safely while the event is invoked, but access to any resource used by its handlers must be synchronized manually. Note that a handler might be invoked (at most once) after it has been removed from the event.

    See Also

    VideoTrackSource
    LocalVideoTrack
    RemoteVideoTrack
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX