@app.route('/cameras/<camid>/timelapses/<filename>', methods=['GET'])
def get_timelapse(camid, filename):
    camera = get_camera_from_id(camid)
    path = camera.get_photo_path(filename)
    return Response(stream_timelapse(path),
                    mimetype='multipart/x-mixed-replace; boundary=frame')
Return a time lapse sequence. Time lapses are returned as a streamed
dataset/ETHPy150Open miguelgrinberg/oreilly-flask-apis-video/camera/camera.py/get_timelapse