mirror of
https://github.com/dirtydishes/dreamio.git
synced 2026-06-07 13:58:15 +00:00
fix native playback stream resolution
This commit is contained in:
parent
b15e4d640e
commit
d46004a98e
11 changed files with 588 additions and 16 deletions
|
|
@ -12,11 +12,17 @@ protocol NativePlaybackBackend: AnyObject {
|
|||
|
||||
enum NativePlaybackError: LocalizedError {
|
||||
case backendUnavailable
|
||||
case startupTimedOut
|
||||
case playbackFailed
|
||||
|
||||
var errorDescription: String? {
|
||||
switch self {
|
||||
case .backendUnavailable:
|
||||
return "Native playback is not available in this build."
|
||||
case .startupTimedOut:
|
||||
return "Native playback did not start before the timeout."
|
||||
case .playbackFailed:
|
||||
return "VLC reported a playback error for this stream."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue