Skip to main content

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


Download files

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

Source Distribution

agora_python_server_sdk-2.0.5.tar.gz (32.4 kB view details)

Uploaded Source

File details

Details for the file agora_python_server_sdk-2.0.5.tar.gz.

File metadata

File hashes

Hashes for agora_python_server_sdk-2.0.5.tar.gz
Algorithm Hash digest
SHA256 b4bf8b204e5b2dfc6dcbf344afb4c0920191f221ab9a39bc529795e1e0d5783d
MD5 8b21a7b5e02cc76efe508f8abf98c522
BLAKE2b-256 0b2a455f7d7553a686d4cf66d7353d40d5d69b55f017406c55e9e9ad35dbedb3

See more details on using hashes here.

Supported by

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