Results 1 to 4 of 4

Thread: Is it possible, RTSP custom response message?

  1. #1
    Join Date
    Jan 2014

    Question Is it possible, RTSP custom response message?


    I'm newbie Wowza module developer.
    I face on problem in my project.

    I want to return some custom response message. when rtpSession rejected. (like http response body)
    But i can't find method or can control handle in RTPSession object.

    in describe this project
    Client have to connect Wowza server like this : rtsp://[Wowza-IP]:1935/live/?ID=12345&PubPoint=mystream

    but, if client use connect URL like this : rtsp://[Wowza-IP]:1935/live/?PubPoint=mystream

    I want to control return custom response message like this.(if i can control more lower level)

    RTSPBufferedWriter.write("RTSP/1.0 400 OK" + CRLF);
    RTSPBufferedWriter.write("Public: DESCRIBE, SETUP, PLAY, PTIONS" + CRLF);
    RTSPBufferedWriter.write("CSeq: " + RTSPSeqNb + CRLF+ CRLF);
    RTSPBufferedWriter.write("Parameter ID - required"+ CRLF);
    The red font is custom return Code & message.

    Is there are something way to resolve this issue?

    This project have to use RTSP protocol(we can't change other protocol http, rtmp).
    Last edited by shshin; 02-23-2014 at 10:28 PM.

  2. #2
    Join Date
    May 2013


    You might try redirecting the session:


  3. #3
    Join Date
    Jan 2014


    Thank you matt_y.
    But, you miss my point in my post.

    I want to know how can i retrun custom response message. when rtspsession reject. not a redirection.
    Last edited by shshin; 02-24-2014 at 06:18 PM.

  4. #4
    Join Date
    Dec 2007


    There is not a way to do this in Wowza with RTSP clients, like there is with RTMP clients.


Similar Threads

  1. How to change RTSP Describe response.
    By jhlee1th in forum Wowza Streaming Server Java API
    Replies: 1
    Last Post: 08-24-2014, 11:05 PM
  2. RTSP SETUP Response takes 5 seconds
    By snip3rboy in forum General Forum
    Replies: 4
    Last Post: 04-30-2014, 04:41 PM
  3. Custom error message
    By stream4life in forum General Forum
    Replies: 1
    Last Post: 01-03-2014, 04:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts