• Zalewa PL's avatar
    mpjpeg: video streaming will no longer break and stop on Firefox · 0d2f4eed
    Zalewa PL authored
    mpjpeg video streamings would break and stop on Firefox after 1 - 30
    seconds.
    In order to fix this, two changes were made:
    1. Replaced all occurrences of '\n' character in mjpeg metadata
       with occurences of "\r\n".
    2. Added "Content-length: <packet-size>" metadata entry for each
       sent frame.
    
    The change has been tested on Google Chrome 17.0.963.78 and Firefox 10.0.2
    on lubuntu 11.10 and the streaming seems to work fine now.
    0d2f4eed
Name
Last commit
Last update
doc Loading commit data...
ffpresets Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
mt-work Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
cmdutils_common_opts.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
ffmpeg.c Loading commit data...
ffplay.c Loading commit data...
ffprobe.c Loading commit data...
ffserver.c Loading commit data...
library.mak Loading commit data...
version.sh Loading commit data...