- Support for OMRON MX2 VFD.
- Better error handling in WiFi configuration.
- Fix open WiFi access.
+ - Fixes for MJPEG video format. Should help with video on iPhone.
## v0.4.12
- Segments straddle arc in linearization.
def format_frame(frame):
- frame = [
+ frame = [b'--', VideoHandler.boundary.encode('utf8'), b'\r\n',
b'Content-type: image/jpeg\r\n',
b'Content-length: ', str(len(frame)).encode('utf8'), b'\r\n\r\n',
- frame, VideoHandler.boundary.encode('utf8'), b'\n']
+ frame, b'\r\n\r\n']
return b''.join(frame)
class VideoHandler(web.RequestHandler):
- boundary = '---boundary---'
+ boundary = 'f36a3a39e5c955484390e0e3a6b031d145ec893ae98489416d11409bc478e38'
def __init__(self, app, request, **kwargs):