Hacker News new | past | comments | ask | show | jobs | submit login

Huh. Today I learned about Content-Type "multipart/x-mixed-replace". The webcam images are jpegs that are continously replaced by the server in the same HTTP response. It's the smoothest live webcam transmission I've seen so far.

Relevant headers:

        HTTP/1.1 200 OK
	Connection: close
	Content-Type: multipart/x-mixed-replace; boundary=--myboundary
	Content-Length: 99999999
	Cache-control: no-cache, must revalidate
http://en.wikipedia.org/wiki/MIME#Mixed-Replace



It's not so smooth for me. :(




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: