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

ffmpegplaybinsession.h Example File

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


    #include <QUrl>
    #include <QUuid>

    #include <QMediaServerSession>

    class QMediaDevice;

    namespace ffmpeg

    class Engine;
    class Message;
    class PlaybinSessionPrivate;

    class PlaybinSession : public QMediaServerSession

        PlaybinSession(Engine* engine, QUuid const& id, QUrl const& url,
                QMediaDevice* sink);

        bool isValid() const;

        void start();
        void pause();
        void stop();

        void suspend();
        void resume();

        void seek(quint32 ms);
        quint32 length();

        void setVolume(int volume);
        int volume() const;

        void setMuted(bool mute);
        bool isMuted() const;

        QtopiaMedia::State playerState() const;

        QString errorString();

        void setDomain(QString const& domain);
        QString domain() const;

        QStringList interfaces();

        QString id() const;
        QString reportData() const;

    private slots:
        void readFrame();

        void getStreamsInfo();
        void readySession();

        PlaybinSessionPrivate*  d;

    }   // ns ffmpeg


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3