DeviceProfile

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

The codec profiles.

Link copied to clipboard

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

Link copied to clipboard

The direct play profiles.

Link copied to clipboard
val id: UUID? = null

The unique internal identifier.

Link copied to clipboard
val maxStaticBitrate: Int? = null

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

Link copied to clipboard

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

Link copied to clipboard

The maximum allowed bitrate for all streamed content.

Link copied to clipboard

The maximum allowed bitrate for transcoded music streams.

Link copied to clipboard
val name: String? = null

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

Link copied to clipboard

The subtitle profiles.

Link copied to clipboard

The transcoding profiles.

Functions

Link copied to clipboard