Switch between video streams

I am struggling with switching between multiple forward streams. For example, I have five streams streaming streaming streaming (HTTP or RTSP), and I want to put some broker between these (five) streaming sources and the receiver, so that the output to the destination will be a single video stream (later I can change the streaming source using the switch again). The broker plays the role of a switch, my question is, is there such an "open source switch"? Or how does this technology work?

here is a link to a similar question, but I need some open source code or some brief recommendations on how this can be implemented: http://forums.creativecow.net/thread/117/858680 p>

thanks in advance

+6
source share
1 answer

This answer may be an archive for researchers.


First suggestion or solution (multicast router)


You can use Router or L3 Switch, which supports IGMP protocol. This router or L3 switch must support IGMP, which can structure the multicast IP address. You can configure L3 to switch the entire streaming. The multicast IP address ranges from 224.0.0.0 to 239.255.255.255 and works based on the device’s MAC address. You can create a different multicast IP address for different types of switching scenarios. After completing the configuration of the router or L3 switch, you change the IP address only to switch streaming to your program. (I did not mention broadcasting. Broadcasting to all points. Multicasting data at specific points.)

Multicast Sample


Second sentence or solution (programming)

I use the Vlc.Dotnet shell to use the Vlc and libvlc libraries. It is open source. RTSP streaming is based on IP address and port number. I don’t know any open source switch, but you can write one of them for you using the Vlc.dotnet shell. You create 5 streaming servers and 1 management server. The destination destination of the streaming server must be the IP address of the management server. and you can manage all the data from the management server using your basic switch program.

5 streaming servers: sends data to the management server
1 Management Server: Management and Switching Data


I prefer to use Router or L3 Switch for this. Because it is easier.

0
source

All Articles