Skip to content

🎯 EPIC: TRI-NET Phone Video Mesh — phone camera → mesh radio → phone display #82

Description

@gHashTag

Epic: Phone Video Mesh

Goal: Smartphone camera → H.264 → UDP → P203 mesh node → 5.8GHz radio → P203 → UDP → smartphone display.

"Walkie-talkie для видео": one tap — видишь что на другом конце mesh сети, без интернета, без вышек, без SIM.

Architecture

[iPhone Camera] → H.264 encode → UDP:7000 → [P203 Mini: trios_meshd_video]
                                                    ↓
                                              fragment (70B chunks via video_bridge.t27)
                                                    ↓
                                              mesh radio (5.8GHz, ChaCha20-Poly1305 per-hop)
                                                    ↓
                                              [P203 Mini: trios_meshd_video]
                                                    ↓
                                              reassemble + Playout (bounded latency)
                                                    ↓
                                              UDP:7001 → [iPhone Display]

What's done ✅

Component File Status
iOS app (modular, 5 files) tri-net-phone/TriNetVideo/ ✅ Camera + H.264 + UDP + UI
Mesh topology map MeshMapView.swift ✅ Real-time polling, node circles
Video bridge spec specs/video_bridge.t27 ✅ 21 tests, 3 invariants
Topology spec specs/mesh_topology.t27 ✅ 20 tests, 4 invariants
UDP bridge daemon src/bin/trios_meshd_video.rs ✅ 280 lines, fragment/reassemble
FPGA LCD (color bars) lcd_official_port.bit ✅ Working
FPGA framebuffer (64 BRAM) lcd_cam_bram.bit ✅ BRAM inference works
Camera I2C reg_config.v ✅ 251 registers written

What's blocked ❌

Blocker Impact Fix
AN5642 camera dead (PCLK=0) No FPGA video source Use phone camera instead
Apple PLA agreement Can't test on real iPhone Accept in developer portal
H.264 decode on phone Can't display received video VTDecompressionSession
UDP bridge untested on P203 Mesh relay not verified Flash + test on hardware

Sub-issues

  • #TBD: H.264 decode on iOS (VTDecompressionSession + Metal display)
  • #TBD: Test trios_meshd_video on P203 Mini (2 boards)
  • #TBD: Real topology query (replace mock with TOPO_REQ/RESP)
  • #TBD: Apple PLA agreement + signing
  • #TBD: End-to-end demo: PhoneA → P203 → radio → P203 → PhoneB
  • #TBD: Android port (Skip.tools or Kotlin Multiplatform)
  • #TBD: App Store submission

Milestones

Phase Gate ETA
Phase 1: App local Loopback test on iPhone 1 day
Phase 2: Mesh integration Phone→P203→P203→Phone video 3 days
Phase 3: Production App Store + field test 2 weeks

Competitors

Product Video Phone Mesh Open Source Price
Meshtastic ✅ LoRa $30
Signal Free
MPU5 ✅ mil $4000+
TRI-NET ✅ FPGA $200

phi^2 + phi^-2 = 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    drone-meshTRI-NET drone-mesh trackenhancementNew feature or requestepicTrack milestone

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions