Skip to content

williec89/Camera-Remote-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Camera-Remote-API

NOW support Liveview!! and please try it.

to start Livewview

  • for NEX-5R, call "startRecMode" and call "startLiveview"
  • for HDR-AS15, call "startLiveview"

Control Sony Device via Camera Remote API

This is Web app sample implementation that controls Sony Device via Camera Remote API.

for this sample, Web app may not find Device IP address and service end point. IP address and serivce end point are used as the fixed. the device discovery will be supported later.

How to run

  • please start WiFi on your Sony Deivce and connect your PC.
  • start Chrome web browser w/ "disable-web-security". this will allow Web app to use "Cross domain XHR".

chrome.exe --disable-web-security

  • or install this web app as chrome web app

setting -> tool -> extension function -> enable developer mode and select "webapp" directory by "install unpackaged extension function".

  • Select "Device Name" if you can find your deivce in the list
  • if not, please enter your Sony deivce's Service end point url
  • select "Action Name" if you can find the action in the list
  • if not, please enter your action on JSON message box.
  • push "Send Action".
  • you will be able to control Sony deivce w/ JSON message.

To Do List

  • make JavaScript lib of Camera Remote API
  • add SSDP for the device discovery
  • add more actions.
  • more rich UI

License

Copyright © 2014 Naoyuki Sato(naoyuki.sato@gmail.com) Licensed under the Apache License, Version 2.0

About

Control Sony Deivce via Camera Remote API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.3%
  • HTML 9.7%