Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions htdocs/webcam.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ window.webcam = {
this.get_movie()._snap('', this.quality, this.shutter_sound ? 1 : 0, 0 );
},

freeze_silently: function() {
// freeze webcam image without any sound (capture but do not upload)
this.get_movie()._snap('', this.quality, 0, 0 );
},

upload: function(url, callback) {
// upload image to server after taking snapshot
// specify fully-qualified URL to server API script
Expand Down