nttcom / skyway-iot-sdk

A project page for SkyWay IoT SDK
25 stars 4 forks source link

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,

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

Platforms

Platforms shown berow are being tested at this moment.

Dive In!

Please check below

Temporary unsupported documents.


Copyright. NTT Communications All Rights Reserved.