.. _cpp-examples-audiovideocapture:

Capturing audio and video
=========================

:ref:`\<\< return to C++ examples<cpp-examples>`

Overview
--------

**AVCaptureRemote** module shows how to capture simultaneously audio and video.

This a **remote module**.

Downloads
---------

Whole module
++++++++++++

:download:`audiovideocapture.zip <../audiovideocapture.zip>`

Header: avcaptureremote.h
+++++++++++++++++++++++++

:download:`avcaptureremote.h <avcaptureremote.h>`

.. literalinclude:: avcaptureremote.h
   :language: cpp

Source: avcaptureremote.cpp
+++++++++++++++++++++++++++

:download:`avcaptureremote.cpp <avcaptureremote.cpp>`

.. literalinclude:: avcaptureremote.cpp
   :language: cpp

Main: main.cpp
++++++++++++++

:download:`avcapturemain.cpp <main.cpp>`

.. literalinclude:: main.cpp
   :language: cpp

CMakeLists.txt
++++++++++++++

:download:`CMakeLists.txt  <CMakeLists.txt>`

.. literalinclude:: CMakeLists.txt
   :language: cmake
