Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Not working with endless streams (radio streams) #8

Description

@satyres

Thanks for your work.
i've tried to get this to work with radio streams which are endless stream , but it did not work

override func viewDidLoad() {
         super.viewDidLoad()
       let filemgr = FileManager.default
       // let currentPath = filemgr.currentDirectoryPath
        let dirPaths = filemgr.urls(for: .documentDirectory, in: .userDomainMask)

        let docsDir = dirPaths[0].path
        print("docsDir = \(docsDir)")
       let url = URL(string: "http://mp3channels.webradio.antenne.de/oldies-but-goldies")!
        let player = PersistentStreamPlayer(remoteURL: url, localURL: dirPaths[0])
       player?.delegate = self
       
       player?.play()
       print("loaded")

     }

any hint please

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions