Skip to content

fabnavi/SonyCameraController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SonyCameraController

try it!

$ npm install
$ npm start 

API

post(method<String>, params<String?>, version<String?>) => <Promise>
post("getSupportedShootMode");

post("getShootMode")
.then(post("setShootMode","still"))
.then(post("actTakePicture"))
.then((res) => {
  console.log(res.data.result);
})
.then(post("getEvent", true, "1.1"))
.catch((err)=> {
  console.error(err);
});
wait(time<String?>) => <Promise>
post("setShootMode", "movie")
.then(post("startMovieRec"))
.then(post("getEvent", true))
.then(wait(5000))
.then(post("stopMovieRec"))
.catch((err)=> {
  console.error(err);
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published