mediaSourceChanged()

Emitted when a media source was added, removed, or modified.

Synopsis:

#include <qplayer/qplayer.h>

void mediaSourceChanged( const MediaSourceEventType type,
                         const MediaSource &mediaSource );

Arguments:

type
The media source event type.
mediaSource
The media source that the event applies to.

Description:

Emitted when a media source was added, removed, or modified. The event type is stored in type, as a constant defined by the MediaSourceEventType enumeration. The object in mediaSource stores information on the media source that the event applies to.