Hello,

I am using rtp-live stream type in my application. Wowza restreams H.264 elementary stream from another RTSP server. The sourcing RTSP server is a test program, which generates video stream dynamically (libavcodec + liblivemedia). Players can play this stream alright. My problem is that there is significant delay between DESCRIBE request to Wowza and response. From wireshark the communication looks as follows:



6 17.079457 127.0.0.1 127.0.0.1 RTSP 497 OPTIONS rtsp://127.0.0.1:8554/live/stream.stream RTSP/1.0
8 17.081709 127.0.0.1 127.0.0.1 RTSP 292 Reply: RTSP/1.0 200 OK
10 17.085115 127.0.0.1 127.0.0.1 RTSP 199 DESCRIBE rtsp://127.0.0.1:8554/live/stream.stream RTSP/1.0

15 17.198638 192.168.1.35 192.168.1.35 RTSP 239 OPTIONS rtsp://192.168.1.35/stream RTSP/1.0
17 17.198934 192.168.1.35 192.168.1.35 RTSP 218 Reply: RTSP/1.0 200 OK
19 17.200381 192.168.1.35 192.168.1.35 RTSP 265 DESCRIBE rtsp://192.168.1.35/stream RTSP/1.0
20 17.200708 192.168.1.35 192.168.1.35 RTSP/SDP 565 Reply: RTSP/1.0 200 OK, with session description
21 17.201437 192.168.1.35 192.168.1.35 RTSP 298 SETUP rtsp://192.168.1.35/stream/track1 RTSP/1.0
22 17.201704 192.168.1.35 192.168.1.35 RTSP 269 Reply: RTSP/1.0 200 OK
24 17.461544 192.168.1.35 192.168.1.35 RTSP 275 PLAY rtsp://192.168.1.35/stream/ RTSP/1.0
26 17.470896 192.168.1.35 192.168.1.35 RTSP 247 Reply: RTSP/1.0 200 OK

95 27.114768 127.0.0.1 127.0.0.1 RTSP/SDP 770 Reply: RTSP/1.0 200 OK, with session description
96 27.119705 127.0.0.1 127.0.0.1 RTSP 254 SETUP rtsp://127.0.0.1:8554/live/stream.stream/trackID=1 RTSP/1.0
98 27.141213 127.0.0.1 127.0.0.1 RTSP 379 Reply: RTSP/1.0 200 OK
99 27.152892 127.0.0.1 127.0.0.1 RTSP 208 PLAY rtsp://127.0.0.1:8554/live/stream.stream RTSP/1.0
100 27.154708 127.0.0.1 127.0.0.1 RTSP 303 Reply: RTSP/1.0 200 OK


I colored orange communication between Wowza and its client (movie player). The problem with the delay is that not every player will like it, e.g. VLC will give up after around 5 seconds of waiting. DESCRIBE response from test program contains SDP.

Why it is not enough to give to the player? I can change my program, but I need to know how.. Let me know if you also need RTP packets recording.

Thank you