package ffmpeg-avdevice

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Device to application communication

type message =
  1. | None
  2. | Create_window_buffer of (int * int * int * int) option
  3. | Prepare_window_buffer
  4. | Display_window_buffer
  5. | Destroy_window_buffer
  6. | Buffer_overflow
  7. | Buffer_underflow
  8. | Buffer_readable of Stdlib.Int64.t option
  9. | Buffer_writable of Stdlib.Int64.t option
  10. | Mute_state_changed of bool
  11. | Volume_level_changed of float

Device to application control messages

val set_control_message_callback : (message -> unit) -> _ Avutil.container -> unit

Avdevice.Dev_to_app.set_control_message_callback callback device set the callback for device message reception.