Android Question ExoPlayer- error 404

kisoft

Well-Known Member
Licensed User
Longtime User
Hi
I test this player, the example works well, but when I try to load the stream address I get this message
B4X:
Error: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 404

I've tried many addresses with this code but there's always this error
B4X:
sources.Add(player1.CreateSmoothStreamingSource("https://rs9-krk2.rmfstream.pl/LADYPANK?listenerid=79bfea31323c2a40313c43859f3b7631"))

this link works on vlc, scramer radio.
https://rs10-krk1-orange.rmfstream.pl/LADYPANK?listenerid=79bfea31323c2a40313c43859f3b7631

And the whole thing looks like this.
https://rs10-krk1-orange.rmfstream....S&aw_0_1st.skey=1575912821&aw_0_req.gdpr=true

Can anyone give a clue?
 

drgottjr

Expert
Licensed User
Longtime User
i don't see where exoplayer supports the .rmf file format
 
Upvote 0

ac9ts

Active Member
Licensed User
Longtime User
This works.
B4X:
sources.Add(player1.CreateUriSource("https://rs9-krk2.rmfstream.pl/LADYPANK?listenerid=79bfea31323c2a40313c43859f3b7631"))
 
Last edited:
Upvote 0

kisoft

Well-Known Member
Licensed User
Longtime User
This works.
B4X:
sources.Add(player1.CreateUriSource("https://rs9-krk2.rmfstream.pl/LADYPANK?listenerid=79bfea31323c2a40313c43859f3b7631"))
Thank you, it's working.
This is the link to the Internet radio of the best Polish rock band Lady Pank.

I thought the player would show all other information such as station name, song name, etc.
Is there an example of how to show this?
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…