Actions

rtt_before_thumbnail_store

Perform any action before the transcoded video thumbnails are stored.

/**
* Perform the action before thumbnails are stored
*/
function custom_rtt_before_thumbnail_store( $post_id, $post_array ){
    // Perform some action
}
add_action( 'rtt_before_thumbnail_store', 'custom_rtt_before_thumbnail_store', 10, 2 );

transcoded_thumbnails_added

Perform any action after the transcoded video thumbnails are stored.

/**
* Perform the action after thumbnails are stored
*/
function custom_transcoded_thumbnails_added( $post_id ){
    // Perform some action
}
add_action( 'transcoded_thumbnails_added', 'custom_transcoded_thumbnails_added', 10, 1 );

rtt_handle_callback_finished

Perform any action after the callback response is processed

/**
* Perform the action after the callback response is processed
*/
function custom_rtt_handle_callback_finished( $attachment_id, $job_id ){
    // Perform some action
}
add_action( 'rtt_handle_callback_finished', 'custom_rtt_handle_callback_finished', 10, 2 );