In earlier chapters on audio and video processing, we extensively used GStreamer multimedia framework. Phonon is a multimedia framework used by QT to provide audio/video playback. With the GStreamer API knowledge under our belt, it should be very easy to grasp the fundamental concepts behind the Phonon multimedia framework.
Let's briefly discuss some of the fundamental components and concepts behind the Phonon architecture.
This is analogous to a GStreamer pipeline
. The media graph specifies various nodes (analogous to GStreamer elements) for processing the media stream. For example, the sink node gives the media data as output. To begin streaming the media data within the Graph
, we call the play()
method of the MediaObject
module.