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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmeshTRI-NET mesh track

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions