![]() unicast instead, then replace this string with the unicast address TaskScheduler* scheduler = BasicTaskScheduler::createNew() Įnv = BasicUsageEnvironment::createNew(*scheduler) Begin by setting up our usage environment: change the following "False" to "True": To stream *only* MPEG "I" frames (e.g., to reduce network bandwidth), (Note that this RTSP server works for multicast only) To set up an internal RTSP server, uncomment the following: To stream using "source-specific multicast" (SSM), uncomment the following: splits it into Audio and Video Elementary Streams, A test program that reads a MPEG-1 or 2 Program Stream file, You should have received a copy of the GNU Lesser General Public LicenseĪlong with this library if not, write to the Free Software Foundation, Inc.,ĥ1 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA See the GNU Lesser General Public License for ![]() ![]() This library is distributed in the hope that it will be useful, but WITHOUTĪNY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESSįOR A PARTICULAR PURPOSE. The terms of the GNU Lesser General Public License as published by theįree Software Foundation either version 2.1 of the License, or (at your This library is free software you can redistribute it and/or modify it under Can you tell me what am I missing… /********** Here is the code of testMPEG1or2AudioVideoStreamer.cpp. Any help is appreciated as I cannot go forward without successfully streaming using Live555. Then I copy and play the URL rtsp://192.168.2.22:5555/testStream using VLC media player, but VLC just wait sometime and then stop (same with Gnome MPlayer also). ![]() After running I got the following output: Play this stream using the URL "rtsp://192.168.2.22:5555/testStream" I also placed a test.mpg file in the current directory as defined in the test program. Then I run the testMPEG1or2AudioVideoStreamer test program. I compiled the whole project including the test programs successfully. I tried to compile and run testMPEG1or2AudioVideoStreamer.cpp file in the testProgs directory. Recently I downloaded Live555 server source code from their site. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |