How hansjd/kvflive works
KvfLive is a four-platform TV app scaffold for watching a live stream. The main workflow loads a startup stream URL, starts playback, reports playback status, and lets viewers return to the live edge; the web apps also hide the Go Live control after inactivity. Shared configuration is documented as the common source copied into platform-specific assets. The platform implementations are mostly self-contained rather than separate service layers. Relationships below rely on the excerpts and README; unsampled platform details are not inferred.
Main entry points: app-config.json Shared Stream Config · MainActivity.kt Android Playback App · KvfLiveAppleTVApp.swift Apple Playback App · main.js webOS Playback App
Components 11
Shared Configuration
- Shared Stream Config
packages/shared/app-config.json - Android Config Asset
android-tv/app/src/main/assets/shared/app-config.json - Apple Config Asset
apple-tv/TVApp/Resources/shared/app-config.json - webOS Config Asset
webos/shared/app-config.json - Tizen Config Asset
tizen/shared/app-config.json
Native TV Apps
- Android Playback App
android-tv/app/src/main/java/com/kvflive/tv/MainActivity.kt - Apple Playback App
apple-tv/TVApp/Sources/KvfLiveAppleTVApp.swift
Web TV Apps
- webOS Playback App
webos/main.js - Tizen Playback App
tizen/js/main.js
Other components
- TV Viewer
- Live Stream
Connections 16
- Shared Stream Config → Android Config Asset: syncs to
README.md - Shared Stream Config → Apple Config Asset: syncs to
README.md - Shared Stream Config → webOS Config Asset: syncs to
README.md - Shared Stream Config → Tizen Config Asset: syncs to
README.md - TV Viewer → Android Playback App: controls
android-tv/app/src/main/java/com/kvflive/tv/MainActivity.kt - TV Viewer → Apple Playback App: controls
apple-tv/TVApp/Sources/KvfLiveAppleTVApp.swift - TV Viewer → webOS Playback App: controls
webos/main.js - TV Viewer → Tizen Playback App: controls
tizen/js/main.js - Android Playback App → Android Config Asset: reads URL
android-tv/app/src/main/java/com/kvflive/tv/MainActivity.kt - Apple Playback App → Apple Config Asset: reads URL
apple-tv/TVApp/Sources/KvfLiveAppleTVApp.swift - webOS Playback App → webOS Config Asset: loads config
webos/main.js - Tizen Playback App → Tizen Config Asset: loads config
tizen/js/main.js - Android Playback App → Live Stream: plays stream
README.md - Apple Playback App → Live Stream: plays stream
README.md - webOS Playback App → Live Stream: plays stream
webos/main.js - Tizen Playback App → Live Stream: plays stream
tizen/js/main.js