package gstreamer

  1. Overview
  2. Docs
type t
type message_type = [
  1. | `Any
  2. | `Application
  3. | `Async_done
  4. | `Async_start
  5. | `Buffering
  6. | `Clock_lost
  7. | `Clock_provide
  8. | `Duration_changed
  9. | `Element
  10. | `End_of_stream
  11. | `Error
  12. | `Have_context
  13. | `Info
  14. | `Latency
  15. | `Need_context
  16. | `New_clock
  17. | `Progress
  18. | `Qos
  19. | `Request_state
  20. | `Reset_time
  21. | `Segment_done
  22. | `Segment_start
  23. | `State_changed
  24. | `State_dirty
  25. | `Step_done
  26. | `Step_start
  27. | `Stream_start
  28. | `Stream_status
  29. | `Structure_change
  30. | `Tag
  31. | `Toc
  32. | `Unknown
  33. | `Warning
]
type message_payload = [
  1. | `Application
  2. | `Async_done
  3. | `Async_start
  4. | `Buffering of int
  5. | `Clock_lost
  6. | `Clock_provide
  7. | `Duration_changed
  8. | `Element
  9. | `End_of_stream
  10. | `Error of string
  11. | `Have_context
  12. | `Info of string
  13. | `Latency
  14. | `Need_context
  15. | `New_clock
  16. | `Progress
  17. | `Qos
  18. | `Request_state
  19. | `Reset_time
  20. | `Segment_done
  21. | `Segment_start
  22. | `State_changed of Element.state * Element.state * Element.state
  23. | `State_dirty
  24. | `Step_done
  25. | `Step_start
  26. | `Stream_start
  27. | `Stream_status
  28. | `Structure_change
  29. | `Tag of (string * string list) list
  30. | `Toc
  31. | `Unknown
  32. | `Warning of string
]
type message = {
  1. source : string;
  2. payload : message_payload;
}
val of_element : Element.t -> t
val pop_filtered : t -> message_type list -> message option
val timed_pop_filtered : t -> ?timeout:Int64.t -> message_type list -> message
OCaml

Innovation. Community. Security.