Skip to content

Conversation

@andrescera
Copy link
Member

Summary

  • Integrates @ceralive/ceracoder TypeScript bindings for pipeline generation
  • Frontend displays pipelines organized by hardware type (Jetson, RK3588, N100, Generic)
  • DevTools Mock Hardware Switcher allows testing different hardware profiles
  • Added i18n translations for hardware types and video sources (10 languages)
  • Removed legacy complex pipeline parsing and auto-selection logic

Changes

Frontend

  • EncoderCard: Show hardware-specific pipelines with translated labels
  • AudioCard: Fixed audio codec display
  • Hardware Switcher: Uses RPC schema types (no hardcoding)
  • StreamingStateManager: Handles both new and legacy pipeline messages

Backend

  • Return { hardware, pipelines } from getPipelines RPC
  • Broadcast hardware info with pipeline updates
  • Default testing hardware set to rk3588

RPC Schema

  • Added HARDWARE_LABELS, HARDWARE_DESCRIPTIONS, HARDWARE_COLORS
  • Added VIDEO_SOURCE_LABELS for browser-safe display

Documentation

  • New docs/ARCHITECTURE.md with system flow diagrams
  • Updated DEVTOOLS.md with Mock Hardware Switcher section

Test Plan

  • Type checks pass (svelte-check, tsc --noEmit)
  • Hardware switcher loads and displays correctly
  • Encoder card shows hardware-specific pipelines
  • Audio codec dropdown displays names properly
  • Manual testing of streaming with different hardware profiles

Related

Major refactor of the streaming/encoder configuration to use the new
@ceralive/ceracoder TypeScript bindings:

Frontend:
- EncoderCard: Display pipelines by hardware type with translated labels
- AudioCard: Fix audio codec display using proper object access
- Hardware Switcher: Import types/labels from RPC schema (no hardcoding)
- StreamingStateManager: Handle both new and legacy pipeline messages
- Remove legacy StreamingAutoSelection and complex pipeline parsing

Backend:
- Return { hardware, pipelines } from getPipelines RPC
- Broadcast hardware info with pipeline updates
- Set rk3588 as default testing hardware

i18n:
- Add hardware type translations (jetson, rk3588, n100, generic)
- Add video source translations (hdmi, camlink, srt, rtmp, etc.)
- All 10 languages updated

RPC Schema:
- Add HARDWARE_LABELS, HARDWARE_DESCRIPTIONS, HARDWARE_COLORS
- Add VIDEO_SOURCE_LABELS for browser-safe display
- Update pipelinesMessageSchema to include hardware

Documentation:
- Add ARCHITECTURE.md with system flow diagrams
- Update DEVTOOLS.md with Mock Hardware Switcher section
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 12, 2026

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants