MixedReality-WebRTC MixedReality-WebRTC
Search Results for

    Show / Hide Table of Contents

    Struct FrameRequest

    Request sent to an external video source via its registered callback to generate a new video frame for the track(s) connected to it.

    Namespace: Microsoft.MixedReality.WebRTC
    Assembly: Microsoft.MixedReality.WebRTC.dll
    Syntax
    public ref struct FrameRequest

    Fields

    | Improve this Doc View Source

    RequestId

    Unique request identifier, for error checking.

    Declaration
    public uint RequestId
    Field Value
    Type Description
    UInt32
    | Improve this Doc View Source

    Source

    Video track source this request is associated with.

    Declaration
    public ExternalVideoTrackSource Source
    Field Value
    Type Description
    ExternalVideoTrackSource
    | Improve this Doc View Source

    TimestampMs

    Frame timestamp, in milliseconds. This corresponds to the time when the request was made to the native video track source.

    Declaration
    public long TimestampMs
    Field Value
    Type Description
    Int64

    Methods

    | Improve this Doc View Source

    CompleteRequest(in Argb32VideoFrame)

    Complete the current request by providing a video frame for it. This must be used if the video track source was created with CreateFromArgb32Callback(Argb32VideoFrameRequestDelegate).

    Declaration
    public void CompleteRequest(in Argb32VideoFrame frame)
    Parameters
    Type Name Description
    Argb32VideoFrame frame

    The video frame used to complete the request.

    | Improve this Doc View Source

    CompleteRequest(in I420AVideoFrame)

    Complete the current request by providing a video frame for it. This must be used if the video track source was created with CreateFromI420ACallback(I420AVideoFrameRequestDelegate).

    Declaration
    public void CompleteRequest(in I420AVideoFrame frame)
    Parameters
    Type Name Description
    I420AVideoFrame frame

    The video frame used to complete the request.

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