when I was writing my php snippet to do the telnet to port 554 and get
the response in order to time it, I noticed that I got no response if I
sent the DESCRIBE line terminated with a "\n\n" it only worked from here
if I terminated the line with a "\r\n\r\n"
just thought I'd have a look in the Alien perl code, and I noticed in
line 26 of RTSPScanHeaders.pm the request is formed with a "\n\n"
termination. I've just changed this to the "\r\n\r\n" termination, and
all is working perfectly correctly here now.
I'm fascinated as to how this can only be affecting me though?
here's the diff:
Code:
--------------------
getz:/usr/local/slimserver/Plugins/Alien# diff RTSPScanHeaders.pm
RTSPScanHeaders.pm.orig
26c26
< my $request = "DESCRIBE $url RTSP/1.0\r\n\r\n";
---
> my $request = "DESCRIBE $url RTSP/1.0\n\n";
--------------------
many thanks to everyone for their help
Matt
--
MattC
------------------------------------------------------------------------
MattC's Profile: http://forums.slimdevices.com/member.php?userid=4127
View this thread: http://forums.slimdevices.com/showthread.php?t=51547
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins