[Live-devel] add a delay in between the RTSP SETUP message and corresponding RTP SETUP message
Dave Wilder
D.Wilder at f5.com
Fri Feb 7 14:00:31 PST 2014
Thanks Ross. As part of testing our RTSP product, we need to do some negative testing after the RTSP connection is set-up but before the RTP
connection is set up.
Dave
From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Friday, February 07, 2014 4:33 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] add a delay in between the RTSP SETUP message and corresponding RTP SETUP message
When using openRTSP to set up an RTSP connection, is it possible to add a delay in between the RTSP SETUP message and the corresponding
RTP SETUP message i.e. send the RTSP SETUP message, delay "N" seconds and then send the RTP SETUP message?
Yes, you could do this by modifying the "continueAfterSETUP()" function to call "env->taskScheduler().scheduleDelayedTask( ... )" instead of calling "setupStreams()" (to do the next "SETUP"). Instead, your delayed function (that you specified in the call to "scheduleDelayedTask()") would call "setupStreams()".
I'm not sure why you want to do this, though. (Our RTSP server implementation certainly doesn't need such a delay.)
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140207/5656e975/attachment-0001.html>
More information about the live-devel
mailing list