Skip to main content

WebRTC SFU Sora Python SDK

Project description

Sora Python SDK

PyPI image License Actions status

Sora Python SDK は WebRTC SFU Sora の Python クライアントアプリケーションを開発するためのライブラリです。Sora C++ SDK をベースにしています。

About Shiguredo's open source software

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/blob/master/README.en.md before use.

時雨堂のオープンソースソフトウェアについて

利用前に https://github.com/shiguredo/oss をお読みください。

Sora Python SDK について

様々なプラットフォームに対応しすぐに使い始められる WebRTC SFU Sora 向けの Python SDK です。

特徴

  • Sora C++ SDK ベース
  • WebRTC 部分の機能は libwebrtc を採用
  • Windows / macOS / Linux (Ubuntu) プラットフォームに対応
  • NVIDIA Jetson に対応
  • Intel / Apple / NVIDIA のハードウェアデコーダー/エンコーダーに対応
  • OpenH264 を利用した H.264 のソフトウェアエンコーダー/デコーダーに対応
  • 物体検出などの入力に Sora 経由で受信した映像が利用できる
  • 音声認識などの入力に Sora 経由で受信した音声を利用できる
  • pip install sora_sdk でインストール可能

利用イメージ

  • データチャンネルを利用して Python において映像、音声を解析した結果を Sora 経由で配信する
  • Text to Speech の音声を Sora 経由で配信する
  • 映像入力に対して Pillow などで加工した映像を Sora を経由で配信する
  • A チャンネルの参加者からの映像と音声を B チャンネルに対して加工した上で Sora 経由で配信する

ドキュメント

Sora Python SDK

サンプル集

examplesを参照してください。

sora_sdk パッケージの追加

pip

$ pip install sora_sdk

Rye

Rye

$ rye add sora_sdk
$ rye sync

システム条件

  • WebRTC SFU Sora 2023.2.0 以降
  • Python 3.8 以上

対応プラットフォーム

  • Windows 11 x86_64 以降
  • macOS 13 arm64 以降
  • Ubuntu 22.04 x86_64
  • Ubuntu 20.04 arm64
    • Python 3.8 のみ対応
    • NVIDIA Jetson JetPack SDK 5.1.2

対応機能

優先実装

優先実装とは Sora のライセンスを契約頂いているお客様向けに Sora Python SDK の実装予定機能を有償にて前倒しで実装することです。

詳細は Discord やメールなどでお気軽にお問い合わせください

優先実装が可能な機能一覧

詳細は Discord やメールなどでお気軽にお問い合わせください

  • Ubuntu 22.04 arm64
    • Python 3.10
    • NVIDIA Jetson JetPack SDK 6.0

サポートについて

Discord

  • サポートしません
  • アドバイスします
  • フィードバック歓迎します

最新の状況などは Discord で共有しています。質問や相談も Discord でのみ受け付けています。

https://discord.gg/shiguredo

バグ報告

Discord へお願いします。

ライセンス

Apache License 2.0

Copyright 2023-2024, tnoho (Original Author)
Copyright 2023-2024, Wandbox LLC (Original Author)
Copyright 2023-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.

このリポジトリに含まれる shiguremaru.png ファイルのライセンスは CC BY-NC-ND 4.0 です。

OpenH264

https://www.openh264.org/BINARY_LICENSE.txt

"OpenH264 Video Codec provided by Cisco Systems, Inc."

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sora_sdk-2024.2.0.tar.gz (6.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sora_sdk-2024.2.0-cp312-cp312-win_amd64.whl (7.2 MB view details)

Uploaded CPython 3.12Windows x86-64

sora_sdk-2024.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

sora_sdk-2024.2.0-cp312-cp312-macosx_13_0_arm64.whl (6.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

sora_sdk-2024.2.0-cp311-cp311-win_amd64.whl (7.2 MB view details)

Uploaded CPython 3.11Windows x86-64

sora_sdk-2024.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

sora_sdk-2024.2.0-cp311-cp311-macosx_13_0_arm64.whl (6.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

sora_sdk-2024.2.0-cp310-cp310-win_amd64.whl (7.2 MB view details)

Uploaded CPython 3.10Windows x86-64

sora_sdk-2024.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

sora_sdk-2024.2.0-cp310-cp310-macosx_13_0_arm64.whl (6.4 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

sora_sdk-2024.2.0-cp39-cp39-win_amd64.whl (7.2 MB view details)

Uploaded CPython 3.9Windows x86-64

sora_sdk-2024.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

sora_sdk-2024.2.0-cp39-cp39-macosx_13_0_arm64.whl (6.4 MB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

sora_sdk-2024.2.0-cp38-cp38-win_amd64.whl (7.2 MB view details)

Uploaded CPython 3.8Windows x86-64

sora_sdk-2024.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

sora_sdk-2024.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

sora_sdk-2024.2.0-cp38-cp38-macosx_13_0_arm64.whl (6.4 MB view details)

Uploaded CPython 3.8macOS 13.0+ ARM64

File details

Details for the file sora_sdk-2024.2.0.tar.gz.

File metadata

  • Download URL: sora_sdk-2024.2.0.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for sora_sdk-2024.2.0.tar.gz
Algorithm Hash digest
SHA256 c75ca45ec0baf8df8ac9156f0938ff311c141038dc1f6975a3d2f73272eb66c2
MD5 5e20f727f10108acedddd6b0f32e3d1d
BLAKE2b-256 8cb1818825b59a029162a9fcb42fa53ae32db03bcd0a5832636d524953771a40

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3f603b20d2587896c27d255d6c2f28c6cf2f4de32cd662bdf74b827339ca8129
MD5 a4aa8b879bdbaf08c732427b34768b79
BLAKE2b-256 c79cd133203d52566097b8ac7b09a2c82c22bf56030dcd6bd405250f61dfc6e9

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c805b5f6f09c13fa5a794699f3635ffab4d4f1cc0808f666c2e5a44fcbee44fa
MD5 e6ea7868584deb033f0a10e833c264e9
BLAKE2b-256 8f150ad603e9332891766eb18c7c9644bf08e858396bb6f582989a6f77ed05f3

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 70662030468aaa94ca06f713c7688ae86842693be0d5b2a07c2e95d70e2d2b1e
MD5 311c34c2a3680a3cb759844caf850411
BLAKE2b-256 b841f87480bf1a4abfeb7e6bfc175c04306ed535faab386e6c78d9838c81af1c

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8c24d490c6d0a4101b89cef9f7712c6a55dd971890e7ae72e8552e41b56dcf9b
MD5 379ecf584425db71358d572768630cb4
BLAKE2b-256 b7573ffe6a30ddfcfe4ca3551da12969725bf6f729a200cd76dc72d9300d2824

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58be2eb9d85833370634a45d5663d2896f7cf3b1e46b1ef9099a8e68446b7c8d
MD5 07c22900866876fb3683b9cf27b0726c
BLAKE2b-256 3e213fd84bc8fd433e6c6a0ff355197b7555e195a59a468c8998cb8a44552837

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 522d66418b65c6d317c7cbdade4b0455e2f8452fe4f1ff2db62cc886a3adc218
MD5 88dd0092f97cef24fd9779ccc76ba2cd
BLAKE2b-256 41f84dcb53580ed183dac76d368a3b06cb51a0b12352dbc22226deeb89b6936a

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8bcaf0b8914dad061590215b1d285134df96c2981d5b6bf801fa6b3251084cb7
MD5 00eb5b8d58312118cb84f88c59d28dba
BLAKE2b-256 63f5034a8aa6482848a32ffc3f8d42ce95ec4de5e24a48846e56b359e41676ef

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 870ed57706baaa6a9f73bf402b61b3a488f46368e94cb99ef918b43f48cb0fba
MD5 db196285493a695bbb039f2ad8f68611
BLAKE2b-256 4f5c19fef8f8691adaf95340a7784e0138c4ec0abe4296a5037c3b57654cc6ec

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3f840e888d2e6885c3df4717ad67bac7e2c359f6f732a34a9cb42f5dc86645ee
MD5 e094d0feb979f67e69b47af332867feb
BLAKE2b-256 9f132ca522102d5f92a4e80e8a502f62a642f0a6b92a1819af87a0f1850d3fb1

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: sora_sdk-2024.2.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for sora_sdk-2024.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bd520604389dba986283e6937ba26157f0c1656624a10d9b70fc57fce4888687
MD5 dace40499e7d74dae29edc237e7b0af6
BLAKE2b-256 3a3b57cd76a4fd0facf1d68a4fc36f4d2238c60fae163863a67eb446cc9a8e63

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 364103dedcab6c6dc8b2707feff5e3985c48a3b7e9be13fdced3c26df0856c94
MD5 a5c1a5b9d8a756d07af74a77d1c14782
BLAKE2b-256 ae4a0f9489d2047ebd23680e47970343d03433ddef52f1329b940aae552ea7bf

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fb3f65f157499e2e50e61f605b30a48ac030c3fbb9fdcde3bad1588fec482c91
MD5 3c404d507dfb5b85b0c1fb34db758690
BLAKE2b-256 f1b91de444fe18c605d9c89041649e042f5e988b15fa6affb3448413bad92ffa

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: sora_sdk-2024.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for sora_sdk-2024.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f30d5243650561431213d6bf5445f2ea302511e281bc586c7418bb04cdcbe65c
MD5 607d2c714fce400b63d8a27737147416
BLAKE2b-256 1f94d67fe9248b53623529430484e854e1e5adc45f10f0cb042890aeb250f7da

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 28b7a162b8ee564dda7c8dccd885b1df8ddc9c52ab9144563d63c40ac1ac8f41
MD5 715c12bf13e52ed68ef88cf7143ef225
BLAKE2b-256 61625707d73bf86ae7c87506bf1e349e5bc81ba8e61c6cdb60fddd9be2ae634e

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b7bc12861cafb5b181d0792d0ebee49080494cc573a3c9c4df2735687f97a1b2
MD5 24dcfe7149ffc38c7d11a0d29e4736b6
BLAKE2b-256 8e8a370a06d7872e6731107b1a99c9d87897e9f945789c19435f9eaac12fca0e

See more details on using hashes here.

File details

Details for the file sora_sdk-2024.2.0-cp38-cp38-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for sora_sdk-2024.2.0-cp38-cp38-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a612a2fa45a786402f1c24e224b7d253c6f2c9f82927ae38d266bd943bd27a37
MD5 5a0f15f2da56d07a8bffaa0a4a10bc11
BLAKE2b-256 e7f40632c7fdd1cf32f9cd1da83e10cd652b87b7afad08a6d5c854140ff0b743

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page