Finally, I solved the problem. The streamingVideos_10 folder was under /home/cienlux/CloudSuite/streaming-release/. So, I had to set movie_folder parameter in streamingserver.xml as like this.
<PREF NAME="movie_folder" >/home/cienlux/CloudSuite/streaming-release/</PREF> Before this modification, I added streamingVideos_10 at the last part of movie_folder.. I'll post several more things that might be helpful to others. My last question is how to evaluate the benchmark performance. Is it enough to calculate the execution time from startTime and endTime mentioned in /tmp/output/[runId]/summary.xml ? On Thu, Apr 18, 2013 at 3:11 PM, Jinchun Kim <[email protected]> wrote: > Hi, Adileh. > > Thanks for quick response. > I changed the command line as you suggested. > > > To start Darwin server > sudo /usr/local/sbin/DarwinStreamingServer -dDS 1 -p 1200 -c > /etc/streaming/streamingserver.xml > > > > To srat rtspclient > ./rtspclient.o rtsp://127.0.0.1:1200/streamingVideos_10/Movie1minHi.mov20000 > 10 > > > The streamingVideos_10 is in > /home/cienlux/CloudSuite/streaming-release/streamingVideos_10 > and I changed movie_folder in etc/streaming/stereamingserver.xml to this > location. > > > However, output from Darwin is still same. > Every parameter is zero which indicates that Darwin server did not get any > request > from rtsp client. > > > RTP-Conns RTSP-Conns ..... AvgQuality NumThinned Time > 0 0 ..... 0 > 0 2013-04-18 14:51:37 > > > Output from rtsp client looks like this. > > > cienlux@camsin1:~/CloudSuite/streaming-release/faban-streaming/streaming$ > ./rtspclient.o rtsp://127.0.0.1:1200/streamingVideos_10/Movie1minHi.mov20000 > 10 > rtsp://127.0.0.1:1200/streamingVideos_10/Movie1minHi.mov > * About to connect() to 127.0.0.1 port 1200 (#0) > * Trying 127.0.0.1... * connected > > OPTIONS rtsp://127.0.0.1:1200/streamingVideos_10/Movie1minHi.movRTSP/1.0 > CSeq: 1 > > < RTSP/1.0 200 OK > RTSP/1.0 200 OK > < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming > Server; State/Development; ) > Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming > Server; State/Development; ) > < Cseq: 1 > Cseq: 1 > < Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD > Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD > > < > * Connection #0 to host 127.0.0.1 left intact > OPTIONS Response Code: 200 > > * Re-using existing connection! (#0) with host 127.0.0.1 > * Connected to 127.0.0.1 (127.0.0.1) port 1200 (#0) > > DESCRIBE rtsp://127.0.0.1:1200/streamingVideos_10/Movie1minHi.movRTSP/1.0 > CSeq: 2 > If-Modified-Since: Thu, 01 Jan 1970 00:00:00 GMT > Accept: application/x-rtsp-mh, application/rtsl, application/sdp > > < RTSP/1.0 404 Not Found > RTSP/1.0 404 Not Found > < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming > Server; State/Development; ) > Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming > Server; State/Development; ) > < Cseq: 2 > Cseq: 2 > < Connection: Close > Connection: Close > > < > * Closing connection #0 > DESCRIBE Response Code: 404 > > rtsp://127.0.0.1:1200/streamingVideos_10/Movie1minHi.mov/trackID=3 > * About to connect() to 127.0.0.1 port 1200 (#0) > * Trying 127.0.0.1... * connected > > SETUP > > rtsp://127.0.0.1:1200/streamingVideos_10/Movie1minHi.mov/trackID=3RTSP/1.0 > CSeq: 3 > Transport: RTP/AVP/UDP;unicast;client_port=20000-20001 > If-Modified-Since: Thu, 01 Jan 1970 00:00:00 GMT > Accept: application/x-rtsp-mh, application/rtsl, application/sdp > > < RTSP/1.0 404 Not Found > RTSP/1.0 404 Not Found > < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming > Server; State/Development; ) > Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming > Server; State/Development; ) > < Cseq: 3 > Cseq: 3 > < Connection: Close > Connection: Close > > < > * Closing connection #0 > SETUP Response Code: 404 > > rtsp://127.0.0.1:1200/streamingVideos_10/Movie1minHi.mov/trackID=4 > * About to connect() to 127.0.0.1 port 1200 (#0) > * Trying 127.0.0.1... * connected > > SETUP > > rtsp://127.0.0.1:1200/streamingVideos_10/Movie1minHi.mov/trackID=4RTSP/1.0 > CSeq: 4 > Transport: RTP/AVP/UDP;unicast;client_port=20000-20001 > If-Modified-Since: Thu, 01 Jan 1970 00:00:00 GMT > Accept: application/x-rtsp-mh, application/rtsl, application/sdp > > < RTSP/1.0 404 Not Found > RTSP/1.0 404 Not Found > < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming > Server; State/Development; ) > Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming > Server; State/Development; ) > < Cseq: 4 > Cseq: 4 > < Connection: Close > Connection: Close > > < > * Closing connection #0 > SETUP Response Code: 404 > > playing... > > * About to connect() to 127.0.0.1 port 1200 (#0) > * Trying 127.0.0.1... * connected > > PLAY rtsp://127.0.0.1:1200/streamingVideos_10/Movie1minHi.mov RTSP/1.0 > CSeq: 5 > Accept: application/x-rtsp-mh, application/rtsl, application/sdp > > < RTSP/1.0 500 Internal Server Error > RTSP/1.0 500 Internal Server Error > < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming > Server; State/Development; ) > Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming > Server; State/Development; ) > < Cseq: 5 > Cseq: 5 > < Connection: Close > Connection: Close > > < > * Closing connection #0 > PLAY Response Code: 500 > > * About to connect() to 127.0.0.1 port 1200 (#0) > * Trying 127.0.0.1... * connected > > TEARDOWN rtsp://127.0.0.1:1200/streamingVideos_10/Movie1minHi.movRTSP/1.0 > CSeq: 6 > Accept: application/x-rtsp-mh, application/rtsl, application/sdp > > < RTSP/1.0 200 OK > RTSP/1.0 200 OK > < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming > Server; State/Development; ) > Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming > Server; State/Development; ) > < Cseq: 6 > Cseq: 6 > < Connection: Close > Connection: Close > > < > * Closing connection #0 > TEARDOWN Response Code: 200 > > > To check if there is an active connection for the server, I used netstat > -vatn. > > Proto Recv-Q Send-Q Local Address Foreign Address > State > tcp 0 0 0.0.0.0:111 0.0.0.0:* > LISTEN > tcp 0 0 0.0.0.0:1200 0.0.0.0:* > LISTEN > tcp 0 0 0.0.0.0:784 0.0.0.0:* > LISTEN > > As you can see, port 1200 is listening for the request. > It looks like a client is not able to send request to the server. > I don't think if this is the case... but do I need to install additional > application > on my Ubuntu for rtsp client? > Any suggestion will be really helpful :) > > > > > On Thu, Apr 18, 2013 at 11:19 AM, Adileh Almutaz > <[email protected]>wrote: > >> Hi Kim,**** >> >> Your client and server seem to be running, but you’re probably missing a >> parameter!**** >> >> So first you need to debug it with ./rtspclient.o as you started!**** >> >> ** ** >> >> First of all, make sure your client and server communicate through the >> same port (e.g., when you start the server add -p 1200 to the end of the >> command to force the server to listen to port 1200)**** >> >> In the ./rtspclient.o command, 1200 instead of 554 just to force the >> request on the same port.**** >> >> ** ** >> >> Then make sure that your movies directory is configured properly. This is a >> parameter that you should define in your streamingserver.xml (if you are not >> sure which streamingserver.xml your server is using, you can force it when >> you start it up using –c /path-to/streamingserver.xml). so your command to >> start the server could look like: /usr/local/sbin/DarwinStreamingServer -dDS >> 1 –p 1200 –c /path-to/streamingserver.xml**** >> >> ** ** >> >> There is a movie_folder tag that you should define. Make sure it is defined >> properly and that your ./rtspclient sends the request to the movie >> appropriately. Suppose your movies directory is defined as: /path-to-movies/ >> and inside that directory you have streamingVideos_10 directory which >> containts the movie you want to test. Your command should look like this**** >> >> ./rtspclient.o rtsp://your_ip:1200/streamingVideos_10/name_of_test_movie.mov >> 20000 10**** >> >> ** ** >> >> ** ** >> >> Please try this and let me know what the outcome is!**** >> >> ** ** >> >> Regards,**** >> >> Mutaz **** >> >> ** ** >> >> ** ** >> >> ** ** >> >> *From:* Jinchun Kim [mailto:[email protected]] >> *Sent:* Thursday, April 18, 2013 4:30 PM >> *To:* Mahmood Naderan; [email protected] >> *Subject:* Re: Running media streaming benchmark**** >> >> ** ** >> >> First, I started Faban with sh master/bin/startup.sh**** >> >> After that, I ran DDS with /usr/local/sbin/DarwinStreamingServer -dDS 1** >> ** >> >> to start the server.**** >> >> As far as I know, Faban is a client and DDS is a server, so I think I am >> doing right..**** >> >> ** ** >> >> ** ** >> >> I checked previous question about media streaming and **** >> >> tried ./rtspclient.o to see what happens between server and client.**** >> >> (http://www.mail-archive.com/[email protected]/msg00005.html)**** >> >> ** ** >> >> ** ** >> >> < RTSP/1.0 500 Internal Server Error**** >> >> RTSP/1.0 500 Internal Server Error**** >> >> < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin >> Streaming Server; State/Development; )**** >> >> Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming >> Server; State/Development; )**** >> >> < Cseq: 5**** >> >> Cseq: 5**** >> >> < Connection: Close**** >> >> Connection: Close**** >> >> ** ** >> >> But I got internal server error when I checked the status.**** >> >> I guess there is something that I missed about server-client connection.* >> *** >> >> ** ** >> >> On Thu, Apr 18, 2013 at 9:29 AM, Jinchun Kim <[email protected]> wrote:** >> ** >> >> First, I started Faban with sh master/bin/startup.sh**** >> >> After that, I ran DDS with /usr/local/sbin/DarwinStreamingServer -dDS 1** >> ** >> >> to start the server.**** >> >> As far as I know, Faban is a client and DDS is a server, so I think I am >> doing right..**** >> >> ** ** >> >> ** ** >> >> I checked previous question about media streaming and **** >> >> tried ./rtspclient.o to see what happens between server and client.**** >> >> (http://www.mail-archive.com/[email protected]/msg00005.html)**** >> >> ** ** >> >> ** ** >> >> < RTSP/1.0 500 Internal Server Error**** >> >> RTSP/1.0 500 Internal Server Error**** >> >> < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin >> Streaming Server; State/Development; )**** >> >> Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming >> Server; State/Development; )**** >> >> < Cseq: 5**** >> >> Cseq: 5**** >> >> < Connection: Close**** >> >> Connection: Close**** >> >> ** ** >> >> But I got internal server error when I checked the status.**** >> >> I guess there is something that I missed about server-client connection.* >> *** >> >> ** ** >> >> ** ** >> >> ** ** >> >> ** ** >> >> On Thu, Apr 18, 2013 at 3:33 AM, Mahmood Naderan <[email protected]> >> wrote:**** >> >> Hi**** >> >> What I understand is that you ran the client and server separately. I >> mean start/stop the client and then start/stop the server. Is that correct? >> **** >> >> On 04/18/2013 2:47, Jinchun Kim wrote:**** >> >> Hi, All. **** >> >> I'm trying to run memory intensive simulation with media streaming >> benchmark.**** >> >> I followed the setup procedure described on CloudSuite website and**** >> >> installed Media streaming benchmark on my Linux machine.**** >> >> But I'm not quite sure if I'm running the benchmark correctly.**** >> >> I tested media streaming benchmark with following command.**** >> >> sh scripts/start-run.sh 200 shorthi 165.91.212.1 2**** >> >> (165.91.212.1 is ip address of localhost)**** >> >> After 5~6 minutes, the benchmark was done and simulation results were**** >> >> written to /tmp/output/15. **** >> >> Based on the output from /tmp/output/15/summary.xml,**** >> >> it seems like test was finished without an error.**** >> >> 0.467**** >> >> 121.645**** >> >> 3.422**** >> >> 3.300**** >> >> false**** >> >> 3.300**** >> >> **** >> >> ........................................................................* >> *** >> >> ........................................................................* >> *** >> >> 5706**** >> >> 0**** >> >> 1.0000**** >> >> 1.0000**** >> >> true**** >> >> **** >> >> However, when I run Darwin Streaming Server with >> /usr/local/sbin/DarwinStreamingServer >> -dDS 1**** >> >> there was no communication between server and client.**** >> >> RTP-Conns RTSP-Conns ..... AvgQuality NumThinned Time**** >> >> 0 0 ..... 0 0 >> 2013-04-17 16:35:58**** >> >> So I was wondering if I am on the right direction...**** >> >> Do I need to do something else to setup server-client configuration?**** >> >> -- **** >> >> Thanks,**** >> >> Jinchun Kim**** >> >> **** >> >> -- **** >> >> Regards, >> Mahmood**** >> >> >> >> **** >> >> ** ** >> >> -- **** >> >> Thanks,**** >> >> Jinchun Kim**** >> >> >> >> **** >> >> ** ** >> >> -- **** >> >> Thanks,**** >> >> Jinchun Kim**** >> > > > > -- > Thanks, > Jinchun Kim > -- Thanks, Jinchun Kim
