Class: AVCapture::Device
- Inherits:
-
Object
- Object
- AVCapture::Device
- Defined in:
- lib/av_capture.rb
Instance Method Summary collapse
Instance Method Details
#as_input ⇒ Object
12 13 14 |
# File 'lib/av_capture.rb', line 12 def as_input AVCapture::DeviceInput.new self end |
#video? ⇒ Boolean
8 9 10 |
# File 'lib/av_capture.rb', line 8 def video? has_media_type? AVCapture::AVMediaTypeVideo end |