Skip to main content

janus-recordplay-plugin

Typed, independently installable bindings for janus.plugin.recordplay. This distribution depends on janus-api-core and no other named Janus plugin.

from janus_api.models.base import Jsep
from janus_recordplay_plugin import RecordPlayPlugin

media = RecordPlayPlugin(session=session)
await media.attach()

# Recording: the browser offers and Janus answers.
recording = await media.record("demo", Jsep(type="offer", sdp=offer_sdp))

# Playback: Janus offers first, then the browser answers.
preparing = await media.play(recording_id=1234)
await media.start(Jsep(type="answer", sdp=answer_sdp))

The client deliberately encodes the asymmetric JSEP state machine: record requires an offer, play rejects JSEP entirely, and start requires an answer. It also preserves Janus's synchronous/asynchronous split: list, update, and configure wait for immediate plugin data; media-state requests wait for their event.

The schemas include the current update recording and restart playback options in Janus, plus the exact hyphenated wire keys used by configure. See the official Record&Play API and recordings format.

Metadata

Release files for janus-recordplay-plugin 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for janus-recordplay-plugin 3.0.0
File Size Uploaded
janus_recordplay_plugin-3.0.0.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for janus-recordplay-plugin 3.0.0
File Interpreter ABI Platform
janus_recordplay_plugin-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / janus_recordplay_plugin-3.0.0.tar.gz

Download URL janus_recordplay_plugin-3.0.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fe7c6735d28acb3c05bca5e7f1a9ffb49d9ec1d76c094f7367a4316258a8f5ce
BLAKE2b-256 checksum
How to use checksums
6451130b5408e61328176a5c53772467760e86d5ee5b3ba42539caa13f6c582a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release files / janus_recordplay_plugin-3.0.0-py3-none-any.whl

Download URL janus_recordplay_plugin-3.0.0-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6db954f2175159cf7f1c59bb108e722ffb99f89092433b8a3420a3e3e62c4fd
BLAKE2b-256 checksum
How to use checksums
6b2a26007006338e6f7ba50b99a6cec4152cebd4c130ea663735e1d076a26f1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page