How hansjd/kvflight works
kvflight is a small iOS live-streaming app represented by Swift and Xamarin implementations. Users open the app to watch an HLS stream; the Xamarin player checks configured stream addresses before playback and reloads on foregrounding, while the Swift player starts a configured stream and also reloads on foregrounding. The sampled files show playback and lifecycle behavior, but the README documents no additional capabilities; storyboard wiring was not inspected.
Main entry points: Main.cs Xamarin entry · ViewController.swift Swift stream player · ViewController.cs Xamarin stream player · AppDelegate.cs Xamarin app setup
Components 7
App lifecycle
- Swift app setup
Swift/kvflight/AppDelegate.swift - Xamarin entry
Xamarin/kvflight/Main.cs - Xamarin app setup
Xamarin/kvflight/AppDelegate.cs
Swift player
- Swift stream player
Swift/kvflight/ViewController.swift
Xamarin player
- Xamarin stream player
Xamarin/kvflight/ViewController.cs
Other components
- Viewer
- HLS streams
Connections 3
- Xamarin entry → Xamarin app setup: starts app
Xamarin/kvflight/Main.cs - Swift stream player → HLS streams: requests stream
Swift/kvflight/ViewController.swift - Xamarin stream player → HLS streams: checks and plays
Xamarin/kvflight/ViewController.cs