mirror of
https://github.com/dirtydishes/dreamio.git
synced 2026-06-06 13:37:24 +00:00
fix native playback cocoa pods build
This commit is contained in:
parent
6e220e6df9
commit
511224bcd4
9 changed files with 386 additions and 5 deletions
|
|
@ -5,6 +5,14 @@ import MobileVLCKit
|
|||
#endif
|
||||
|
||||
final class VLCNativePlaybackBackend: NSObject, NativePlaybackBackend {
|
||||
static var isAvailable: Bool {
|
||||
#if canImport(MobileVLCKit)
|
||||
true
|
||||
#else
|
||||
false
|
||||
#endif
|
||||
}
|
||||
|
||||
let view = UIView()
|
||||
var onReady: (() -> Void)?
|
||||
var onFailure: ((Error) -> Void)?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue