Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multicast questions



QTSS only supports Unicast streaming when requested via an RTSP
url from a client.

There are a couple of ways to create a Multicast though, such as using
the PlaylistBroadcaster to create a looping simulated live broadcast of the
movie file.


This is an advanced feature that cannot be access from the normal
QTSS Streaming Web Admin.  You would need to create a Playlist
config file, a Playlist file (that contains the path to the MP4 that you
want to multicast in a simulated live broadcast), and then run the
PlaylistBroadcaster utility (included with QTSS/DSS) to start things
up, thus producing a multicast of the RTP streaming data.

You are correct that you can't do an RTSP request to "tune" into
the multicast. Instead, what you need to do is copy the resulting .sdp
file (created by the PlaylistBroadcaster, after it has read your Playlist
file and knows what types of media/tracks you intend to broadcast)
and copy the .sdp file to a QT Client machine. Now, open this .sdp
file in QuickTime Player. Assuming that you have multicast enabled
routers on your LAN, the QT Client will instantly start buffering and
play the stream (no RTSP negotiating occurs). In fact, you don't
even need to be running the QTSS server to do this (since the PlaylistBroadcaster
is generating the multicast directly, and QTSS is not being used to
reflect anything).


Now, in QT Player what you want to do is "Save As..." the stream
as a self-contained QuickTime file. This is not the actual streamed
RTP data, but instead merely a very small QuickTime file that contains
the .sdp data for the stream so that a QT client can reference the multicast.


The last thing to do is to distribute this QuickTime Reference movie
(made in the previous step) to your users on the multicast network.
This can be done very simply via an email attachment, or better
yet by posting the QuickTime Reference movie on a web server and
creating some HTML to embed the file correctly so that the QT Plugin
in a web browser will know how to read the QT Reference movie and
thus tune into the multicast and watch the stream.

Another way to generate a Multicast stream with QTSS though (and
not using PlaylistBroadcaster), is to use the QTSS Relay feature to
do an RTSP "pull" from a stored file on your QTSS server box, and
then set the Destination to be a multicast address, along with a valid
UDP baseport and TTL settings.

The limitation here is that if you don't already have a valid .sdp for the
stream, then it will be difficult to make one for inclusion within a QT Reference
movie. The QTSS Relay is probably best used for taking an incoming
unicast (or multicast) stream, and then relaying it out as yet another
unicast (or multicast) stream.



-- Billy Brown


On Friday, September 27, 2002, at 07:40 AM, Troy Cauble wrote:

I have MP4s in a playlist which DSS4 serves to my client via
RTP/UDP or RTP/TCP depending on my client settings (which
alter the RTSP request).

How do I get them served via multicast UDP?  Is that an
alternative RTSP request, or a server setting?

If the latter, is it still requested via RTSP, or must the sdp files
be known to the client some other way?

Somehow, I can't quite grok the Relay documentation.  Can only
Relays serve multicast ?

Thanks,
-troy
_______________________________________________
streaming-server-developers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-> developers
Do not post admin requests to the list. They will be ignored.
_______________________________________________
streaming-server-developers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-developers
Do not post admin requests to the list. They will be ignored.

References: 
 >multicast questions (From: Troy Cauble <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.