Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RTMP URL after running? #22

Open
Chapoly1305 opened this issue Mar 8, 2019 · 7 comments
Open

Update RTMP URL after running? #22

Chapoly1305 opened this issue Mar 8, 2019 · 7 comments

Comments

@Chapoly1305
Copy link

I wonder if there was a chance to change the rtmp url address after run the program
is there a way use other rtmp address, not just the coded in address?

@AlexUrrutia
Copy link

Yes, just create a text input field that has the RTMP path and a button to connect/disconnect

@namespace7
Copy link

I wonder if there was a chance to change the rtmp url address after run the program
is there a way use other rtmp address, not just the coded in address?

Take user URL input in EditText and pass it to URL Variable !

@vit1967
Copy link

vit1967 commented Apr 5, 2019

Hepl me please^ How can write RTMP URL (what app/{stream-key} need?) for translate video from android (local ip1) to PC (local ip2) through WiFi (I can't connect to nginx-rtmp under Docker ) ?

@namespace7
Copy link

@vit1967
You should be more clear about the Issue! what're you trying to do? what you have done till now !

@vit1967
Copy link

vit1967 commented Apr 7, 2019

@vit1967
You should be more clear about the Issue! what're you trying to do? what you have done till now !

Im my case problem was successfully resolved by change...
private val url = BuildConfig.STREAMING_URL
to
private val url = "rtmp://192.168.1.51:1935/live/s" //BuildConfig.STREAMING_URL
in MainActivity.kt (192.168.1.51 =ip of my PC with nginx-docker)
Thanks for the good code)) But keep it simple ;)

@vit1967
Copy link

vit1967 commented Apr 7, 2019

At the same time the question: I would also, in addition to the video, transmit "to the other side, through the nginx", also any messages. Is this possible using only nginx (and Real-Time Messaging Protocol, and this library)? Or do I have to hang a separate chat server for this?

@namespace7
Copy link

namespace7 commented Apr 8, 2019

@vit1967
you can also receive the video using ffmpeg library . write a command which will keep listening to a port number and play whenever there is a incoming stream locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants