reassign 491548 libxine1
retitle  491548 xine: Fail with http://www.filmarkivet.no/open/ because RTSP 
from DSS is not supported
found 491548 1.1.14-1
thanks

I've checked some more, and the issue at hand seem to be that xine-lib
do not handle RTSP from the Darwin Streaming Server.  It check the
server string for "Real" and "Helix", and refuses to connect if the
server string is as it is here

  DSS/5.5.5 (Build/489.16; Platform/Win32; Release/Darwin; state/beta; )

I tested a xine-lib patch to recognize "DSS" as well as "Real" and
"Helix", but it crashed in real_setup_and_get_header() because this
call failed:

  challenge1=strdup(rtsp_search_answers(rtsp_session,"RealChallenge1"));

I assume the DSS server is missing that header or something.  The
value is used to calculate some checksum.  No idea how the protocol
work, so I did not investigate any further.  The DSS server work with
gmplayer and vlc, so perhaps a peek at how it is handled there is a
good idea.

This is the patch I used:

--- xine-lib-1.1.14.orig/src/input/librtsp/rtsp_session.c
+++ xine-lib-1.1.14/src/input/librtsp/rtsp_session.c
@@ -120,7 +120,7 @@
       server=strdup("unknown");
   }

-  if (strstr(server,"Real") || strstr(server,"Helix"))
+  if (strstr(server,"Real") || strstr(server,"Helix") || strstr(server,"DSS"))
   {
     /* we are talking to a real server ... */


Because of this simple test, I believe the issue is in xine-lib and
not in xine-ui, and thus reassign this bug.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to