Comment 36 for bug 225379

Revision history for this message
In , Tom-stoeveken (tom-stoeveken) wrote :

Hi,
I think I can help to provide the test environment. My tool MJPG-Streamer[1] can be used without webcams by using a special input plugin, toggling two JPEG-files and streaming them to Firefox via HTTP 1.0.

Just compile the tool from source, or grab the *.deb package if you are using Ubuntu 8.04. Then execute MJPG-Streamer as follows:

$ make clean all
$ sudo make install
$ export LD_LIBRARY_PATH="$(pwd)"
$ ./mjpg_streamer -i "input_testpicture.so"

This gives a clean and reproducible way to setup the stream source locally. I can reproduce this described bug by pointing the Firefox to http://127.0.0.1:8080/?action=stream

There are two annoyances:
* I have to reload the page one time, before streaming works
* The stream does not stop if I leave, the connection is not closed by Firefox as long as an instance of Firefox is still running. Leaving the page (closing tab, surfing to another URL) does not close the connection.

If you want to check if it is still buggy, or if the issue was solved you may run "wireshark" on the local loopback interface "lo". If your system is not noisy, it is already sufficient to have a look at the traffic by using a tool like "iptraf"[2] or any other bandwidth measuring tool or even a Gnome applet.

I hope this proposed test-setup helps to fix this bug.

Kind regards,
Tom

[1] http://mjpg-streamer.sourceforge.net/
[2] http://iptraf.seul.org/