[Live-devel] Kasenna auto-detect patch
hartman at videolan.org
Fri Nov 12 23:27:05 PST 2004
I'm not Dermot and that was not the problem either :)
On 12 nov 2004, at 22:54, Ross Finlayson wrote:
> At 01:26 PM 11/12/04, you wrote:
>> I tested this, and something is broken. it doesn't detect when to
>> send a rtsp-mh DESCRIBE request anymore and always sends SDP. So
>> basically there is no improvement over previous versions now.
>> Investigating what is missing..
> Note the code at line 170 of "RTSPClient.cpp":
> char const* acceptStr = allowKasennaProtocol
> ? "Accept: application/x-rtsp-mh, application/sdp\r\n"
> : "Accept: application/sdp\r\n";
> Compare this to the code that you had in your patch:
> + if (kasennaFlag)
> + acceptStr = "Accept: application/sdp\r\n";
> + else
> + acceptStr = "Accept: application/x-rtsp-mh,
> Note that in your patch, the test was reversed: The "Accept:" line
> contains "application/x-rtsp-mh" if "kasennaFlag" is False. This
> seemed wrong, so I reversed it.
> Ross Finlayson
> live-devel mailing list
> live-devel at lists.live.com
Derk-Jan Hartman (d.hartman at student.utwente dot nl)
More information about the live-devel