19#ifndef LOMIRI_MEDIAHUB_PLAYER_H
20#define LOMIRI_MEDIAHUB_PLAYER_H
25#include <QScopedPointer>
92 Q_ENUM(PlaybackStatus)
112 Q_ENUM(AudioStreamRole)
128 QString uuid()
const;
140 VideoSink &createGLTextureVideoSink(uint32_t textureId);
142 void openUri(
const QUrl &uri,
const Headers &headers = {});
148 void seekTo(uint64_t microseconds);
153 bool canPlay()
const;
154 bool canPause()
const;
155 bool canSeek()
const;
156 bool canGoPrevious()
const;
157 bool canGoNext()
const;
159 bool isVideoSource()
const;
160 bool isAudioSource()
const;
162 PlaybackStatus playbackStatus()
const;
163 void setPlaybackRate(PlaybackRate rate);
164 PlaybackRate playbackRate()
const;
165 void setShuffle(
bool shuffle);
166 bool shuffle()
const;
167 void setVolume(Volume volume);
168 Volume volume()
const;
197 void seekedTo(quint64 microseconds);
209 QScopedPointer<PlayerPrivate> d_ptr;