increase bit-rate ceiling
This commit is contained in:
parent
fce8b8d624
commit
5ad6b08a04
|
@ -18,18 +18,18 @@ extension BaseItemDto {
|
|||
|
||||
let builder = DeviceProfileBuilder()
|
||||
// TODO: fix bitrate settings
|
||||
builder.setMaxBitrate(bitrate: 60_000_000)
|
||||
builder.setMaxBitrate(bitrate: 120_000_000)
|
||||
let profile = builder.buildProfile()
|
||||
|
||||
let playbackInfo = PlaybackInfoDto(userId: SessionManager.main.currentLogin.user.id,
|
||||
maxStreamingBitrate: 60_000_000,
|
||||
maxStreamingBitrate: 120_000_000,
|
||||
startTimeTicks: self.userData?.playbackPositionTicks ?? 0,
|
||||
deviceProfile: profile,
|
||||
autoOpenLiveStream: true)
|
||||
|
||||
return MediaInfoAPI.getPostedPlaybackInfo(itemId: self.id!,
|
||||
userId: SessionManager.main.currentLogin.user.id,
|
||||
maxStreamingBitrate: 60_000_000,
|
||||
maxStreamingBitrate: 120_000_000,
|
||||
startTimeTicks: self.userData?.playbackPositionTicks ?? 0,
|
||||
autoOpenLiveStream: true,
|
||||
playbackInfoDto: playbackInfo)
|
||||
|
@ -67,6 +67,8 @@ extension BaseItemDto {
|
|||
}
|
||||
}
|
||||
|
||||
print(streamURL.url!)
|
||||
|
||||
// MARK: VidoPlayerViewModel Creation
|
||||
|
||||
var subtitle: String?
|
||||
|
|
|
@ -39,11 +39,11 @@ struct ParallaxHeaderScrollView<Header: View, StaticOverlayView: View, Content:
|
|||
.offset(y: yOffset)
|
||||
}
|
||||
.frame(height: headerHeight)
|
||||
|
||||
HStack {
|
||||
content()
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
|
||||
HStack {
|
||||
content()
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue