Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <openlivestreamdto.h>
Public Member Functions | |
OpenLiveStreamDto (QSharedPointer< DeviceProfile > deviceProfile) | |
OpenLiveStreamDto (const OpenLiveStreamDto &other) | |
void | replaceData (OpenLiveStreamDto &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
QString | openToken () const |
Gets or sets the open token. | |
void | setOpenToken (QString newOpenToken) |
Gets or sets the open token. | |
bool | openTokenNull () const |
void | setOpenTokenNull () |
QString | userId () const |
Gets or sets the user id. | |
void | setUserId (QString newUserId) |
Gets or sets the user id. | |
bool | userIdNull () const |
void | setUserIdNull () |
QString | playSessionId () const |
Gets or sets the play session id. | |
void | setPlaySessionId (QString newPlaySessionId) |
Gets or sets the play session id. | |
bool | playSessionIdNull () const |
void | setPlaySessionIdNull () |
std::optional< qint32 > | maxStreamingBitrate () const |
Gets or sets the max streaming bitrate. | |
void | setMaxStreamingBitrate (std::optional< qint32 > newMaxStreamingBitrate) |
Gets or sets the max streaming bitrate. | |
bool | maxStreamingBitrateNull () const |
void | setMaxStreamingBitrateNull () |
std::optional< qint64 > | startTimeTicks () const |
Gets or sets the start time in ticks. | |
void | setStartTimeTicks (std::optional< qint64 > newStartTimeTicks) |
Gets or sets the start time in ticks. | |
bool | startTimeTicksNull () const |
void | setStartTimeTicksNull () |
std::optional< qint32 > | audioStreamIndex () const |
Gets or sets the audio stream index. | |
void | setAudioStreamIndex (std::optional< qint32 > newAudioStreamIndex) |
Gets or sets the audio stream index. | |
bool | audioStreamIndexNull () const |
void | setAudioStreamIndexNull () |
std::optional< qint32 > | subtitleStreamIndex () const |
Gets or sets the subtitle stream index. | |
void | setSubtitleStreamIndex (std::optional< qint32 > newSubtitleStreamIndex) |
Gets or sets the subtitle stream index. | |
bool | subtitleStreamIndexNull () const |
void | setSubtitleStreamIndexNull () |
std::optional< qint32 > | maxAudioChannels () const |
Gets or sets the max audio channels. | |
void | setMaxAudioChannels (std::optional< qint32 > newMaxAudioChannels) |
Gets or sets the max audio channels. | |
bool | maxAudioChannelsNull () const |
void | setMaxAudioChannelsNull () |
QString | itemId () const |
Gets or sets the item id. | |
void | setItemId (QString newItemId) |
Gets or sets the item id. | |
bool | itemIdNull () const |
void | setItemIdNull () |
std::optional< bool > | enableDirectPlay () const |
Gets or sets a value indicating whether to enable direct play. | |
void | setEnableDirectPlay (std::optional< bool > newEnableDirectPlay) |
Gets or sets a value indicating whether to enable direct play. | |
bool | enableDirectPlayNull () const |
void | setEnableDirectPlayNull () |
std::optional< bool > | enableDirectStream () const |
Gets or sets a value indicating whether to enale direct stream. | |
void | setEnableDirectStream (std::optional< bool > newEnableDirectStream) |
Gets or sets a value indicating whether to enale direct stream. | |
bool | enableDirectStreamNull () const |
void | setEnableDirectStreamNull () |
QSharedPointer< DeviceProfile > | deviceProfile () const |
void | setDeviceProfile (QSharedPointer< DeviceProfile > newDeviceProfile) |
QList< MediaProtocol > | directPlayProtocols () const |
Gets or sets the device play protocols. | |
void | setDirectPlayProtocols (QList< MediaProtocol > newDirectPlayProtocols) |
Gets or sets the device play protocols. | |
bool | directPlayProtocolsNull () const |
void | setDirectPlayProtocolsNull () |
Static Public Member Functions | |
static OpenLiveStreamDto | fromJson (QJsonObject source) |
Protected Attributes | |
QString | m_openToken |
QString | m_userId |
QString | m_playSessionId |
std::optional< qint32 > | m_maxStreamingBitrate = std::nullopt |
std::optional< qint64 > | m_startTimeTicks = std::nullopt |
std::optional< qint32 > | m_audioStreamIndex = std::nullopt |
std::optional< qint32 > | m_subtitleStreamIndex = std::nullopt |
std::optional< qint32 > | m_maxAudioChannels = std::nullopt |
QString | m_itemId |
std::optional< bool > | m_enableDirectPlay = std::nullopt |
std::optional< bool > | m_enableDirectStream = std::nullopt |
QSharedPointer< DeviceProfile > | m_deviceProfile = QSharedPointer<DeviceProfile>() |
QList< MediaProtocol > | m_directPlayProtocols |
Jellyfin::DTO::OpenLiveStreamDto::OpenLiveStreamDto | ( | QSharedPointer< DeviceProfile > | deviceProfile | ) |
Jellyfin::DTO::OpenLiveStreamDto::OpenLiveStreamDto | ( | const OpenLiveStreamDto & | other | ) |
std::optional< qint32 > Jellyfin::DTO::OpenLiveStreamDto::audioStreamIndex | ( | ) | const |
Gets or sets the audio stream index.
bool Jellyfin::DTO::OpenLiveStreamDto::audioStreamIndexNull | ( | ) | const |
QSharedPointer< DeviceProfile > Jellyfin::DTO::OpenLiveStreamDto::deviceProfile | ( | ) | const |
QList< MediaProtocol > Jellyfin::DTO::OpenLiveStreamDto::directPlayProtocols | ( | ) | const |
Gets or sets the device play protocols.
bool Jellyfin::DTO::OpenLiveStreamDto::directPlayProtocolsNull | ( | ) | const |
std::optional< bool > Jellyfin::DTO::OpenLiveStreamDto::enableDirectPlay | ( | ) | const |
Gets or sets a value indicating whether to enable direct play.
bool Jellyfin::DTO::OpenLiveStreamDto::enableDirectPlayNull | ( | ) | const |
std::optional< bool > Jellyfin::DTO::OpenLiveStreamDto::enableDirectStream | ( | ) | const |
Gets or sets a value indicating whether to enale direct stream.
bool Jellyfin::DTO::OpenLiveStreamDto::enableDirectStreamNull | ( | ) | const |
|
static |
QString Jellyfin::DTO::OpenLiveStreamDto::itemId | ( | ) | const |
Gets or sets the item id.
bool Jellyfin::DTO::OpenLiveStreamDto::itemIdNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::OpenLiveStreamDto::maxAudioChannels | ( | ) | const |
Gets or sets the max audio channels.
bool Jellyfin::DTO::OpenLiveStreamDto::maxAudioChannelsNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::OpenLiveStreamDto::maxStreamingBitrate | ( | ) | const |
Gets or sets the max streaming bitrate.
bool Jellyfin::DTO::OpenLiveStreamDto::maxStreamingBitrateNull | ( | ) | const |
QString Jellyfin::DTO::OpenLiveStreamDto::openToken | ( | ) | const |
Gets or sets the open token.
bool Jellyfin::DTO::OpenLiveStreamDto::openTokenNull | ( | ) | const |
QString Jellyfin::DTO::OpenLiveStreamDto::playSessionId | ( | ) | const |
Gets or sets the play session id.
bool Jellyfin::DTO::OpenLiveStreamDto::playSessionIdNull | ( | ) | const |
void Jellyfin::DTO::OpenLiveStreamDto::replaceData | ( | OpenLiveStreamDto & | other | ) |
Replaces the data being hold by this class with that of the other.
void Jellyfin::DTO::OpenLiveStreamDto::setAudioStreamIndex | ( | std::optional< qint32 > | newAudioStreamIndex | ) |
Gets or sets the audio stream index.
void Jellyfin::DTO::OpenLiveStreamDto::setAudioStreamIndexNull | ( | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setDeviceProfile | ( | QSharedPointer< DeviceProfile > | newDeviceProfile | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setDirectPlayProtocols | ( | QList< MediaProtocol > | newDirectPlayProtocols | ) |
Gets or sets the device play protocols.
void Jellyfin::DTO::OpenLiveStreamDto::setDirectPlayProtocolsNull | ( | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setEnableDirectPlay | ( | std::optional< bool > | newEnableDirectPlay | ) |
Gets or sets a value indicating whether to enable direct play.
void Jellyfin::DTO::OpenLiveStreamDto::setEnableDirectPlayNull | ( | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setEnableDirectStream | ( | std::optional< bool > | newEnableDirectStream | ) |
Gets or sets a value indicating whether to enale direct stream.
void Jellyfin::DTO::OpenLiveStreamDto::setEnableDirectStreamNull | ( | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setItemId | ( | QString | newItemId | ) |
Gets or sets the item id.
void Jellyfin::DTO::OpenLiveStreamDto::setItemIdNull | ( | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setMaxAudioChannels | ( | std::optional< qint32 > | newMaxAudioChannels | ) |
Gets or sets the max audio channels.
void Jellyfin::DTO::OpenLiveStreamDto::setMaxAudioChannelsNull | ( | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setMaxStreamingBitrate | ( | std::optional< qint32 > | newMaxStreamingBitrate | ) |
Gets or sets the max streaming bitrate.
void Jellyfin::DTO::OpenLiveStreamDto::setMaxStreamingBitrateNull | ( | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setOpenToken | ( | QString | newOpenToken | ) |
Gets or sets the open token.
void Jellyfin::DTO::OpenLiveStreamDto::setOpenTokenNull | ( | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setPlaySessionId | ( | QString | newPlaySessionId | ) |
Gets or sets the play session id.
void Jellyfin::DTO::OpenLiveStreamDto::setPlaySessionIdNull | ( | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setStartTimeTicks | ( | std::optional< qint64 > | newStartTimeTicks | ) |
Gets or sets the start time in ticks.
void Jellyfin::DTO::OpenLiveStreamDto::setStartTimeTicksNull | ( | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setSubtitleStreamIndex | ( | std::optional< qint32 > | newSubtitleStreamIndex | ) |
Gets or sets the subtitle stream index.
void Jellyfin::DTO::OpenLiveStreamDto::setSubtitleStreamIndexNull | ( | ) |
void Jellyfin::DTO::OpenLiveStreamDto::setUserId | ( | QString | newUserId | ) |
Gets or sets the user id.
void Jellyfin::DTO::OpenLiveStreamDto::setUserIdNull | ( | ) |
std::optional< qint64 > Jellyfin::DTO::OpenLiveStreamDto::startTimeTicks | ( | ) | const |
Gets or sets the start time in ticks.
bool Jellyfin::DTO::OpenLiveStreamDto::startTimeTicksNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::OpenLiveStreamDto::subtitleStreamIndex | ( | ) | const |
Gets or sets the subtitle stream index.
bool Jellyfin::DTO::OpenLiveStreamDto::subtitleStreamIndexNull | ( | ) | const |
QJsonObject Jellyfin::DTO::OpenLiveStreamDto::toJson | ( | ) | const |
QString Jellyfin::DTO::OpenLiveStreamDto::userId | ( | ) | const |
Gets or sets the user id.
bool Jellyfin::DTO::OpenLiveStreamDto::userIdNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |