Welcome, Guest Login Main Website

Support Center

The support you need is just a click away.

Decoding multicast streams using VLC and ION decoders

Last Updated: Nov 09, 2017 11:54AM EST
Multicast streaming is a one-to-many relationship between a media server and the clients receiving the stream. With a multicast stream, the server streams to a multicast IP address on the network, and clients receive the stream by subscribing to that IP address.
Because there is only one stream from the server regardless of the number of clients receiving the stream, a multicast stream requires the same amount of bandwidth as a single unicast stream containing the same content, thus increasing network efficiency. However multicast requires hardware support from the network infrastructure and its benefits are usually limited to local area networks as data sent to a Multicast IP is not forwarded by routers, gateways and firewalls (unless they are specifically designed and configured to do so, but these are rare, specialized equipment).
 
In order to receive and decode a Multicast stream coming from an ION encoder there are 2 possibilities. The first one is the Active mode, where the video stream decoder will establish a connection directly to a video stream source (in our case it’s the ION encoder) and request the required video stream. In the popular software decoder VLC, this can be achieved by forcing Multicast RTP via RTSP from the Advanced Preferences.



After that the user can simply open the stream in VLC with the usual URL (the same URL that is used for Unicast transmission) from an ION encoder. Having a Wireshark capture shows that the stream coming from the encoder is received by VLC on the Multicast address.



The second option is the Passive mode, where the decoder does not establish any connection; it simply opens up a listening network port and waits for an incoming stream (RTP). In VLC this mode requires a custom created *.sdp file, describing the initialization parameters of streaming media session.



Note: there are issues in VLC when trying to view multicast streams on a computer that as multiple NICs. VLC (on Windows) will register for the multicast stream on the first NIC with the lowest metric. To be sure this is not the issue, try to get the stream when all other NICs are disabled!

There is also the possibility of using an IONODES R-100 standalone hardware decoder to receive & decode the multicast stream. It supports both modes (Active & Passive), giving the user a lot of flexibility for integrating into different applications.

f1a1bdd989b703702d4ed48544f2927f@ionodes.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete