Streaming QT file through proxy server

Matthias Welwarsky matze at stud.fbi.fh-darmstadt.de
Mon Feb 10 20:22:35 GMT 2003


On Monday 10 February 2003 15:14, Michael Goffioul wrote:
> At work, I'm behind a proxy server (configured manually), and I cannot
> read streaming quicktime file from konqueror (using the embeddable
> media player), like those from http://www.apple.com/trailers/.
> Each time I want to see a trailer, the embedded media player window
> appear, I click on the "Play" button, and then nothing happens.
> I attached a piece of debug output (I wonder if the fact that the
> HTTP header doesn't mention quicktime file as accepted format might
> be part of the explanation).
>
> I have xine-cvs installed, and I'm using KDE-CVS from last night.
> Netscape + crossover + quicktime works OK. Any help would be
> appreciated. Thanks.
>

I'll quickly discuss the debug messages you sent, and will give a few hints.

Konqueror creates a PlayObject for the ressource:
> artskde: KDE::PlayObject: created as proxy for URL http://blafasel

Now it says "Play",
> artskde: KDE::PlayObject::play()

and starts streaming
> konqueror: (re)starting stream
> artskde: KDE::PlayObject::play(): creator called

now some noise from the proxy authentication
> kio (kioslave): SlaveBase::checkCachedAuthInfo window = 0 url = 
> http://blafasel
> kio (KPasswdServer): KPasswdServer::checkAuthInfo: User= , WindowId = 0
> kio (kioslave): SlaveBase::checkCachedAuthInfo window = 0 url = 
> http://webproxy:8123
> kio (KPasswdServer): KPasswdServer::checkAuthInfo: User= , WindowId = 0

"gimme, gimme"
> kio_http: (21192) ============ Sending Header:
> kio_http: (21192) GET http://blafasel HTTP/1.1
> kio_http: (21192) Connection: close
> kio_http: (21192) User-Agent: aRts/1.1.0
> kio_http: (21192) Accept: audio/x-mp3, video/mpeg, application/x-ogg
> kio_http: (21192) Accept-Encoding: x-gzip, x-deflate, gzip, deflate, 
> identity
> kio_http: (21192) Accept-Charset: iso-8859-1, utf-8;q=0.5, *;q=0.5
> kio_http: (21192) Accept-Language: en
> kio_http: (21192) Host: a772.g.akamai.net

"there you are"
> kio_http: (21192) ============ Received Response:
> kio_http: (21192) "HTTP/1.0 200 OK"
> kio_http: (21192) "Server: Apache/1.3.9 (Mac OS X Server)"
> kio_http: (21192) "Last-Modified: Wed, 31 Oct 2001 19:27:59 GMT"
> kio_http: (21192) "ETag: "139a-228b-3be050bf""
> kio_http: (21192) "Accept-Ranges: bytes"
> kio_http: (21192) "Content-Length: 8843"
> kio_http: (21192) "Content-Type: video/quicktime"
> kio_http: (21192) "Date: Mon, 20 Jan 2003 08:46:49 GMT"
> kio_http: (21192) "Age: 7"
> kio_http: (21192) "X-Cache: HIT from webproxy0"
> kio_http: (21192) "Proxy-Connection: close"
> kio_http: (21192) --empty--
OK, Server starts streaming

Konqueror correctly detects the mimetype
> konqueror: got mimetype: video/quicktime
> konqueror: slotMimeType called: video/quicktime

oops. Konqueror tells KIO to close the stream.
> konqueror: streamEnd()

Now, it's quite clear why this happens: Konqueror tries to find an 
Arts-Playobject that can cope with "video/quicktime". However, it also needs 
to find an Object that implements the Arts::StreamPlayObject interface, which 
the xine playobject does not. Currently, there is no playobject that supports 
Quicktime _Streams. Until someone fixes the Xine playobject.

This is the problem, AFAICS. I don't think it's got anything to do with the 
proxy involved.

regards,
	matze

-- 
Matthias Welwarsky
Fachschaft Informatik FH Darmstadt
Email: matze at stud.fbi.fh-darmstadt.de

"all software sucks equally, but some software is more equal"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20030210/47cabd5b/attachment.sig>


More information about the kde-multimedia mailing list