Closed ArbabR closed 6 years ago
Hi @ArbabR,
that's the option when the AVURLAsset is init: https://developer.apple.com/documentation/avfoundation/avurlasset/1385698-init https://developer.apple.com/documentation/avfoundation/avurlasset/initialization_options
Hi @raphrel
Thanks understood that.
Hi @raphrel
I have changed the Swift version from the pods from 4 to Swift 4.2 and got 15 errors in the ModernAVPlayer as shown in attachment.
Hi,
As I mentioned in the readme, the library is not compatible yet for swift 4.2 If you need more information, ask me.
Raphaël
Hi @raphrel
Thanks for reply. Got it.
Hi,
After updating the pods ModernAVPlayerMedia is taking assetOptions dictionary in the constructor.
let media = ModernAVPlayerMedia(assetOptions: nil, url: liveUrl, type: .stream, isLive: true, metadata: nil)
Can you share what is assetOptions and how we can use it?
Thanks