Skip to main content

WebRTC SFU Sora Python SDK

Project description

Sora Python SDK

PyPI License

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 に対応
  • ハードウェアデコーダー/エンコーダーに対応
  • 物体検出などの入力に Sora 経由で受信した映像が利用できる
  • 音声認識などの入力に Sora 経由で受信した音声を利用できる
  • pip install sora_sdk でインストール可能

利用イメージ

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

ドキュメント

Sora Python SDK

sora_sdk パッケージの追加

pip

$ pip install sora_sdk

Rye

Rye

$ rye add sora_sdk

システム条件

  • WebRTC SFU Sora 2023.1.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 系

対応機能

  • Sora の機能へ追従
  • VP8 / VP9 / AV1 / H.264 のハードウェアアクセラレーター (HWA) 対応

優先実装

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

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

サポートについて

Discord

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

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

https://discord.gg/shiguredo

バグ報告

Discord へお願いします。

ライセンス

Apache License 2.0

Copyright 2023-2023, tnoho (Original Author)
Copyright 2023-2023, Wandbox LLC (Original Author)
Copyright 2023-2023, 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 です。

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-2023.1.1.tar.gz (11.0 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-2023.1.1-cp311-cp311-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.11Windows x86-64

sora_sdk-2023.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

sora_sdk-2023.1.1-cp311-cp311-macosx_13_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

sora_sdk-2023.1.1-cp310-cp310-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.10Windows x86-64

sora_sdk-2023.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

sora_sdk-2023.1.1-cp310-cp310-macosx_13_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

sora_sdk-2023.1.1-cp39-cp39-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.9Windows x86-64

sora_sdk-2023.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

sora_sdk-2023.1.1-cp39-cp39-macosx_13_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

sora_sdk-2023.1.1-cp38-cp38-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.8Windows x86-64

sora_sdk-2023.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

sora_sdk-2023.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

sora_sdk-2023.1.1-cp38-cp38-macosx_13_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.8macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: sora_sdk-2023.1.1.tar.gz
  • Upload date:
  • Size: 11.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for sora_sdk-2023.1.1.tar.gz
Algorithm Hash digest
SHA256 8f15db896dff8815c7b0437bc52ee853ec32840d5af0646339b4dafcb270efc9
MD5 99b1efc0905faf2e69724ce0b8b2119f
BLAKE2b-256 f9451ebe27219be51426bf77ea64377401f535f441b2b625988b249661adc836

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sora_sdk-2023.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 66b0596c641cea27e91bafaa724a79336fc29e418d0af05cc654297d8d19712e
MD5 5d39d53407ae5acfc6c3c908ecc703a7
BLAKE2b-256 7333cde28c661e00cab7a8ee8cb13da7657bd96c86e48a0a20f84bfe572044dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sora_sdk-2023.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ac3b7e83e615e7785f00596e196c48e9d4d74018fae511aaa4e4997e4e7d9ab
MD5 1d4fff3bf55578b6b3954cd3f7e558e5
BLAKE2b-256 b51234aa10842c8fc890080943741a354028161debce6b6a78e66b5a0f7f400a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sora_sdk-2023.1.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b9f94eae2c6e4bf5f89532f4b67a49133ee797cc099cdee9a94f7269d9a9d546
MD5 a3d8d9c66eb962cbaa3f07e29414102e
BLAKE2b-256 53bd0b92a123becdb5c5668dfe699f175fcfda0e454133ec9a452f6ce8eea576

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sora_sdk-2023.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6ff606fb4e7a3ce098bc38a88c34d3ff2f2796be635172ccc80dc5faa5787685
MD5 5c0d5ceeeee0c3fd57f2939442663a6a
BLAKE2b-256 9211fe1429910876d43a23927b02c881b82ac39c5b6567bf5dd8a5eaa468b867

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sora_sdk-2023.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2a9d3d9b716fd87de028524654fa6bf87a3e39a04b3d36dba3324aa17deaaf63
MD5 358a723cc1aeb015850015b02ba13e57
BLAKE2b-256 4c62b7148acbf3fa9721bac372b2b0855e29509ff28210f52d2c943d2283a08d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sora_sdk-2023.1.1-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 922dd19313e38847790f95fb1c81082ca5789105083a87278bfe3618641d0d89
MD5 a6ffc94f88d6650ae21e228f4b6ad178
BLAKE2b-256 b382f4e064847369daabd4a37828104765f6055e9803b831a9ed134a5440c03a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sora_sdk-2023.1.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for sora_sdk-2023.1.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 dc0d785f7e910a80b74a2227543c4b22e3590d67c72f3108e7a63eb856bb8a98
MD5 d549e734517a2be0b043fca1d85c2a95
BLAKE2b-256 3de7a9ab2a3d21192e0e1fa46d68a4b94b13a3e0fa98e6b33abeb1550503a306

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sora_sdk-2023.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 35a450b5c6145a131fefa8dbd8b43991696fe99cf5cb4af0b9f71746f2822a0b
MD5 b77e04d37c034c34e537356229f54820
BLAKE2b-256 7844e17676b028a1b20af7b8dcdc562d263864f69946c400507bc60256f28335

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sora_sdk-2023.1.1-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cf32d9d9e6864c745b903d2c60ca7ed201c43d2567fa01fca17303aa9c9fb985
MD5 f67f430bd2678e93e3d322e436cfa57c
BLAKE2b-256 393b1748ff4a5d24df9e3b60cebf6f8961bb5807a40b54c20136d4ef4b64272d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sora_sdk-2023.1.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for sora_sdk-2023.1.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 54d1a5f5387bbd84c331257bfc7debfe8c9572446da9db3d836b55da324ad06d
MD5 7b7d96d0c90e3d46fded04c8a5e7b27e
BLAKE2b-256 7ebc97e3a0cb5acbf60af279211f133ddec146ec15c6a1ee514a9c61d70d97dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sora_sdk-2023.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 825ffc6fbeff2f70adc1e6ccffa1b051e15ab9c38cf7bce77c20f94ff91e13c6
MD5 c56ff30665ae462e4cd1d80f5182c865
BLAKE2b-256 ea426905bb4f23b61df3bd0406cddeb571ab596307710059403deee547932f16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sora_sdk-2023.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1ff0d038fd07efb74808207e0fdc71abd2604a9f3414fa486380a4917158456d
MD5 3b2ec945e43ea637d221765e08ecaa2d
BLAKE2b-256 719ff9ac346c6ff273efc49900091064e03ebbcc9a3610d7819330320423f8bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sora_sdk-2023.1.1-cp38-cp38-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9269c1990ee3176afcf525d5ba8c0e5b4ab78431ca7e36509de57bc10e0acb29
MD5 f4178830701dfcc0909b99d1b7912fa2
BLAKE2b-256 bd902f59ca1b103d819eb585239f9d2c42c9a00f142e57a8565163127f378541

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