Skip to content

feat(phone): H.264 decode on iOS — VTDecompressionSession + Metal display #83

Description

@gHashTag

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    drone-meshTRI-NET drone-mesh trackenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions