Skip to content

Move _STREAM_BOUNDARY before _STREAM_PART #131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

abergmann
Copy link
Contributor

The boundary delimiter (_STREAM_BOUNDARY) needs to be send before the body part (_STREAM_PART) too follow RFC2046. This caused ffplay/ffmpeg to fail to open the MJPEG stream.

RFC2046: 5.1. Multipart Media Type
"... The body must then contain one or more body parts, each preceded by a boundary delimiter line, and the last one followed by a closing boundary delimiter line. ..."

After the change ffplay, ffmpeg and mplayer worked fine with the MJPEG stream.

This fix was already merged into arduino-esp32 and esp32-camera.

The boundary delimiter (_STREAM_BOUNDARY) needs to be send before the
body part (_STREAM_PART) too follow RFC2046. This caused ffplay/ffmpeg
to fail to open the MJPEG stream.
@abergmann abergmann requested a review from me-no-dev February 23, 2020 08:20
@me-no-dev
Copy link
Member

thanks :)

@XiaochaoGONG XiaochaoGONG merged commit bbd7ce6 into espressif:master Feb 24, 2020
espressif-bot pushed a commit that referenced this pull request Feb 2, 2024
Move _STREAM_BOUNDARY before _STREAM_PART (#131)

See merge request face-recognition-framework/esp-who!69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants