Is it possible to redirect RTMP protocol to another RTMP stream?
If yes, How can i do it?
In details:
Ex: I got rtmp://mydomain.com/stream/redirec
t and i want this to redirect or fetch content/stream from rtmp://otherdomain.com/stream/
As we mentioned, the purpose of RTMP in live streaming has changed over time. The “old” use of RTMP is practically dead. Pretty much anything involving RTMP delivery/streaming and Flash delivery/streaming is obsolete at this point with most browsers completely dropping support of RTMP delivery in 2021.
Last-mile delivery In this part, the RTMP live streaming protocol is used to send data from a server to a video device using a Flash player. As video streaming with RTMP is no longer supported by all devices, RTMP streaming is not used for last-mile delivery and has been replaced by HTML5 streaming protocols.
Real-Time Messaging Protocol (RTMP) is an open source protocol owned by Adobe that's designed to stream audio and video by maintaining low latency connections. Clients use a handshake to form a connection with an RTMP server which then allows users to stream video and audio.
There is another free server for that. You can add endpoint to RTMP streams on Ant Media Server via rest service. It can even publishes to social media at the same time.
https://github.com/ant-media/Ant-Media-Server
You can do this using ffmpeg as following
ffmpeg -i rtmp://otherdomain.com/stream -f flv rtmp://mydomain.com/stream/redirect
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With