diff --git a/raspberry/roberto/views/frontend/routes.py b/raspberry/roberto/views/frontend/routes.py index 908efe1..23a3321 100644 --- a/raspberry/roberto/views/frontend/routes.py +++ b/raspberry/roberto/views/frontend/routes.py @@ -11,6 +11,10 @@ from flask import Response def index(): return render_template('index.html') +@frontend_blueprint.route('/index_mjpeg.html') +def index_mjpeg(): + return render_template('index_mjpeg.html') + def gen(camera): """Video streaming generator function.""" while True: diff --git a/raspberry/roberto/views/frontend/templates/index_mjpeg.html b/raspberry/roberto/views/frontend/templates/index_mjpeg.html new file mode 100644 index 0000000..a794836 --- /dev/null +++ b/raspberry/roberto/views/frontend/templates/index_mjpeg.html @@ -0,0 +1,198 @@ + + + + + + + + Roberto + + + + + +

Video Streaming Demonstration

+ {# #} + +
+ + +
+
+
+
+ +
+ + +
+
+
+ + + + + + + + + + + + + + + + +