Sora Python SDK の開発

sora-python-sdk 経由でサンプルを動かす

sora-python-sdk

$ rye sync
$ rye run python run.py
$ rye run python /path/to/sora-python-sdk-samples/recvonly/recvonly.py \
   --signaling-urls $YOUR_SIGNALING_URL --channel-id $YOUR_CHANNEL_ID

自前でビルドした sora-python-sdk を rye add で追加してサンプルを動かす

sora-python-sdk

$ rye sync
$ rye run python run.py

sora-python-sdk-samples

$ rye add sora_sdk --path /path/to/sora-python-sdk
$ rye sync
$ rye run python recvonly/recvonly.py \
   --signaling-urls $YOUR_SIGNALING_URL --channel-id $YOUR_CHANNEL_ID

自前でビルドしたパッケージを rye add で追加してサンプルを動かす

sora-python-sdk

$ rye sync
$ rye run python run.py
$ rye run python -m build

sora-python-sdk-samples

$ rye add sora_sdk --path /path/to/sora-python-sdk/dis/sora_sdk-{sdk-version}-{python-version}-{os}_{arch}.whl
$ rye sync
$ rye run python recvonly/recvonly.py \
   --signaling-urls $YOUR_SIGNALING_URL --channel-id $YOUR_CHANNEL_ID
© Copyright 2023, Shiguredo Inc. Created using Sphinx 7.2.6