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