IGMP multicast server
|Assignee:||John Törnblom||% Done:|
Why not include similar functionality of the VDR's plug-in Streamdev?
This funciton is called "IGMP multicast server".
See here for explanation: http://github.com/varaslt/vdr-plugin-streamdev/blob/master/README#L297
This function is quite simple:
- The sever listens for incoming IGMP packets.
- When some client joins one multicast group then the server starts to stream to this multicast address.
- When the last client leaves the multicast group the server stops the streaming.
This requires two enhancements:
1) Multicast output support. Like requested at #15470
More or less is add to the list of Muxes one new parameter "output multicast address", and start/stop to stream to this address at some time (The control can be: allways on, or user controlled by some simple HTTP REST API).
2) Listen for IGMP messages and start/stop to streaming.
Some code example is inside the vdr-plugin-streamdev.
You like to add this functionality?
#2 Updated by Mono Polimorph 12 days ago
Pablo Rodríguez wrote:
I supose this can only be used on local networks. And not through Internet.
Why not? It's pure MULTICAST.
However, plain UDP transport through Internet is not reliable.
If you need reliable transmission over Internet, then use other protocols supported by TVH.
#5 Updated by Mono Polimorph 12 days ago
saen acro wrote:
HLS streaming is way better.
Over the Internet? Yes.
Over LAN? NO! RTSP and Multicast has low delay and no buffering troubles.
In any case, TVH supports several transport protocols. One of them is RTP (and the old plain UDP) with MPEG-TS. However, at time only for receiving the stream and not for streaming.
The request is: first) add Multicast RTP output; second) control the RTP streaming with IGMP.
This isn't related in any sense with HLS or other "Internet" streaming protocols. So please, stop to comment about them.
I hope the developer agree to incorporate this suggestion in the roadmap for the version 4.4
Multicast is good for Wired connection over WiFi not so
you can test with TomCast very small tool for multicast streaming.
keep in mind that some lan card-s and switches, do not like IGMP, and count it as flood.
That's why most of multicast streaming services recommend using VLAN.