[Live-devel] Beginner's problem on testMPEG1or2AudioVideoStreamer

Charles Chan tschan1 at cse.cuhk.edu.hk
Wed Nov 12 17:23:03 PST 2003


Hi,

    I have downloaded the source package of live.2003.11.06.tar.gz and try
to run
"testMPEG1or2AudioVideoStreamer.exe" in order to stream a video to several
clients.
(Of course I have prepared a test.mpg file)

    When the clients use Quicktime to view the streamed video by entering
"rtsp://192.168.100.6" or "rtsp://192.168.100.6:7777" or
"rtsp://239.255.42.42" or "rtsp://239.255.42.42:7777"
(where server IP address that streams the video
out
is 192.168.100.6) as the played URL, Quicktime prompts us with 10049
error, thus no video can be seen.

    However, when the clients play the file "testMPEG1or2AudioVideo.sdp"
instead, it works and video can be seen.

    Dose anyone help me to solve the following problem :
 1.  How can the clients play  the streamed video by simply opening
     "rtsp://<server IP address> : 7777" instead of using sdp file?
 2.  How can the client play the streamed video by typing
     "rtsp://239.255.42.42: 7777" in Quicktime since the server streams
     the video out to the multicast address (default multicast address
     should be 239.255.42.42) ?

    Thanks a lot .

ps:    In the testMPEG1or2AudioVideoStreamer.cpp,
    I have uncommented the statement "#define IMPLEMENT_RTSP_SERVER 1" to
enable a RTSP server.
    And also I have changed the RTSP server port to 7777 by modifying the
statement as RTSPServer* rtspServer = RTSPServer::createNew(*env, 7777);


Charles

--
Charles Chan



More information about the live-devel mailing list