Coder Social home page Coder Social logo

skyway-conf's Introduction

SkyWay Conference

SkyWayを利用したWeb会議アプリ「SkyWay Conference」のソースコードです。

SkyWay Conf

利用するには、SkyWayのへの登録とアプリケーション作成が必要です。
SkyWayにまだアカウントを持っていない方は、以下のサイトから登録を行って下さい。
https://console-webrtc-free.ecl.ntt.com/users/registration

アプリケーション作成時は、利用可能ドメインに localhost を追加して下さい。

ビルド方法

1. ソースコードをダウンロード

$ git clone https://github.com/skyway/skyway-conf.git

2. APIキーを追記

SkyWayのアプリケーションのAPIキーを追記して下さい。

src/conf/utils/skyway.ts

import Peer, { SfuRoom } from "skyway-js";

export const initPeer = (forceTurn: boolean): Promise<Peer> => {
  return new Promise((resolve, reject) => {
    const peer = new Peer({
      key: "", //ここにAPIキーを追記
      debug: 2,
      config: {
        iceTransportPolicy: forceTurn ? "relay" : "all",
      },
    });

3. 実行

$ npm install
$ npm run dev

以下のURLにアクセスして動作確認して下さい。
http://localhost:9000/webpack-dev-server/

注: SkyWay Confで利用している navigator.mediaDevices.getUserMedia は、localhost以外のサイトでは、TLS/SSLにより保護されたサイトでしか利用できません。そのため、コンソールに出てくる http://0.0.0.0:9000/webpack-dev-server/ では動作確認できませんので、ご注意下さい。

プロダクション環境へのデプロイ

以下のコマンドで、プロダクション環境用のビルドを行います。

$ npm run build

docs フォルダに生成された以下のファイルを、ご自身で管理されているサーバにアップロードしてください。

image/
conf.bundle.js
conf.html
index.bundle.js
index.html
vendor.bundle.js

注: SkyWayのダッシュボードの「利用可能ドメイン」にご自身のサーバのドメイン名を登録して下さい。
注: TLS/SSLにより保護されたサイトでお使い下さい。
注: 公開サーバにアップロードすると誰でも利用可能な状態になりますので、アクセス制限や認証を行って下さい。

動作環境

  • Google Chrome 最新の安定版
  • Firefox 最新の安定版
  • Safari 最新の安定版
  • Microsoft Edge 最新の安定版(Chromium版 v79以上)

Android Chrome、Mobile Safari(iOS,iPadOS)でも利用可能ですが、画面UIはモバイルデバイスに最適化されていないため使いにくい場合があります。Android Firefoxについてはデバイスの選択がうまく動作しない不具合があるためご利用はお控えください。

サポート

ビルド方法やWebサーバへの設置、カスタマイズに関するテクニカルサポートは提供していません。

IssueやPullRequestの作成について

原則対応致しません。不具合修正や機能追加を行いたい場合は、ご自身でリポジトリをForkして行って下さい。

License / Copyright

MIT License
Copyright (c) 2020 NTT Communications Corp.

ソフトウェアの一部に Apache License, Version 2.0 のソフトウェアが含まれています。

skyway-conf's People

Contributors

iwashi avatar leaysgur avatar rokihiro avatar yusuke84 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.