mirror of
https://github.com/jellyfin/jellyfin-android.git
synced 2026-10-26 16:45:26 +00:00
Fix bitrate not set for external player profile (#1073)
This commit is contained in:
1 parent
275812704d
commit
1b640f34fd
2 files changed
+2
No files matched your search
@@ -101,6 +101,7 @@ class ExternalPlayer(
|
||||
startTimeTicks = playOptions.startPositionTicks,
|
||||
audioStreamIndex = playOptions.audioStreamIndex,
|
||||
subtitleStreamIndex = playOptions.subtitleStreamIndex,
|
||||
maxStreamingBitrate = playOptions.maxBitrate,
|
||||
).onSuccess { jellyfinMediaSource ->
|
||||
playMediaSource(playOptions, jellyfinMediaSource)
|
||||
}.onFailure { error ->
|
||||
|
||||
@@ -203,6 +203,7 @@ class DeviceProfileBuilder(
|
||||
containerProfiles = emptyList(),
|
||||
codecProfiles = emptyList(),
|
||||
subtitleProfiles = getSubtitleProfiles(EXTERNAL_PLAYER_SUBTITLES, EXTERNAL_PLAYER_SUBTITLES),
|
||||
maxStreamingBitrate = MAX_STREAMING_BITRATE,
|
||||
|
||||
// TODO: remove redundant defaults after API/SDK is fixed
|
||||
timelineOffsetSeconds = 0,
|
||||
|
||||
Reference in new issue
Block a user