macOS VLCKit player size issue (VLCKit 3.3.16... 3.3.18b6)
When I play the video in macOS, it's size is override at first. it's size getting correct size only after resize the windows. what's the problem? Thank you.
let vlcPlayer: VLCMediaPlayer =
{
let player = VLCMediaPlayer()
return player
}()
if URL(string: url) != nil {
let streamURL = URL(string: url)!
let theMedia = VLCMedia(url: streamURL)
self.vlcPlayer.media = theMedia
}
self.vlcPlayer.drawable = self.player_view
self.vlcPlayer.delegate = self
self.vlcPlayer.play()
Edited by Cesare Forelli