RtmpPublisher icon indicating copy to clipboard operation
RtmpPublisher copied to clipboard

Update RTMP URL after running?

Open Chapoly1305 opened this issue 6 years ago • 7 comments

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?

Chapoly1305 avatar Mar 08 '19 01:03 Chapoly1305

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

AlexUrrutia avatar Mar 08 '19 01:03 AlexUrrutia

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 !

namespace7 avatar Mar 27 '19 13:03 namespace7

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 ) ?

vit1967 avatar Apr 05 '19 17:04 vit1967

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

namespace7 avatar Apr 05 '19 19:04 namespace7

@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 avatar Apr 07 '19 20:04 vit1967

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?

vit1967 avatar Apr 07 '19 21:04 vit1967

@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.

namespace7 avatar Apr 08 '19 06:04 namespace7