mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-09-20 22:38:23 +00:00
34 lines
605 B
C
34 lines
605 B
C
|
#ifndef JELLYFIN_DEVICE_PROFILE_H
|
||
|
#define JELLYFIN_DEVICE_PROFILE_H
|
||
|
|
||
|
#include <QJsonArray>
|
||
|
#include <QJsonObject>
|
||
|
#include <QJsonValue>
|
||
|
#include <QList>
|
||
|
#include <QMap>
|
||
|
#include <QString>
|
||
|
#include <QSysInfo>
|
||
|
|
||
|
#include <QtMultimedia/QMediaPlayer>
|
||
|
|
||
|
namespace Jellyfin {
|
||
|
namespace DeviceProfile {
|
||
|
QJsonObject generateProfile();
|
||
|
// Transport
|
||
|
bool supportsHls();
|
||
|
|
||
|
// Bitrate
|
||
|
int maxStreamingBitrate();
|
||
|
|
||
|
// Video codecs
|
||
|
bool canPlayH264();
|
||
|
bool canPlayH265();
|
||
|
|
||
|
// Audio codecs
|
||
|
bool canPlayAc3();
|
||
|
bool supportsMp3VideoAudio();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif // JELLYFIN_DEVICE_PROFILE_H
|