kisoft Well-Known Member Licensed User Longtime User Dec 9, 2019 #1 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?
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 Dec 9, 2019 #2 i don't see where exoplayer supports the .rmf file format Upvote 0
ac9ts Active Member Licensed User Longtime User Dec 9, 2019 #3 This works. B4X: sources.Add(player1.CreateUriSource("https://rs9-krk2.rmfstream.pl/LADYPANK?listenerid=79bfea31323c2a40313c43859f3b7631")) Last edited: Dec 9, 2019 Upvote 0
This works. B4X: sources.Add(player1.CreateUriSource("https://rs9-krk2.rmfstream.pl/LADYPANK?listenerid=79bfea31323c2a40313c43859f3b7631"))
kisoft Well-Known Member Licensed User Longtime User Dec 9, 2019 #4 ac9ts said: This works. B4X: sources.Add(player1.CreateUriSource("https://rs9-krk2.rmfstream.pl/LADYPANK?listenerid=79bfea31323c2a40313c43859f3b7631")) Click to expand... 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: Dec 9, 2019 Upvote 0
ac9ts said: This works. B4X: sources.Add(player1.CreateUriSource("https://rs9-krk2.rmfstream.pl/LADYPANK?listenerid=79bfea31323c2a40313c43859f3b7631")) Click to expand... 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?
P Pendrush Well-Known Member Licensed User Longtime User Dec 10, 2019 #5 kisoft said: 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? Click to expand... Actually ExoPlayer is capable to extract that info, but I'm afraid that part is not wrapped for B4a. More info: https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/metadata/id3/package-summary.html Upvote 0
kisoft said: 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? Click to expand... Actually ExoPlayer is capable to extract that info, but I'm afraid that part is not wrapped for B4a. More info: https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/metadata/id3/package-summary.html