We will not respond to PRs or issues that have not been discussed on Discord. Also, Discord is only available in Japanese.
Please read https://github.com/shiguredo/oss before use.
利用前に https://github.com/shiguredo/oss をお読みください。
WebRTC Signaling Server Ayame をブラウザから利用する SDK です。
npm install @open-ayame/ayame-web-sdk
pnpm add @open-ayame/ayame-web-sdk
最新のブラウザを利用してください。
- Google Chrome
- Apple Safari
- Mozilla Firefox
- Microsoft Edge
Ayame Web SDK を利用した、開発ツールです。
- Ayame Labo を利用する例です
GitHub ログイン名@ayame-devtools
というルーム ID にしていますが、ルーム名のayame-devtools
は任意の文字列に変更できます- シグナリングキーは Ayame Labo のダッシュボード上で取得してください
# cp .env.template .env.local
VITE_AYAME_SIGNALING_URL=wss://ayame-labo.shiguredo.app/signaling
VITE_AYAME_ROOM_ID_PREFIX={GitHubログイン名}@
VITE_AYAME_ROOM_NAME=ayame-devtools
VITE_AYAME_SIGNALING_KEY={シグナリングキー}
pnpm install
pnpm build
pnpm dev
http://localhost:5173/ にアクセスすると、以下のような画面が表示されます。
この画面を 2 つタブで開いて、 Connect
ボタンを押して映像が双方向に表示されたら成功です。
以下から利用できます。
https://openayame.github.io/ayame-web-sdk/devtools/index.html
OpenAyame/ayame-web-sdk-examples に最小限のサンプルコードを用意しています。
API ドキュメントは以下の URL を参照してください。
https://openayame.github.io/ayame-web-sdk/typedoc/index.html
Apache License 2.0
Copyright 2019-2024, Shiguredo Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.