Part of #82
What
Add H.264 hardware decode to TriNetVideo iOS app. Currently app ENCODES camera → H.264 → UDP but cannot DECODE received H.264 → display.
Implementation
- VTDecompressionSession in VideoPipeline.swift
- Feed received NAL units (from NetController.onData) → decode → CVPixelBuffer
- Display CVPixelBuffer via MetalKit or CALayer
- SPS/PPS extraction from keyframes for session init
File
TriNetVideo/VideoPipeline.swift — add H264Decoder class
Gate
Received H.264 frames displayed on phone screen (loopback test).
phi^2 + phi^-2 = 3
Part of #82
What
Add H.264 hardware decode to TriNetVideo iOS app. Currently app ENCODES camera → H.264 → UDP but cannot DECODE received H.264 → display.
Implementation
File
TriNetVideo/VideoPipeline.swift— add H264Decoder classGate
Received H.264 frames displayed on phone screen (loopback test).
phi^2 + phi^-2 = 3