package gstreamer

  1. Overview
  2. Docs

Buses.

type t
type message_type = [
  1. | `Unknown
  2. | `End_of_stream
  3. | `Error
  4. | `Warning
  5. | `Info
  6. | `Tag
  7. | `Buffering
  8. | `State_changed
  9. | `State_dirty
  10. | `Step_done
  11. | `Clock_provide
  12. | `Clock_lost
  13. | `New_clock
  14. | `Structure_change
  15. | `Stream_status
  16. | `Application
  17. | `Element
  18. | `Segment_start
  19. | `Segment_done
  20. | `Duration_changed
  21. | `Latency
  22. | `Async_start
  23. | `Async_done
  24. | `Request_state
  25. | `Step_start
  26. | `Qos
  27. | `Progress
  28. | `Toc
  29. | `Reset_time
  30. | `Stream_start
  31. | `Need_context
  32. | `Have_context
  33. | `Any
]
type message_payload = [
  1. | `Unknown
  2. | `End_of_stream
  3. | `Error of string
  4. | `Warning of string
  5. | `Info of string
  6. | `Tag of (string * string list) list
  7. | `Buffering of int
  8. | `State_changed of Element.state * Element.state * Element.state
  9. | `State_dirty
  10. | `Step_done
  11. | `Clock_provide
  12. | `Clock_lost
  13. | `New_clock
  14. | `Structure_change
  15. | `Stream_status
  16. | `Application
  17. | `Element
  18. | `Segment_start
  19. | `Segment_done
  20. | `Duration_changed
  21. | `Latency
  22. | `Async_start
  23. | `Async_done
  24. | `Request_state
  25. | `Step_start
  26. | `Qos
  27. | `Progress
  28. | `Toc
  29. | `Reset_time
  30. | `Stream_start
  31. | `Need_context
  32. | `Have_context
]
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.