Skip to content

RTMP Playback gets stuck on ios after a minute or two and stops responding.

I'm using Xcode 11.3 and the Mobilevlckit version (3.3.9). The code I'm using to play RTMP stream is below. `let url = URL(string: "rtmp://(streamurl)/LiveApp/(String(describing: self.streamName ?? ""))") player.media = VLCMedia(url: url!) player.drawable = bgView // player.media.addOptions(["network-caching" : "300"]) player.delegate = self

    bgView.bringSubviewToFront(chatViewOut)
    bgView.bringSubviewToFront(profileView)
    player.play()`

Playback starts when player.play gets called but after few seconds it gets laggy and after a minute it gets stuck and doesn't change a frame. I've enabled disabled bit code, but there is no change. The device I'm running the code is the iPhone 11. Can you please check

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information