Module Values.NdiMediaStreamInfoSource

Detailed information about a single media stream that is part of an NDI® source. This includes details about the stream type, codec, resolution, frame rate, audio channels, and sample rate.

Sourcetype nonrec t = {
  1. streamType : String_.t option;
    (*

    The type of media stream (for example, Video or Audio).

    *)
  2. codec : String_.t option;
    (*

    The codec used for the media stream. For NDI sources, use speed-hq.

    *)
  3. streamId : Integer.t option;
    (*

    A unique identifier for the media stream.

    *)
  4. scanMode : ScanMode.t option;
    (*

    The method used to display video frames. Used when the streamType is Video.

    *)
  5. frameResolution : FrameResolution.t option;
    (*

    The width and height dimensions of the video frame in pixels. Used when the streamType is Video.

    *)
  6. frameRate : String_.t option;
    (*

    The number of video frames displayed per second. Used when the streamType is Video.

    *)
  7. channels : Integer.t option;
    (*

    The number of audio channels in the stream. Used when the streamType is Audio.

    *)
  8. sampleRate : Integer.t option;
    (*

    The number of audio samples captured per second, measured in kilohertz (kHz). Used when the streamType is Audio.

    *)
}
Sourceval make : ?streamType:??? -> ?codec:??? -> ?streamId:??? -> ?scanMode:??? -> ?frameResolution:??? -> ?frameRate:??? -> ?channels:??? -> ?sampleRate:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `String of String_.t | `Structure of (string * [> `Integer of Integer.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t