nttcom / skyway-iot-sdk

A project page for SkyWay IoT SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Important notice : This experimental SDK has been deprecated. We recommend you migrating to SkyWay WebRTC GW.


SkyWay IoT SDK

Project repository for SkyWay IoT SDK (At this moment, open beta feature).

iot sdk over view

What's SkyWay IoT SDK?

SkyWay IoT SDK is headless WebRTC app developement kit for linux box. Working together with SkyWay and Janus Gateway, we can build global accessible WebRTC gateway services even though under NAT circumstances. Since this SDK leveraging WebRTC as a gateway feature, more flexible and extensible IoT apps we can build than using browser or mobile. For instance,

  • Transfer video from ONVIF security camera.
  • Add AI features, such as face detection, on top of monitoring app.
  • Enable MQTT device operation from outside without global broaker server.

Coding with SkyWay IoT SDK is super easy, especially you use SiRu (SkyWay IoT Room Utility) framework. For instance, the snipet to get media streaming and MQTT data from IoT device is shown below.

const client = new SiRuClient('myroom', {key: 'YOUR_API_KEY'});

client.on('meta', profile => {
  client.requestStreaming(profile.uuid)
    .then(stream => video.srcObject = stream);

  client.subscribe('topic/temperature');

  client.on('message', (topic, mesg) => {
    console.log(topic, mesg);
  });

  client.publish('topic/operation', 'hello');
})

New features in 0.1.x

  • Running 3rd party app is not needed any more.
  • MQTT relay feature is supported.
  • Large size data transfer ( about 60KB ) is supported.
  • Stability improved.

Platforms

Platforms shown berow are being tested at this moment.

  • device
    • Ubuntu 16.04
    • Raspbian Jessie and Stretch
  • client
    • Chrome
    • Firefox

Dive In!

Please check below

Temporary unsupported documents.


Copyright. NTT Communications All Rights Reserved.

About

A project page for SkyWay IoT SDK


Languages

Language:Shell 100.0%