Skip to main content

Typed async client for the Janus EchoTest plugin

Project description

janus-echotest-plugin

An independently installable, fully typed client for the Janus EchoTest plugin. It depends only on janus-api-core; importing it does not install any other named Janus plugin.

from janus_api.models.base import Jsep
from janus_echotest_plugin import EchoTestPlugin

echo = EchoTestPlugin(session=session)
await echo.attach()
reply = await echo.negotiate(
    Jsep(type="offer", sdp=local_offer),
    audio=True,
    video=True,
    bitrate=1_500_000,
)
remote_answer = reply.jsep

configure() changes media, recording, bitrate, simulcast, or SVC settings without renegotiating. negotiate() requires an offer and returns the outer JSEP answer alongside typed plugin data. Plugin and Janus envelope failures are raised as typed exceptions.

The request schema follows the official EchoTest API. Outbound messages reject undocumented keys; inbound events retain unknown future keys.

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

janus_echotest_plugin-3.0.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

janus_echotest_plugin-3.0.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file janus_echotest_plugin-3.0.0.tar.gz.

File metadata

File hashes

Hashes for janus_echotest_plugin-3.0.0.tar.gz
Algorithm Hash digest
SHA256 665a55ac4698e155acc5146f3c000ba9f7525d992eeaf09ce633fadfb1cfaeb8
MD5 d803bbd68d68d8ef28ceea7c5620c269
BLAKE2b-256 e28371192bd437739b2a35c9c018149eea0c639395d2016454152a8233f68dd0

See more details on using hashes here.

File details

Details for the file janus_echotest_plugin-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for janus_echotest_plugin-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6caa81267e73cc692e54e1c90a73cffbc865e88e733cbcc9758bf1578639520
MD5 d53f0129f3a75b568084c278f38231cb
BLAKE2b-256 a56e493aef2e259857a3747d2a61eeaf35c4df6a67e55ab6dd2574bfd169800c

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