Module Values.AddMediaStreamRequestSource

The media stream that you want to add to the flow.

Sourcetype nonrec t = {
  1. attributes : MediaStreamAttributesRequest.t option;
    (*

    The attributes that you want to assign to the new media stream.

    *)
  2. clockRate : Integer.t option;
    (*

    The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.

    *)
  3. description : String_.t option;
    (*

    A description that can help you quickly identify what your media stream is used for.

    *)
  4. mediaStreamId : Integer.t;
    (*

    A unique identifier for the media stream.

    *)
  5. mediaStreamName : String_.t;
    (*

    A name that helps you distinguish one media stream from another.

    *)
  6. mediaStreamType : MediaStreamType.t;
    (*

    The type of media stream.

    *)
  7. videoFormat : String_.t option;
    (*

    The resolution of the video.

    *)
  8. mediaStreamTags : (String_.t * String_.t) list option;
    (*

    The key-value pairs that can be used to tag and organize the media stream.

    *)
}
Sourceval context_ : string
Sourceval make : ?attributes:??? -> ?clockRate:??? -> ?description:??? -> ?videoFormat:??? -> ?mediaStreamTags:??? -> mediaStreamId:Integer.t -> mediaStreamName:String_.t -> mediaStreamType:MediaStreamType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of String_.t | `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list ]) 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