class ActiveStorage::Analyzer::AudioAnalyzer
def audio_stream
def audio_stream @audio_stream ||= streams.detect { |stream| stream["codec_type"] == "audio" } || {} end
def audio_stream @audio_stream ||= streams.detect { |stream| stream["codec_type"] == "audio" } || {} end