Member Junction
    Preparing search index...

    Interface RealtimeInputFrame

    One frame of media a host streams into a realtime session through IRealtimeSession.SendInput.

    interface RealtimeInputFrame {
        Data: ArrayBuffer;
        Kind: RealtimeMediaKind;
        MimeType?: string;
        TimestampMs?: number;
    }
    Index

    Properties

    Data: ArrayBuffer

    The frame's bytes: raw audio samples, or one encoded video frame (for example a JPEG image).

    The media plane the frame belongs to.

    MimeType?: string

    The frame's format, for example 'audio/pcm;rate=16000' or 'image/jpeg'. When absent, an audio frame is in the session's declared input format (IRealtimeSession.AudioFormat); a video frame with no type cannot be sent by a driver that needs one, and is dropped.

    TimestampMs?: number

    Epoch-millisecond capture time, when the host knows it.