Skip to content

Commit

Permalink
Add utility cam_get.php to get cam.jpg and touch status file
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Tidey committed Nov 13, 2015
1 parent c3c7578 commit 2b42b7c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions www/cam_get.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

touch("status_mjpeg.txt");
header("Content-Type: image/jpeg");
readfile("/dev/shm/mjpeg/cam.jpg");

?>

0 comments on commit 2b42b7c

Please sign in to comment.