Module Values.TransportStreamSource

The metadata of an elementary transport stream.

Sourcetype nonrec t = {
  1. channels : Integer.t option;
    (*

    The number of channels in the audio stream.

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

    The codec used by the stream.

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

    The frame rate used by the video stream.

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

    The frame resolution used by the video stream.

    *)
  5. pid : Integer.t option;
    (*

    The Packet ID (PID) as it is reported in the Program Map Table.

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

    The sample rate used by the audio stream.

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

    The sample bit size used by the audio stream.

    *)
  8. streamType : String_.t option;
    (*

    The Stream Type as it is reported in the Program Map Table.

    *)
}
Sourceval make : ?channels:??? -> ?codec:??? -> ?frameRate:??? -> ?frameResolution:??? -> ?pid:??? -> ?sampleRate:??? -> ?sampleSize:??? -> ?streamType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure 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