← Back to Pull requests

fix(video): allow manual interpretation streams without active voxbento #151

Closed
unknown closed this pull request without merging on Oct 31, 2026 12:54 UTC
View on GitHub
unknown unknown commented on Oct 30, 2026 22:37 UTC
Author

Description


Accompanies fossasia/eventyay#6943
Fixes fossasia/eventyay#6937

Currently, in interpretation/video_integration.py, augment_room_config disables plugin language streams whenever interpreter == 'none' or when room_enabled is false:

if not interpretation or not interpretation.room_enabled or interpretation.interpreter == 'none':
    room_config['interpretation_use_plugin_streams'] = False
    return

If an organizer configures manual YouTube / WHEP interpretation streams without an active VoxBento connection, this check prevents those streams from being attached to attendee room configs, so attendees never receive the language dropdown below the video player.

Changes


  • Updated augment_room_config in interpretation/video_integration.py to verify whether manual language streams or captions exist on the room (has_manual_streams).

  • If manual streams exist, deliver them to the room payload even when VoxBento is not active or when interpreter == 'none'.

  • If no manual streams exist and VoxBento is not connected, keep the original behavior of disabling plugin streams.
  • Verification


  • Verified with mocked room integration tests that manual language streams (e.g. French YouTube channel with use_video: True) are retained in room_config['interpretation_language_streams'] and interpretation_use_plugin_streams is set to True.

  • Ruff lint checks passed with zero errors.
  • Summary by Sourcery

    Support manual interpretation streams independently of an active VoxBento connection while retaining the existing fallback behavior for rooms without configured streams.

    New Features:

  • Add manual/custom interpretation streams as a supported interpreter backend.
  • Bug Fixes:

  • Preserve manually configured language streams and captions in attendee room configurations when VoxBento is unavailable or not selected.

  • Handle missing VoxBento configuration consistently when generating attendee language streams.
  • <!-- This is an auto-generated comment: release notes by coderabbit.ai -->
    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    New Features
    Added a “Manual / Custom Streams” interpreter option for rooms using manually configured interpretation streams.
    Bug Fixes
    Improved stream availability when Voxbento credentials or its base URL are unavailable: existing non-original language streams can still be used.
    Rooms with no configured language streams are now handled without interrupting stream setup.
    Voxbento stream setup now also handles invalid base URL values gracefully.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 332 lines (+249 / -83) across 4 files Reviewer: Nirupon123 Review duration: 857m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 332 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.347
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #151"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.1% (MEDIUM) · Higher = larger blast radius
    42.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.7% · Safe to merge
    16.7%