Skip to content

Commit

Permalink
Fix bitrate not set for external player profile (#1073)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen authored May 17, 2023
1 parent 2758127 commit 1b640f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1b640f3

Please sign in to comment.