OSDN Git Service

added example to hack with SDP/multicast streaming
authorFabrice Bellard <fabrice@bellard.org>
Wed, 20 Nov 2002 18:26:32 +0000 (18:26 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Wed, 20 Nov 2002 18:26:32 +0000 (18:26 +0000)
Originally committed as revision 1261 to svn://svn.ffmpeg.org/ffmpeg/trunk

doc/ffserver.conf

index 3e03958..29cf780 100644 (file)
@@ -329,7 +329,7 @@ StartSendOnKey
 #
 # rtsp://localhost:5454/test1-rtsp.mpg
 #
-# A non standard redirector is also created. Its URL is:
+# A non standard RTSP redirector is also created. Its URL is:
 #
 # http://localhost:8090/test1-rtsp.rtsp
 #
@@ -341,6 +341,32 @@ StartSendOnKey
 #</Stream>
 
 ##################################################################
+# SDP/multicast examples
+
+# If you want to send your stream in multicast, you must set the
+# multicast address with MulticastAddress. The port and the TTL can
+# also be set.
+#
+# An SDP file is automatically generated by ffserver by adding the
+# 'sdp' extension to the stream name (here
+# http://localhost:8090/test1-sdp.sdp). You should usually give this
+# file to your player to play the stream.
+# 
+# The 'NoLoop' option can be used to avoid looping when the stream is
+# terminated.
+#
+#<Stream test1-sdp.mpg>
+#
+#Format rtp
+#File "/usr/local/httpd/htdocs/test1.mpg"
+#MulticastAddress 224.124.0.1
+#MulticastPort 5000
+#MulticastTTL 16
+#NoLoop
+#
+#</Stream>
+
+##################################################################
 # Special stream : server status
 
 <Stream stat.html>