• Makes one stream snapshot to jpeg file and this file to cloud storage. The id of file is returned in event stream_snapshot.
Edit
Edit
fields type description
streamId string stream id
snapshotId string snapshot id, must be unique
metaData table [opt] custom user data
Edit
  • none.
Edit
				
					local cameras = require("cameras")

cameras.make_stream_snapshot( "588b7eb528b12d03be86f36f",
                              "5fc4dedc00000028347b0323",
                              { ["meta"] = "data" }
                            )