DeviceProfile

@Serializable
data class DeviceProfile(val name: String? = null, val id: UUID? = null, val maxStreamingBitrate: Int? = null, val maxStaticBitrate: Int? = null, val musicStreamingTranscodingBitrate: Int? = null, val maxStaticMusicBitrate: Int? = null, val directPlayProfiles: List<DirectPlayProfile>, val transcodingProfiles: List<TranscodingProfile>, val containerProfiles: List<ContainerProfile>, val codecProfiles: List<CodecProfile>, val subtitleProfiles: List<SubtitleProfile>)

A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.

Specifically, it defines the supported containers (P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles) and codecs (P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles) (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which containers/codecs to transcode to (P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles) in case it isn't.

Constructors

Link copied to clipboard
constructor(name: String? = null, id: UUID? = null, maxStreamingBitrate: Int? = null, maxStaticBitrate: Int? = null, musicStreamingTranscodingBitrate: Int? = null, maxStaticMusicBitrate: Int? = null, directPlayProfiles: List<DirectPlayProfile>, transcodingProfiles: List<TranscodingProfile>, containerProfiles: List<ContainerProfile>, codecProfiles: List<CodecProfile>, subtitleProfiles: List<SubtitleProfile>)

Properties

Link copied to clipboard
@SerialName(value = "CodecProfiles")
val codecProfiles: List<CodecProfile>

The codec profiles.

Link copied to clipboard
@SerialName(value = "ContainerProfiles")
val containerProfiles: List<ContainerProfile>

The container profiles. Failing to meet these optional conditions causes transcoding to occur.

Link copied to clipboard
@SerialName(value = "DirectPlayProfiles")
val directPlayProfiles: List<DirectPlayProfile>

The direct play profiles.

Link copied to clipboard
@SerialName(value = "Id")
val id: UUID?

The unique internal identifier.

Link copied to clipboard
@SerialName(value = "MaxStaticBitrate")
val maxStaticBitrate: Int?

The maximum allowed bitrate for statically streamed content (= direct played files).

Link copied to clipboard
@SerialName(value = "MaxStaticMusicBitrate")
val maxStaticMusicBitrate: Int?

The maximum allowed bitrate for statically streamed (= direct played) music files.

Link copied to clipboard
@SerialName(value = "MaxStreamingBitrate")
val maxStreamingBitrate: Int?

The maximum allowed bitrate for all streamed content.

Link copied to clipboard
@SerialName(value = "MusicStreamingTranscodingBitrate")
val musicStreamingTranscodingBitrate: Int?

The maximum allowed bitrate for transcoded music streams.

Link copied to clipboard
@SerialName(value = "Name")
val name: String?

The name of this device profile. User profiles must have a unique name.

Link copied to clipboard
@SerialName(value = "SubtitleProfiles")
val subtitleProfiles: List<SubtitleProfile>

The subtitle profiles.

Link copied to clipboard
@SerialName(value = "TranscodingProfiles")
val transcodingProfiles: List<TranscodingProfile>

The transcoding profiles.

Functions

Link copied to clipboard