Android Question Help on project with exoplayer and rtmp

Enxix

Member
Hello everyone.
I have a problem with exoplayer and the format (RTMP) I have the following url address (rtmp://190.7.17.102/myapphd/mystreamHD) this address works with vcl player.
but it does NOT work with exoplayer (exoplayer version)
Method -> (CreateRtmpStreamingSource)

I have searched the forum and found solutions with old versions of exoplayer. Which I do not have such files to test.

The craziest thing is that I downloaded an application from the play store.
(App google play)
It is made in b4a but I don't know why the link works for the developer.
I would believe that you are using the old version of exoplayer by following this version exoplayer old

I appreciate your help in this in advance.

Who has a solution or the exoplayer files and the library. Thank you
 

JohnC

Expert
Licensed User
Longtime User
Two questions:

1) Will this app be for your own use and will not be posted in playstore?
2) Does the source of the stream send in other formats like HLS or TS?

-John
 
Upvote 0

Enxix

Member
Two questions:

1) Will this app be for your own use and will not be posted in playstore?
2) Does the source of the stream send in other formats like HLS or TS?

-John
Hello John.
1) If the application will be published in the play store.
2) No, the transmission format is rtmp. There is no other format...
 
Upvote 0

JohnC

Expert
Licensed User
Longtime User
Upvote 0

Enxix

Member
So, you have tried the solution in post #13 of the version exoplayer old?

What is the error message you get when using the newer version (exoplayer version)?
Hello, I couldn't check post #13 since I don't have version 2.5.3 of exoplayer and the new versions give me the following error
io.antmedia.rtmp_client.RtmpClient$RtmpIOException: RTMP error: -3

As I said in post #1, I downloaded that application that is developed in b4a and works, I was able to find out that it uses the old version of exoplayer.
With the new version it gives me an error.

I need to get the version of exoplayer 2.5.3 that I mentioned in post #1
 
Upvote 0

JohnC

Expert
Licensed User
Longtime User
Also, what makes you think that the app in the play store (App google play) was "made in B4A"?
 
Upvote 0

JohnC

Expert
Licensed User
Longtime User
I found this source of release versions, but it doesn't go back to 2.5.3:


Maybe try the 2.11.8 (the oldest on the above page) and see if it works.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Did you try to use the exoplayer? It is based on ExoPlayer 2.5.3 and also includes the rtmp extension.
 
Upvote 0

JohnC

Expert
Licensed User
Longtime User
Hello, sorry for the delay in answering. There is an application (Show Java) that decompiles the apk and can extract the code. that's why I'm sure it's made in b4a
Try contacting the developer using the contact into on the play store page for that app and maybe they would be willing to help you out because B4x members are good people.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Hello, that library is not in version 2.5.3. It started in that version but then it was updated
Even though it is updated, it still supports RTMP, did you try the example?
 
Upvote 0

Enxix

Member
Try contacting the developer using the contact into on the play store page for that app and maybe they would be willing to help you out because B4x members are good people.
Hello. If that was the first thing I did, I sent him an email, but he still hasn't answered it.
But I think with version 2.5.3 and the jars I have to add it's going to work.
I'm sorry I can't get the bookstore.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Hello. New versions don't work. And the link is correct. I keep it that way until the problem is fixed
You'd better post a small project for it
 
Upvote 0

Enxix

Member
You'd better post a small project for it
Hello, there is no need, you create a project, load Exoplayer, and load the link from post #1 (rtmp). an error is generated (#Post 1). After you download the app from the play store (#1), load the same link and it works.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
The exoplayer link I posted at post #8 is wrapped by Erel ,not the one at your post #1, it works fine for rtmp, I suggest you try the example (see post #13)
 
Upvote 0

Enxix

Member
The exoplayer link I posted at post #8 is wrapped by Erel ,not the one at your post #1, it works fine for rtmp, I suggest you try the example (see post #13)
Hi, first of all, thank you for helping me.
You've tried that library with the rtmp link I've published in post #1.
If you haven't. Please give it a try and you'll see that it doesn't work. The rtmp link still works
 
Upvote 0
Top