Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Redirect RTMP protocol to another RTMP stream

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/redirect and i want this to redirect or fetch content/stream from rtmp://otherdomain.com/stream/

like image 672
user2425700 Avatar asked May 27 '13 16:05

user2425700


People also ask

Is RTMP obsolete?

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.

What replaced RTMP?

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.

Is RTMP a protocol?

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.


2 Answers

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

like image 122
faraway Avatar answered Nov 10 '22 12:11

faraway


You can do this using ffmpeg as following ffmpeg -i rtmp://otherdomain.com/stream -f flv rtmp://mydomain.com/stream/redirect

like image 44
sdvd Avatar answered Nov 10 '22 12:11

sdvd