presentation api for non-screen devices demo oct, 29 2014 ntt communications saki homma

5
Presentation API for non- screen Devices Demo Oct, 29 2014 NTT Communications Saki Homma

Upload: brendan-powers

Post on 21-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Presentation API for non-screen Devices Demo Oct, 29 2014 NTT Communications Saki Homma

Presentation API for non-screen Devices DemoOct, 29 2014NTT CommunicationsSaki Homma

Page 2: Presentation API for non-screen Devices Demo Oct, 29 2014 NTT Communications Saki Homma

Communicate with non-screen devices

Non-screen DevicesWeb Application

Page 3: Presentation API for non-screen Devices Demo Oct, 29 2014 NTT Communications Saki Homma

Communicate with Sony Action Cam

navigator.presentation .startSession('urn:schemas-sony-com:service:ScalarWebAPI:1') .then(function(session) {…});

session.onmessage = function(mesg) {showLiveView(mesg);

}session.postMessage("getLiveView");

SSDP, Camera Remote API

Camera

urn

device-specific method

Page 4: Presentation API for non-screen Devices Demo Oct, 29 2014 NTT Communications Saki Homma

Demo Architecture

Presentation API shim

Browser

Device Driver module

JS Library

Node

WebSocket

Device-specificcommunication

XHR(SONY Camera Remote API)

Camera(SONY

HDR-AS100v)

Page 5: Presentation API for non-screen Devices Demo Oct, 29 2014 NTT Communications Saki Homma

Requirements

Indicates the filtering rule for which UA discover By web app with dedicated API (JS or internal). Browser discover all kinds of devices and notify web app.

Communicate various devices With the modules provide by the 3rd vendor (i.e. device

manufacturer) With the modules provided by browser vendor