30#ifndef JELLYFIN_DTO_OPENLIVESTREAMDTO_H
31#define JELLYFIN_DTO_OPENLIVESTREAMDTO_H
36#include <QSharedPointer>
68 QJsonObject
toJson()
const;
Definition openlivestreamdto.h:53
QString m_userId
Definition openlivestreamdto.h:211
bool subtitleStreamIndexNull() const
Definition openlivestreamdto.cpp:250
void setPlaySessionIdNull()
Definition openlivestreamdto.cpp:202
void setUserIdNull()
Definition openlivestreamdto.cpp:189
bool audioStreamIndexNull() const
Definition openlivestreamdto.cpp:237
void setMaxAudioChannelsNull()
Definition openlivestreamdto.cpp:267
void setMaxStreamingBitrate(std::optional< qint32 > newMaxStreamingBitrate)
Gets or sets the max streaming bitrate.
Definition openlivestreamdto.cpp:208
std::optional< qint32 > m_maxAudioChannels
Definition openlivestreamdto.h:217
std::optional< qint32 > m_maxStreamingBitrate
Definition openlivestreamdto.h:213
std::optional< qint32 > maxStreamingBitrate() const
Gets or sets the max streaming bitrate.
Definition openlivestreamdto.cpp:206
bool enableDirectStreamNull() const
Definition openlivestreamdto.cpp:302
QSharedPointer< DeviceProfile > deviceProfile() const
Definition openlivestreamdto.cpp:310
bool maxStreamingBitrateNull() const
Definition openlivestreamdto.cpp:211
void setSubtitleStreamIndexNull()
Definition openlivestreamdto.cpp:254
void setEnableDirectStreamNull()
Definition openlivestreamdto.cpp:306
bool playSessionIdNull() const
Definition openlivestreamdto.cpp:198
QSharedPointer< DeviceProfile > m_deviceProfile
Definition openlivestreamdto.h:221
std::optional< bool > m_enableDirectStream
Definition openlivestreamdto.h:220
std::optional< qint32 > m_audioStreamIndex
Definition openlivestreamdto.h:215
std::optional< qint64 > startTimeTicks() const
Gets or sets the start time in ticks.
Definition openlivestreamdto.cpp:219
std::optional< qint32 > m_subtitleStreamIndex
Definition openlivestreamdto.h:216
std::optional< bool > m_enableDirectPlay
Definition openlivestreamdto.h:219
QString m_openToken
Definition openlivestreamdto.h:210
QString itemId() const
Gets or sets the item id.
Definition openlivestreamdto.cpp:271
bool startTimeTicksNull() const
Definition openlivestreamdto.cpp:224
void setDirectPlayProtocolsNull()
Definition openlivestreamdto.cpp:325
void setStartTimeTicks(std::optional< qint64 > newStartTimeTicks)
Gets or sets the start time in ticks.
Definition openlivestreamdto.cpp:221
QString openToken() const
Gets or sets the open token.
Definition openlivestreamdto.cpp:167
QString playSessionId() const
Gets or sets the play session id.
Definition openlivestreamdto.cpp:193
void setEnableDirectStream(std::optional< bool > newEnableDirectStream)
Gets or sets a value indicating whether to enale direct stream.
Definition openlivestreamdto.cpp:299
void setDirectPlayProtocols(QList< MediaProtocol > newDirectPlayProtocols)
Gets or sets the device play protocols.
Definition openlivestreamdto.cpp:318
void setItemId(QString newItemId)
Gets or sets the item id.
Definition openlivestreamdto.cpp:273
void setMaxAudioChannels(std::optional< qint32 > newMaxAudioChannels)
Gets or sets the max audio channels.
Definition openlivestreamdto.cpp:260
void setMaxStreamingBitrateNull()
Definition openlivestreamdto.cpp:215
void setItemIdNull()
Definition openlivestreamdto.cpp:280
bool enableDirectPlayNull() const
Definition openlivestreamdto.cpp:289
QList< MediaProtocol > m_directPlayProtocols
Definition openlivestreamdto.h:222
QList< MediaProtocol > directPlayProtocols() const
Gets or sets the device play protocols.
Definition openlivestreamdto.cpp:316
std::optional< qint32 > maxAudioChannels() const
Gets or sets the max audio channels.
Definition openlivestreamdto.cpp:258
void setAudioStreamIndex(std::optional< qint32 > newAudioStreamIndex)
Gets or sets the audio stream index.
Definition openlivestreamdto.cpp:234
QString userId() const
Gets or sets the user id.
Definition openlivestreamdto.cpp:180
void setEnableDirectPlayNull()
Definition openlivestreamdto.cpp:293
void setDeviceProfile(QSharedPointer< DeviceProfile > newDeviceProfile)
Definition openlivestreamdto.cpp:312
std::optional< qint64 > m_startTimeTicks
Definition openlivestreamdto.h:214
void setAudioStreamIndexNull()
Definition openlivestreamdto.cpp:241
bool directPlayProtocolsNull() const
Definition openlivestreamdto.cpp:321
std::optional< qint32 > subtitleStreamIndex() const
Gets or sets the subtitle stream index.
Definition openlivestreamdto.cpp:245
std::optional< bool > enableDirectStream() const
Gets or sets a value indicating whether to enale direct stream.
Definition openlivestreamdto.cpp:297
void setEnableDirectPlay(std::optional< bool > newEnableDirectPlay)
Gets or sets a value indicating whether to enable direct play.
Definition openlivestreamdto.cpp:286
bool userIdNull() const
Definition openlivestreamdto.cpp:185
void setSubtitleStreamIndex(std::optional< qint32 > newSubtitleStreamIndex)
Gets or sets the subtitle stream index.
Definition openlivestreamdto.cpp:247
std::optional< bool > enableDirectPlay() const
Gets or sets a value indicating whether to enable direct play.
Definition openlivestreamdto.cpp:284
void setOpenToken(QString newOpenToken)
Gets or sets the open token.
Definition openlivestreamdto.cpp:169
void setUserId(QString newUserId)
Gets or sets the user id.
Definition openlivestreamdto.cpp:182
void setFromJson(QJsonObject source)
Definition openlivestreamdto.cpp:83
void setStartTimeTicksNull()
Definition openlivestreamdto.cpp:228
bool maxAudioChannelsNull() const
Definition openlivestreamdto.cpp:263
void setPlaySessionId(QString newPlaySessionId)
Gets or sets the play session id.
Definition openlivestreamdto.cpp:195
QString m_playSessionId
Definition openlivestreamdto.h:212
QJsonObject toJson() const
Definition openlivestreamdto.cpp:100
static OpenLiveStreamDto fromJson(QJsonObject source)
Definition openlivestreamdto.cpp:76
void replaceData(OpenLiveStreamDto &other)
Definition openlivestreamdto.cpp:60
QString m_itemId
Definition openlivestreamdto.h:218
bool openTokenNull() const
Definition openlivestreamdto.cpp:172
bool itemIdNull() const
Definition openlivestreamdto.cpp:276
std::optional< qint32 > audioStreamIndex() const
Gets or sets the audio stream index.
Definition openlivestreamdto.cpp:232
void setOpenTokenNull()
Definition openlivestreamdto.cpp:176
Definition mediaplayer2.h:20
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45