i have avplayer observe playbackbufferfull with:
player.currentitem!.addobserver(self, forkeypath: "playbackbufferfull", options: [.new, .initial], context: &playerviewcontrollerkvocontext) observevalueforkeypath called , have following code
if keypath == "playbackbufferfull" { print("\(player.currentitem?.playbackbufferfull)") } which prints optional(false).
why property still false? shouldn't true? why seeing behaviour?
Comments
Post a Comment