Https streams on ios app

I everyone thanks for the quick response , i have problem in building a streaming a live persistence streaming on my app . after all i did it was not responsive att all on the play button can some please help me .
import AVKit
import AVFoundation
import UIKit

class ViewController: UIViewController {

override func viewDidLoad() {
    super.viewDidLoad()

}

override func viewDidAppear(_ animated: Bool) {
    super.viewDidAppear(animated)

    let player = AVPlayer(url: URL(fileURLWithPath: Bundle.main.path(forResource: "faithgiantstv-hls.secdn.net/faithgiantstv-channel/play/sdcd84.smil/playlist.m3u8", ofType: "m3u8")!))
    let layer = AVPlayerLayer(player: player)
    layer.frame = view.bounds
    layer.videoGravity = .resizeAspectFill
    view.layer.addSublayer(layer)
    player.volume = 0
    player.play()

// let vc = AVPlayerViewController()
// vc.player = player
// present(vc, animated: true)
}
i did link it so if you didnt see it its beacuse

You might need a different player for this… Avplayer is usually just for whole or static video playback