on_media_event property

Pointer<NativeFunction<Void Function(Pointer<pjmedia_event> event)>> on_media_event
getter/setter pair

Notification about media events such as video notifications. This callback will most likely be called from media threads, thus application must not perform heavy processing in this callback. If application needs to perform more complex tasks to handle the event, it should post the task to another thread.

@param event The media event.

Implementation

external ffi.Pointer<
        ffi
        .NativeFunction<ffi.Void Function(ffi.Pointer<pjmedia_event> event)>>
    on_media_event;