Aktuell sendet der Movieplayer einen nicht ganz HTTP-konformen Request an VLC, um den Stream abzuholen.
Dieses Diff behebt das Problem:
Code: Alles auswählen
RCS file: /cvs/tuxbox/apps/tuxbox/neutrino/src/gui/movieplayer.cpp,v
retrieving revision 1.156
diff -u -p -r1.156 movieplayer.cpp
--- a/movieplayer.cpp 7 Sep 2007 01:38:02 -0000 1.156
+++ b/movieplayer.cpp 16 Oct 2007 18:54:03 -0000
@@ -811,7 +811,12 @@ ReceiveStreamThread (void *mrl)
// Skip HTTP header
- const char * msg = "GET /dboxstream HTTP/1.0\r\n\r\n";
+ std::string streamrequest = "GET /dboxstream HTTP/1.0\r\nHost: ";
+ streamrequest += g_settings.streaming_server_ip;
+ streamrequest += ':';
+ streamrequest += g_settings.streaming_server_port;
+ streamrequest += "\r\n\r\n";
+ const char * msg = streamrequest.c_str();
int msglen = strlen (msg);
if(send (skt, msg, msglen, 0) == -1)
{
[url]hddp://www.fiddlertool.com/fiddler/[/url]
Ohne dieses Diff erkennt Fiddler nur einen Bad Request, wenn der Movieplayer den Stream abholen will.
Gruß
Jens