mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
format ordering adapted
- MP4 contains av1 encoded video which is not hardware accelerated. - MP4 format removed from AVPlayer Signed-off-by: Toni Förster <toni.foerster@gmail.com>
This commit is contained in:
@@ -122,7 +122,7 @@ final class AVPlayerBackend: PlayerBackend {
|
||||
}
|
||||
|
||||
func canPlay(_ stream: Stream) -> Bool {
|
||||
stream.kind == .hls || stream.kind == .stream || (stream.kind == .adaptive && stream.format == .mp4)
|
||||
stream.kind == .hls || stream.kind == .stream
|
||||
}
|
||||
|
||||
func playStream(
|
||||
|
Reference in New Issue
Block a user