Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::OpenLiveStreamDto Class Reference

#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< DeviceProfiledeviceProfile () const
 
void setDeviceProfile (QSharedPointer< DeviceProfile > newDeviceProfile)
 
QList< MediaProtocoldirectPlayProtocols () 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< DeviceProfilem_deviceProfile = QSharedPointer<DeviceProfile>()
 
QList< MediaProtocolm_directPlayProtocols
 

Constructor & Destructor Documentation

◆ OpenLiveStreamDto() [1/2]

Jellyfin::DTO::OpenLiveStreamDto::OpenLiveStreamDto ( QSharedPointer< DeviceProfile > deviceProfile)

◆ OpenLiveStreamDto() [2/2]

Jellyfin::DTO::OpenLiveStreamDto::OpenLiveStreamDto ( const OpenLiveStreamDto & other)

Member Function Documentation

◆ audioStreamIndex()

std::optional< qint32 > Jellyfin::DTO::OpenLiveStreamDto::audioStreamIndex ( ) const

Gets or sets the audio stream index.

◆ audioStreamIndexNull()

bool Jellyfin::DTO::OpenLiveStreamDto::audioStreamIndexNull ( ) const

◆ deviceProfile()

QSharedPointer< DeviceProfile > Jellyfin::DTO::OpenLiveStreamDto::deviceProfile ( ) const

◆ directPlayProtocols()

QList< MediaProtocol > Jellyfin::DTO::OpenLiveStreamDto::directPlayProtocols ( ) const

Gets or sets the device play protocols.

◆ directPlayProtocolsNull()

bool Jellyfin::DTO::OpenLiveStreamDto::directPlayProtocolsNull ( ) const

◆ enableDirectPlay()

std::optional< bool > Jellyfin::DTO::OpenLiveStreamDto::enableDirectPlay ( ) const

Gets or sets a value indicating whether to enable direct play.

◆ enableDirectPlayNull()

bool Jellyfin::DTO::OpenLiveStreamDto::enableDirectPlayNull ( ) const

◆ enableDirectStream()

std::optional< bool > Jellyfin::DTO::OpenLiveStreamDto::enableDirectStream ( ) const

Gets or sets a value indicating whether to enale direct stream.

◆ enableDirectStreamNull()

bool Jellyfin::DTO::OpenLiveStreamDto::enableDirectStreamNull ( ) const

◆ fromJson()

OpenLiveStreamDto Jellyfin::DTO::OpenLiveStreamDto::fromJson ( QJsonObject source)
static

◆ itemId()

QString Jellyfin::DTO::OpenLiveStreamDto::itemId ( ) const

Gets or sets the item id.

◆ itemIdNull()

bool Jellyfin::DTO::OpenLiveStreamDto::itemIdNull ( ) const

◆ maxAudioChannels()

std::optional< qint32 > Jellyfin::DTO::OpenLiveStreamDto::maxAudioChannels ( ) const

Gets or sets the max audio channels.

◆ maxAudioChannelsNull()

bool Jellyfin::DTO::OpenLiveStreamDto::maxAudioChannelsNull ( ) const

◆ maxStreamingBitrate()

std::optional< qint32 > Jellyfin::DTO::OpenLiveStreamDto::maxStreamingBitrate ( ) const

Gets or sets the max streaming bitrate.

◆ maxStreamingBitrateNull()

bool Jellyfin::DTO::OpenLiveStreamDto::maxStreamingBitrateNull ( ) const

◆ openToken()

QString Jellyfin::DTO::OpenLiveStreamDto::openToken ( ) const

Gets or sets the open token.

◆ openTokenNull()

bool Jellyfin::DTO::OpenLiveStreamDto::openTokenNull ( ) const

◆ playSessionId()

QString Jellyfin::DTO::OpenLiveStreamDto::playSessionId ( ) const

Gets or sets the play session id.

◆ playSessionIdNull()

bool Jellyfin::DTO::OpenLiveStreamDto::playSessionIdNull ( ) const

◆ replaceData()

void Jellyfin::DTO::OpenLiveStreamDto::replaceData ( OpenLiveStreamDto & other)

Replaces the data being hold by this class with that of the other.

◆ setAudioStreamIndex()

void Jellyfin::DTO::OpenLiveStreamDto::setAudioStreamIndex ( std::optional< qint32 > newAudioStreamIndex)

Gets or sets the audio stream index.

◆ setAudioStreamIndexNull()

void Jellyfin::DTO::OpenLiveStreamDto::setAudioStreamIndexNull ( )

◆ setDeviceProfile()

void Jellyfin::DTO::OpenLiveStreamDto::setDeviceProfile ( QSharedPointer< DeviceProfile > newDeviceProfile)

◆ setDirectPlayProtocols()

void Jellyfin::DTO::OpenLiveStreamDto::setDirectPlayProtocols ( QList< MediaProtocol > newDirectPlayProtocols)

Gets or sets the device play protocols.

◆ setDirectPlayProtocolsNull()

void Jellyfin::DTO::OpenLiveStreamDto::setDirectPlayProtocolsNull ( )

◆ setEnableDirectPlay()

void Jellyfin::DTO::OpenLiveStreamDto::setEnableDirectPlay ( std::optional< bool > newEnableDirectPlay)

Gets or sets a value indicating whether to enable direct play.

◆ setEnableDirectPlayNull()

void Jellyfin::DTO::OpenLiveStreamDto::setEnableDirectPlayNull ( )

◆ setEnableDirectStream()

void Jellyfin::DTO::OpenLiveStreamDto::setEnableDirectStream ( std::optional< bool > newEnableDirectStream)

Gets or sets a value indicating whether to enale direct stream.

◆ setEnableDirectStreamNull()

void Jellyfin::DTO::OpenLiveStreamDto::setEnableDirectStreamNull ( )

◆ setFromJson()

void Jellyfin::DTO::OpenLiveStreamDto::setFromJson ( QJsonObject source)

◆ setItemId()

void Jellyfin::DTO::OpenLiveStreamDto::setItemId ( QString newItemId)

Gets or sets the item id.

◆ setItemIdNull()

void Jellyfin::DTO::OpenLiveStreamDto::setItemIdNull ( )

◆ setMaxAudioChannels()

void Jellyfin::DTO::OpenLiveStreamDto::setMaxAudioChannels ( std::optional< qint32 > newMaxAudioChannels)

Gets or sets the max audio channels.

◆ setMaxAudioChannelsNull()

void Jellyfin::DTO::OpenLiveStreamDto::setMaxAudioChannelsNull ( )

◆ setMaxStreamingBitrate()

void Jellyfin::DTO::OpenLiveStreamDto::setMaxStreamingBitrate ( std::optional< qint32 > newMaxStreamingBitrate)

Gets or sets the max streaming bitrate.

◆ setMaxStreamingBitrateNull()

void Jellyfin::DTO::OpenLiveStreamDto::setMaxStreamingBitrateNull ( )

◆ setOpenToken()

void Jellyfin::DTO::OpenLiveStreamDto::setOpenToken ( QString newOpenToken)

Gets or sets the open token.

◆ setOpenTokenNull()

void Jellyfin::DTO::OpenLiveStreamDto::setOpenTokenNull ( )

◆ setPlaySessionId()

void Jellyfin::DTO::OpenLiveStreamDto::setPlaySessionId ( QString newPlaySessionId)

Gets or sets the play session id.

◆ setPlaySessionIdNull()

void Jellyfin::DTO::OpenLiveStreamDto::setPlaySessionIdNull ( )

◆ setStartTimeTicks()

void Jellyfin::DTO::OpenLiveStreamDto::setStartTimeTicks ( std::optional< qint64 > newStartTimeTicks)

