Skip to main content

extract_media_with_platform_helper

Function extract_media_with_platform_helper 

pub fn extract_media_with_platform_helper(
    mode: MediaExtractMode,
    input_path: &Path,
    allowed_root: &Path,
    media_type: &str,
    original_name: &str,
) -> Result<String, AgentErrorKind>
Expand description

Extracts text from one media file by invoking the platform media helper when available.