You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The Python SDK is missing backup codec support that is available in the JavaScript SDK #511
The Python SDK is missing backup codec support that is available in the JavaScript SDK. The BackupCodecPolicy enum exists at the protocol level, but the high-level publish_track() API doesn't expose it to developers.
Current Behavior
# Python SDK - backup codec NOT supportedpublication=awaitroom.local_participant.publish_track(track, options)
# No way to specify backup codec or policy
Expected Behavior
# Python SDK - should support backup codec like JS SDKpublication=awaitroom.local_participant.publish_track(
track,
options,
backup_codec_policy=rtc.BackupCodecPolicy.PREFER_REGRESSION,
backup_codec="h264"
)
backup_codec: Optional[str] - Accepts codec name (e.g., "vp8", "h264")
Includes graceful fallback if FFI protocol doesn't support the fields
Fully backward compatible
Request
Could the team please review PR #510 and consider merging it? This would bring the Python SDK to feature parity with the JavaScript SDK and enable codec fallback support for Python developers.
changed the title [-]The Python SDK is missing backup codec support that is available in the JavaScript SDK. The `BackupCodecPolicy` enum exists at the protocol level, but the high-level `publish_track()` API doesn't expose it to developers.[/-][+]The Python SDK is missing backup codec support that is available in the JavaScript SDK[/+]on Oct 8, 2025
Activity
[-]The Python SDK is missing backup codec support that is available in the JavaScript SDK. The `BackupCodecPolicy` enum exists at the protocol level, but the high-level `publish_track()` API doesn't expose it to developers.[/-][+]The Python SDK is missing backup codec support that is available in the JavaScript SDK[/+]