A Python SDK for Agora Server
Project description
Note
- This is a Python SDK wrapper for the Agora RTC SDK.
- It supports Linux and Mac platforms.
- The examples are provided as very simple demonstrations and are not recommended for use in production environments.
Very Important Notice !!!
- A process can only have one instance.
- An instance can have multiple connections.
- In all observers or callbacks, you must not call the SDK's own APIs, nor perform CPU-intensive tasks in the callbacks; data copying is allowed.
Required Operating Systems and Python Versions
-
Supported Linux versions:
- Ubuntu 18.04 LTS and above
- CentOS 7.0 and above
-
Supported Mac versions:
- MacOS 13 and above
-
Python version:
- Python 3.8 and above
Using Agora-Python-Server-SDK
pip install agora_python_server_sdk
Running Examples
Preparing Test Data
- Download and unzip test_data.zip to the Agora-Python-Server-SDK directory.
Executing Test Script
python agora_rtc/examples/example_audio_pcm_send.py --appId=xxx --channelId=xxx --userId=xxx --audioFile=./test_data/demo.pcm --sampleRate=16000 --numOfChannels=1
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
File details
Details for the file agora_python_server_sdk-2.0.4.tar.gz
.
File metadata
- Download URL: agora_python_server_sdk-2.0.4.tar.gz
- Upload date:
- Size: 32.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc0644d2572f2a777e115be45114cb224ff02d677c995eb9498cf8e539e6f860 |
|
MD5 | f0c1c27f9d58f36e4b59014676743ff3 |
|
BLAKE2b-256 | 216918325d657248e412d48234225f624a10c3d8ead0663753a140f04eeb1c99 |