JPEG Stream
-
I've been trying to display a jpeg stream in QWebView.
The html file shown in the QWebView is simple; uses img tag to set the source of the image to "http://localhost:9091" . Yet the QWebView shows nothing and I don't see any errors either.
Chrome or Safari have no problem displaying the stream. The content type in the header is correctly shown as image/jpeg . QWebView works just fine with static images ...
Is there a better way to display a jpeg stream?
Appreciate help.
Update
It seems the culprit might still be Content-Type: multipart/x-mixed-replace ...