wrong construction of rtsp url in SETUP message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zoneminder (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
the log trace:
11/22/11 10:08:40.124585 zmc_m10[
Transport: RTP/AVP/TCP;unicast
User-Agent: ZoneMinder/1.24.2
CSeq: 2
]
The "SETUP" message is send with a malformed URL (rtsp:/
I guess it is happening in zm_rtsp.cpp
330
331 U32 rtpClock = 0;
332 std::string trackUrl = mUrl;
333 if ( mFormatContext-
334 {
335 for ( int i = 0; i < mFormatContext-
336 {
337 SessionDescript
338 if ( mFormatContext-
339 {
340 trackUrl += "/"+mediaDesc-
341 Debug( 1, "trackUrl '%s'", trackUrl.c_str() );
342 rtpClock = mediaDesc-
343 // Hackery pokery
344 //rtpClock = mFormatContext-
345 break;
346 }
347 }
348 }
The second part of the malformation URL seems to take part in line 340, where the control string "rtsp:/