Whether in games, communications, or media production applications, audio and video content is often a crucial part of modern applications. When working with native APIs, even the simplest audio-visual (AV) applications can be quite complicated, especially when supporting multiple platforms. However, fortunately for us, Qt provides us with a simple cross-platform multimedia API in the form of QtMultimedia. With QtMultimedia, we can easily work with audio content, video content, or devices such as cameras and radios.
In this chapter, we'll use QtMultimedia to explore the following topics:
- Simple audio playback
- Recording and playing audio
- Recording and playing video