[Live-devel] Kasenna auto-detect patch

Derk-Jan Hartman hartman at videolan.org
Fri Nov 12 23:27:05 PST 2004


I'm not Dermot and that was not the problem either :)

DJ

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..
>
> Dermot,
>
> 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, 
> application/sdp\r\n";
>
> 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.COM
> 	<http://www.live.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
>
>
---
Universiteit Twente
Derk-Jan Hartman (d.hartman at student.utwente dot nl)
http://home.student.utwente.nl/d.hartman



More information about the live-devel mailing list