Skip to main content

Typed async client for the Janus VideoCall plugin

Project description

janus-videocall-plugin

Typed, independently installable bindings for janus.plugin.videocall. The package depends on janus-api-core and does not pull in unrelated Janus plugin implementations.

from janus_api.models.base import Jsep
from janus_videocall_plugin import VideoCallPlugin

phone = VideoCallPlugin(session=session)
await phone.attach()
await phone.register("alice")
calling = await phone.call("bob", Jsep(type="offer", sdp=offer_sdp))

All six documented operations (list, register, call, accept, set, and hangup) are asynchronous. call requires an offer, accept requires an answer, and set optionally carries an offer or answer for renegotiation. Detach the handle to release its username; Janus has no unregister request.

Models follow the official VideoCall API. Outbound payloads reject unknown keys, while inbound events retain additions made by a future Janus release.

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_videocall_plugin-3.0.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

janus_videocall_plugin-3.0.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for janus_videocall_plugin-3.0.0.tar.gz
Algorithm Hash digest
SHA256 085304d4e1d0a8a8a209fa7146b69c939e49cbe7b130a9e3b717695d24cf6c53
MD5 879c6b614ce888ea6012e12d7c4e6724
BLAKE2b-256 fe697d156977388c263b5c421f61d31e6ee99abde39dfd40e48a4723aa85cccf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for janus_videocall_plugin-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5137785e370d90de2fafaae3342a2389353e90fb2dbd1ffe2d2913e12c175ed
MD5 20416bc04f9e0d663c86c7e396beab30
BLAKE2b-256 616459b515aad8da75f60e3f26e09a3309d84e4fffd213c5019bc1147909b2ab

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