FFmpegSessionCompleteCallback typedef

FFmpegSessionCompleteCallback = void Function(FFmpegSession session)

Callback function that is invoked when an asynchronous FFmpeg session has ended. Session has either SessionState.completed or SessionState.failed state when the callback is invoked. If it has SessionState.completed state, "ReturnCode" should be checked to see the execution result. If "getState" returns SessionState.failed then "getFailStackTrace" should be used to get the failure reason.

Implementation

typedef FFmpegSessionCompleteCallback = void Function(FFmpegSession session);