instance method
audio_stream
Ruby on Rails 8.0.4
Since v7.0.10 PrivateSignature
audio_stream()
No documentation comment.
Source
# File activestorage/lib/active_storage/analyzer/audio_analyzer.rb, line 44
def audio_stream
@audio_stream ||= streams.detect { |stream| stream["codec_type"] == "audio" } || {}
end
Defined in activestorage/lib/active_storage/analyzer/audio_analyzer.rb line 44
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Analyzer::AudioAnalyzer