Gets or sets the start time in ticks.

◆ setStartTimeTicksNull()

void Jellyfin::DTO::OpenLiveStreamDto::setStartTimeTicksNull ( )

◆ setSubtitleStreamIndex()

void Jellyfin::DTO::OpenLiveStreamDto::setSubtitleStreamIndex ( std::optional< qint32 > newSubtitleStreamIndex)

Gets or sets the subtitle stream index.

◆ setSubtitleStreamIndexNull()

void Jellyfin::DTO::OpenLiveStreamDto::setSubtitleStreamIndexNull ( )

◆ setUserId()

void Jellyfin::DTO::OpenLiveStreamDto::setUserId ( QString newUserId)

Gets or sets the user id.

◆ setUserIdNull()

void Jellyfin::DTO::OpenLiveStreamDto::setUserIdNull ( )

◆ startTimeTicks()

std::optional< qint64 > Jellyfin::DTO::OpenLiveStreamDto::startTimeTicks ( ) const

Gets or sets the start time in ticks.

◆ startTimeTicksNull()

bool Jellyfin::DTO::OpenLiveStreamDto::startTimeTicksNull ( ) const

◆ subtitleStreamIndex()

std::optional< qint32 > Jellyfin::DTO::OpenLiveStreamDto::subtitleStreamIndex ( ) const

Gets or sets the subtitle stream index.

◆ subtitleStreamIndexNull()

bool Jellyfin::DTO::OpenLiveStreamDto::subtitleStreamIndexNull ( ) const

◆ toJson()

QJsonObject Jellyfin::DTO::OpenLiveStreamDto::toJson ( ) const

◆ userId()

QString Jellyfin::DTO::OpenLiveStreamDto::userId ( ) const

Gets or sets the user id.

◆ userIdNull()

bool Jellyfin::DTO::OpenLiveStreamDto::userIdNull ( ) const

Member Data Documentation

◆ m_audioStreamIndex

std::optional<qint32> Jellyfin::DTO::OpenLiveStreamDto::m_audioStreamIndex = std::nullopt
protected

◆ m_deviceProfile

QSharedPointer<DeviceProfile> Jellyfin::DTO::OpenLiveStreamDto::m_deviceProfile = QSharedPointer<DeviceProfile>()
protected

◆ m_directPlayProtocols

QList<MediaProtocol> Jellyfin::DTO::OpenLiveStreamDto::m_directPlayProtocols
protected

◆ m_enableDirectPlay

std::optional<bool> Jellyfin::DTO::OpenLiveStreamDto::m_enableDirectPlay = std::nullopt
protected

◆ m_enableDirectStream

std::optional<bool> Jellyfin::DTO::OpenLiveStreamDto::m_enableDirectStream = std::nullopt
protected

◆ m_itemId

QString Jellyfin::DTO::OpenLiveStreamDto::m_itemId
protected

◆ m_maxAudioChannels

std::optional<qint32> Jellyfin::DTO::OpenLiveStreamDto::m_maxAudioChannels = std::nullopt
protected

◆ m_maxStreamingBitrate

std::optional<qint32> Jellyfin::DTO::OpenLiveStreamDto::m_maxStreamingBitrate = std::nullopt
protected

◆ m_openToken

QString Jellyfin::DTO::OpenLiveStreamDto::m_openToken
protected

◆ m_playSessionId

QString Jellyfin::DTO::OpenLiveStreamDto::m_playSessionId
protected

◆ m_startTimeTicks

std::optional<qint64> Jellyfin::DTO::OpenLiveStreamDto::m_startTimeTicks = std::nullopt
protected

◆ m_subtitleStreamIndex

std::optional<qint32> Jellyfin::DTO::OpenLiveStreamDto::m_subtitleStreamIndex = std::nullopt
protected

◆ m_userId

QString Jellyfin::DTO::OpenLiveStreamDto::m_userId
protected

The documentation for this class was generated from the following files: