Skip to content

The redirection

Hoël Vasseur edited this page Apr 8, 2016 · 4 revisions

One of the great implementation of OpenVivoe is the possibility to do redirection of the stream multicast received. It means that a device which is both a Service Provide and a Service User will listen and receive a stream from a multicast group, it will redirect this same stream to one of its source, and stream in onto a different multicast group. You are maybe wondering why we would like to do a such thing.

Well applications are many. First it will allow you to retrieve a JPEG2000 stream, decode it, re-encode it into a MPEG-4 video and stream it onto a different multicast address so that all devices in the network that does support JPEG2000 but do support MPEG-4 can receive the stream even though.

Another application would be to receive a stream, crop it to different parts, and stream each crops to a new multicast group.

A final example could be to receive multiple stream from multicast groups, to a single device, use gstreamer to include all the received stream into a single once a stream it to a new multicast group.

Besides, the redirection is really easy to be implemented using openvivoe: in the configuration file vivoe-mib.conf, you will need the following configuration:

[deviceInfo]

deviceType=3

[source_1]

channelUserDesc=redirection

gst_source=vivoe-redirect nameo=redirection1

[receiver_1]

defaultReceiveIP=239.192.1.10

gst_sink=vivoe-redirect name=redirection1

This will redirect the stream received on the receiver_1's channel to source_1's channel. The working hre is explained by the following diagram:

openv_vivoe_redirection