ffmpeg-avdevice
Avdevice.Dev_to_app
Device to application communication
type message =
| None
| Create_window_buffer of (int * int * int * int) option
| Prepare_window_buffer
| Display_window_buffer
| Destroy_window_buffer
| Buffer_overflow
| Buffer_underflow
| Buffer_readable of Int64.t option
| Buffer_writable of Int64.t option
| Mute_state_changed of bool
| 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.
Avdevice.Dev_to_app.set_control_message_callback callback device
callback
device