Typed AudioBridge plugin client for janus-api-core
Project description
janus-audiobridge-plugin
Typed, async bindings for the Janus AudioBridge plugin. The distribution is
independent from other named Janus plugins and depends only on
janus-api-core>=3,<4.
from janus_audiobridge_plugin import AudioBridgeJoinRequest, AudioBridgePlugin
from janus_api.models.base import Jsep
async with AudioBridgePlugin(session=session) as bridge:
await bridge.join(AudioBridgeJoinRequest(room=1234))
reply = await bridge.configure(
jsep=Jsep(type="offer", sdp=local_offer),
)
answer = reply.jsep
The reverse offer/answer flow is supported without changing negotiation roles:
async with AudioBridgePlugin(session=session) as bridge:
offered = await bridge.request_offer(room=1234)
await bridge.answer_offer(Jsep(type="answer", sdp=local_answer))
Plain-RTP injection is represented by AudioBridgeRtpTransport(): an empty
object intentionally means send-only. Supplying only one of ip and port is
rejected before a malformed request reaches Janus.
All outbound models reject unknown fields and serialize only values explicitly provided by the caller. Inbound models retain unknown fields so a newer Janus server can add response metadata without breaking this client.
Protocol reference: https://janus.conf.meetecho.com/docs/audiobridge.html
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file janus_audiobridge_plugin-3.0.0.tar.gz.
File metadata
- Download URL: janus_audiobridge_plugin-3.0.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af324aa379b4f423bd47d205dd4085b82e4b2d1a1256cd76935f99666ef45787
|
|
| MD5 |
6009d32a57f2c29854024d992d41afe2
|
|
| BLAKE2b-256 |
603e30aa901aeeb4896346f2223cc79af70cf6ddf68574bbdca3140b957b7a44
|
File details
Details for the file janus_audiobridge_plugin-3.0.0-py3-none-any.whl.
File metadata
- Download URL: janus_audiobridge_plugin-3.0.0-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b8aa9fd859da272376fdf6d52ec73c105fae5898db6dbe98e31b6eddca5bbea
|
|
| MD5 |
ee58003102b1a3ee6be1832962717274
|
|
| BLAKE2b-256 |
81fbabfb78d07bef11d2588b38e2ab1de6d993f5b2557a4dc421eaf614dd1bc4
|