Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

ffmpegurisessionbuilder.h Example File
ffmpeg/ffmpegurisessionbuilder.h

    /****************************************************************************
    **
    ** This file is part of the Qt Extended Commercial Package.
    **
    ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    **
    ** $QT_EXTENDED_DUAL_LICENSE$
    **
    ****************************************************************************/

    #ifndef __FFMPEG_URISESSIONBUILDER_H
    #define __FFMPEG_URISESSIONBUILDER_H

    #include <qobject.h>
    #include <qmediasessionbuilder.h>

    class QMediaCodecPlugin;

    namespace ffmpeg
    {

    class Engine;
    class UriSessionBuilderPrivate;

    class UriSessionBuilder :
        public QObject,
        public QMediaSessionBuilder
    {
        Q_OBJECT

    public:
        UriSessionBuilder(Engine* engine);
        ~UriSessionBuilder();

        QString type() const;
        Attributes const& attributes() const;

        QMediaServerSession* createSession(QMediaSessionRequest sessionRequest);
        void destroySession(QMediaServerSession* serverSession);

    private:
        UriSessionBuilderPrivate* d;
    };

    } // ns ffmpeg

    #endif  // __FFMPEG_URISESSIONBUILDER_H


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3