$ cd mediaServer $ ./live555MediaServer LIVE555 Media Server version 1.00 (LIVE555 Streaming Media library version 2020.06.25). Play streams from this server using the URL rtsp://192.168.0.223:8554/<filename> where <filename> is a file present in the current directory. Each file's type is inferred from its name suffix: ".264" => a H.264 Video Elementary Stream file ".265" => a H.265 Video Elementary Stream file ".aac" => an AAC Audio (ADTS format) file ".ac3" => an AC-3 Audio file ".amr" => an AMR Audio file ".dv" => a DV Video file ".m4e" => a MPEG-4 Video Elementary Stream file ".mkv" => a Matroska audio+video+(optional)subtitles file ".mp3" => a MPEG-1 or 2 Audio file ".mpg" => a MPEG-1 or 2 Program Stream (audio+video) file ".ogg" or ".ogv" or ".opus" => an Ogg audio and/or video file ".ts" => a MPEG Transport Stream file (a ".tsx" index file - if present - provides server 'trick play' support) ".vob" => a VOB (MPEG-2 video with AC-3 audio) file ".wav" => a WAV Audio file ".webm" => a WebM audio(Vorbis)+video(VP8) file See http://www.live555.com/mediaServer/ for additional documentation. (We use port 8000 for optional RTSP-over-HTTP tunneling, or for HTTP live streaming (for indexed Transport Stream files only).)
$ cd proxyServer $ ./live555ProxyServer rtsp://192.168.0.188:554/stream/main & #执行命令后会返回一个分发的流地址 ./live555ProxyServer rtsp://192.168.0.188:554 LIVE555 Proxy Server (LIVE555 Streaming Media library version 2020.06.25; licensed under the GNU LGPL)
Created new TCP socket 4 for connection RTSP stream, proxying the stream "rtsp://192.168.0.188:554" Play this stream using the URL: rtsp://192.168.0.223:8554/proxyStream
(We use port 8000 for optional RTSP-over-HTTP tunneling.)
$ ./testOnDemanRTSPServer "mpeg4ESVideoTest" stream, from the file "test.m4e" Play this stream using the URL "rtsp://192.168.0.226:8554/mpeg4ESVideoTest"
"h264ESVideoTest" stream, from the file "test.264" Play this stream using the URL "rtsp://192.168.0.226:8554/h264ESVideoTest"
"h265ESVideoTest" stream, from the file "test.265" Play this stream using the URL "rtsp://192.168.0.226:8554/h265ESVideoTest"
"mpeg1or2AudioVideoTest" stream, from the file "test.mpg" Play this stream using the URL "rtsp://192.168.0.226:8554/mpeg1or2AudioVideoTest"
"mpeg1or2ESVideoTest" stream, from the file "testv.mpg" Play this stream using the URL "rtsp://192.168.0.226:8554/mpeg1or2ESVideoTest"
"mp3AudioTest" stream, from the file "test.mp3" Play this stream using the URL "rtsp://192.168.0.226:8554/mp3AudioTest"
"wavAudioTest" stream, from the file "test.wav" Play this stream using the URL "rtsp://192.168.0.226:8554/wavAudioTest"
"amrAudioTest" stream, from the file "test.amr" Play this stream using the URL "rtsp://192.168.0.226:8554/amrAudioTest"
"vobTest" stream, from the file "test.vob" Play this stream using the URL "rtsp://192.168.0.226:8554/vobTest"
"mpeg2TransportStreamTest" stream, from the file "test.ts" Play this stream using the URL "rtsp://192.168.0.226:8554/mpeg2TransportStreamTest"
"aacAudioTest" stream, from the file "test.aac" Play this stream using the URL "rtsp://192.168.0.226:8554/aacAudioTest"
"dvVideoTest" stream, from the file "test.dv" Play this stream using the URL "rtsp://192.168.0.226:8554/dvVideoTest"
"ac3AudioTest" stream, from the file "test.ac3" Play this stream using the URL "rtsp://192.168.0.226:8554/ac3AudioTest"
"matroskaFileTest" stream, from the file "test.mkv" Play this stream using the URL "rtsp://192.168.0.226:8554/matroskaFileTest"
"webmFileTest" stream, from the file "test.webm" Play this stream using the URL "rtsp://192.168.0.226:8554/webmFileTest"
"oggFileTest" stream, from the file "test.ogg" Play this stream using the URL "rtsp://192.168.0.226:8554/oggFileTest"
"opusFileTest" stream, from the file "test.opus" Play this stream using the URL "rtsp://192.168.0.226:8554/opusFileTest"
"mpeg2TransportStreamFromUDPSourceTest" stream, from a UDP Transport Stream input source (IP multicast address 239.255.42.42, port 1234) Play this stream using the URL "rtsp://192.168.0.226:8554/mpeg2TransportStreamFromUDPSourceTest"
(We use port 8000 for optional RTSP-over-HTTP tunneling.)