analogcode / Swift-Radio-Pro

Professional Radio Station App for iOS!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NSErrorFailingURLStringKey

brdn opened this issue · comments

Hi, any idea ? url is working but player cant play it
NSErrorFailingURLStringKey=http://nashe1.hostingradio.ru/best-128.mp3

load failed with error Error Domain=NSURLErrorDomain Code=-999 "cancelled

i'm already using this solution, still have the same issue.

Hey @brdn, the link you provided is protected with a user and password, I'm getting this when I try to play the stream using Safari:

screen shot 2019-03-05 at 3 34 56 pm

If you have the credentials for the stream, try to use this URL format instead:

http://username:password@nashe1.hostingradio.ru/best-128.mp3

Hey @brdn, the link you provided is protected with a user and password, I'm getting this when I try to play the stream using Safari:

screen shot 2019-03-05 at 3 34 56 pm

If you have the credentials for the stream, try to use this URL format instead:

http://username:password@nashe1.hostingradio.ru/best-128.mp3

thats weird,
i try on mozilla & chrome and i dont get any problem, only on safari its asking username and password.

I checked the response header, and I found the media link is pointing to:

http://nashe1.hostingradio.ru/best-256

It's working with Safari and the app.

256k= more bandwith, but its a solution :)
Thank you