Hello Camera Remote API

  • Published on
    10-Jun-2015

  • View
    508

  • Download
    2

DESCRIPTION

During this session you'll learn how to develop remote control apps for Sony Cameras. We'll connect the smartphone to the camera over Wi-Fi, your app will then start working as a client and you'll be able to call the APIs. We'll also introduce Remote API beta SDK that enables shutter speed functionality, white balance and ISO settings.

Transcript

  • 1. ConfidentialPA12014-04-141 (Supplementary information) Hello Camera Remote API Sony Developer Program Copyright 2014 Sony Corporation An introduction

2. ConfidentialPA12014-04-142 c (Supplementary information)Department Copyrightyy.mm.dd2 James Newnorth Software Developer Started programming at the age of 12 Fascinated by game development 10+ programming languages Running a non-profit software development organization Huge fan of WebGL/JavaScript Believes wearables is the future 3. ConfidentialPA12014-04-143 c (Supplementary information)Department Copyrightyy.mm.dd3 developer.sony.com/develop/cameras/ Download the Camera Remote API beta SDK 4. ConfidentialPA12014-04-144 c (Supplementary information)Department Copyrightyy.mm.dd4 Few of the cameras that supports Camera Remote API 5. ConfidentialPA12014-04-145 c (Supplementary information)Department Copyrightyy.mm.dd5 DSC-QX10 DSC-QX100 Lens-style cameras 6. ConfidentialPA12014-04-146 c (Supplementary information)Department Copyrightyy.mm.dd6 DSC-QX10 DSC-QX100 18.9 MP 1/2.3 image sensor F3.3 to F5.9 10x optical zoom 1080/30p HD video 20.2 MP 1.0 image sensor F1.8 to F4.9 3.6x optical zoom 1080/30p HD video Lens-style cameras 7. ConfidentialPA12014-04-147 c (Supplementary information)Department Copyrightyy.mm.dd7 New API features for the lens-style camera DSC-QX10 Before v1.50 Image capture Movie recording Self timer Post view image size Zoom Live view Event notification With the latest firmware New in v1.50 Exposure compensation Still size ISO speed rate White balance Touch AF position Exposure mode Date/Time setup Beep mode 8. ConfidentialPA12014-04-148 c (Supplementary information)Department Copyrightyy.mm.dd8 New API features for the lens-style camera DSC-QX100 Before v1.50 Image capture Movie recording Self timer Post view image size Zoom Live view Event notification With the latest firmware New in v1.50 Exposure compensation Still size ISO speed rate White balance Touch AF position Exposure mode Date/Time setup Beep mode Shutter speed Still size F number 9. ConfidentialPA12014-04-149 c (Supplementary information)Department Copyrightyy.mm.dd9 Communication life cycle 10. ConfidentialPA12014-04-1410 c (Supplementary information)Department Copyrightyy.mm.dd10 Overview of communication life cycle with the camera 11. ConfidentialPA12014-04-1411 c (Supplementary information)Department Copyrightyy.mm.dd11 Simple Service Discovery Protocol A network protocol HTTPU 239.255.255.250:1900 No DHCP or DNS Services uses NOTIFY Clients uses M-SEARCH 12. ConfidentialPA12014-04-1412 c (Supplementary information)Department Copyrightyy.mm.dd12 Overview of communication life cycle with the camera 13. ConfidentialPA12014-04-1413 c (Supplementary information)Department Copyrightyy.mm.dd13 Accessing the API 14. ConfidentialPA12014-04-1414 c (Supplementary information)Department Copyrightyy.mm.dd14 Accessing the API Discovery request M-SEARCH * HTTP/1.1rn HOST: 239.255.255.250:1900rn MAN: sspd:discoverrn MX: 1rn ST: urn:schemas-sony-com:service:ScalarWebAPI:1rn rn 15. ConfidentialPA12014-04-1415 c (Supplementary information)Department Copyrightyy.mm.dd15 Accessing the API Discovery response HTTP/1.1 200 OKrn CACHE-CONTROL: max-age=1800rn EXT: rn LOCATION: http://10.0.0.1:64321/DmsRmtDesc.xmlrn SERVER: UPnP/1.0 SonyImagingDevice/1.0rn ST: urn:schemas-sony-com:service:ScalarWebAPI:1rn USN: uuid:00000000-0005-0010-8000-f02765bec6dd::urn:schemas-sony-com:service:ScalarWebAPI:1rn X-AV-Physical-Unit-Info: pa=""; pl=;rn X-AV-Server-Info: av=5.0; hn=""; cn="Sony Corporation"; mn="SonyImagingDevice"; mv="1.0";rn rn 16. ConfidentialPA12014-04-1416 c (Supplementary information)Department Copyrightyy.mm.dd16 Making API calls Get available API list { method: getAvailableApiList, params: [], id: 1, version: 1.0 } 17. ConfidentialPA12014-04-1417 c (Supplementary information)Department Copyrightyy.mm.dd17 Making API calls Taking a picture { method: actTakePicture, params: [], id: 1, version: 1.0 } 18. ConfidentialPA12014-04-1418 c (Supplementary information)Department Copyrightyy.mm.dd18 The sample code Found in the Camera Remote API beta SDK 19. ConfidentialPA12014-04-1419 c (Supplementary information)Department Copyrightyy.mm.dd19 The sample code 20. ConfidentialPA12014-04-1420 c (Supplementary information)Department Copyrightyy.mm.dd20 The sample code 21. ConfidentialPA12014-04-1421 c (Supplementary information)Department Copyrightyy.mm.dd21 developer.sony.com/develop/cameras/ Download the Camera Remote API beta SDK 22. ConfidentialPA12014-04-1422