1 Reply Latest reply: Mar 3, 2012 11:55 PM by 921547 RSS

    rtspUtil.java,Problem about setup

      hi everyone .i just read the source rtspUtil.java.and i had a test.
      public class Test  implements ReceiveStreamListener{
           public static void main(String[] args) throws Exception {
                Test  tt = new Test();
                RtspUtil uu = new RtspUtil(tt);
                      System.out.println(uu.rtspSetup());//setup  there is  a problem , i can't find the trackID  when i tried uu.getTrackId();
           public void update(ReceiveStreamEvent arg0) {
                // TODO Auto-generated method stub
      i found setup request was wrong
      it was
      SETUP rtsp:// RTSP/1.0
      CSeq: 73
      Transport: RTP/AVP;unicast;client_port=14024-14025
      User-Agent: JMF RTSP Player Version 2.1.1e

      it was null !!! rtsp://

      can somebody help me.. and i use DSS as a server.
        • 1. Re: rtspUtil.java,Problem about setup
          and now i changed another video ,and i can find trackID either.but there still have some problems.
          it was that when i send play message (rtsp message),i got absolute nothing.
          it just said
          Server is not responding

          but the PLAY request message is ok

          PLAY rtsp:// RTSP/1.0
          CSeq: 370
          Range: npt=0.0-
          Session: 47382079233405
          User-Agent: JMF RTSP Player Version 2.1.1e

          the problem is that i can't get the video data and the server didn't response me!

          Edited by: user13786964 on 2012-3-3 下午9:55