Browse Source

added example to hack with SDP/multicast streaming

Originally committed as revision 1261 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fabrice Bellard 22 years ago
parent
commit
6891b9d458
1 changed files with 27 additions and 1 deletions
  1. 27 1
      doc/ffserver.conf

+ 27 - 1
doc/ffserver.conf

@@ -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
 #
@@ -340,6 +340,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