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