24
Setting Up a Relay
Media streams are sent from a server to a client computer in one of two basic ways:
m Unicast is a one-to-one transmission. Each client computer that tunes in to a stream
receives its own stream.
m A multicast stream is sent to a group address. This means several client computers can
tune in to the same stream.
A relay listens to an incoming broadcast (either unicast or multicast) and forwards, or relays,
that broadcast to one or more destination addresses (the broadcast can be relayed as either.
unicast or multicast as well). You can set up your server to relay multiple broadcasts at the
same time. Relays take advantage of multicasting, or streaming data to multiple destinations
at the same time. They’re an efficient way to send high bandwidth data, such as multimedia,
when you have a large number of users who want the same data.
A relay can be used to implement a large broadcast involving several tiers of streaming
servers. For example, if you are expecting 3,000 clients to watch a live broadcast, and you
want to use five different servers to handle the load, you can have your broadcasting
application send the broadcast to a streaming server that acts as a relay. The relay can then
forward one copy of the broadcast to each of the five streaming servers.
In addition, a relay can be used to take advantage of IP multicast. Multicast is an Internet
technology that allows a single copy of a stream to be viewed by any number of clients,
saving lots of bandwidth. However, each router between the client and server must have IP
multicast enabled, and multicast is disabled on some Internet routers.
If multicast is enabled on the network where your broadcast is taking place (a corporate or
campus intranet, for example), a relay can be used to take an incoming unicast and relay it as
a multicast. The resulting multicast can then be viewed by any client that “tunes into” the
stream. The relay can also be used to take an incoming multicast and relay it as a unicast. This
is useful if multicast is not deployed over your entire network.
Comentarios a estos manuales