StreamVault is a TV-first free IPTV player for Android TV built with Kotlin, Jetpack Compose, Room, Hilt, and Media3.
Kotlin iptv-player
{
"name": "archive_recipe_fallback",
"device": {
"portalUrl": "https://portal.example.com/c",
"macAddress": "00:1A:79:AC:10:04",
"authMode": "MAC_PLUS_CREDENTIALS",
"username": "archive",
"password": "secret"
},
"responses": [
{ "action": "handshake", "body": "{\"js\":{\"token\":\"token-archive-fallback-a\"}}" },
{ "action": "do_auth", "method": "POST", "body": "{\"js\":{\"status\":1}}" },
{ "action": "get_profile", "code": 500, "body": "{}" },
{ "action": "get_profile", "body": "{\"js\":{\"id\":\"504\",\"name\":\"Archive Fallback\",\"status\":\"1\",\"auth_access\":true}}" },
{ "action": "get_main_info", "body": "{\"js\":{\"id\":\"504\",\"name\":\"Archive Fallback\",\"status\":\"1\",\"auth_access\":true}}" },
{ "action": "get_localization", "body": "{\"js\":{\"lang\":\"en\",\"timezone\":\"UTC\"}}" },
{ "action": "get_all_channels", "body": "{\"js\":{\"data\":[{\"id\":\"404\",\"name\":\"Archive Fallback\",\"tv_genre_id\":\"13\",\"cmd\":\"ffmpeg http://localhost/ch/404_\",\"archive\":\"1\",\"allow_local_timeshift\":\"1\"}]}}" },
{ "action": "create_link", "body": "{\"js\":{\"cmd\":\"ffmpeg http://portal.example.com/play/live.php?stream=404&play_token=arch404\"}}" }
],
"expected": {
"authMode": "MAC_PLUS_CREDENTIALS",
"portalProfile": "MAG_STRICT",
"portalFingerprint": "STRICT_MAG",
"magPreset": "MAG254_STRICT",
"bootstrapRecipe": "PORTAL_PREFERRED",
"recipeEvidence": ["recipe:PORTAL_PREFERRED", "preset:MAG254_STRICT", "fallback_recipe", "rediscovery_attempted"],
"bootstrapEvidence": ["handshake", "do_auth", "get_profile", "get_account_info", "get_localization"],
"requestOrder": ["handshake", "do_auth", "get_profile", "get_profile", "get_main_info", "get_localization", "get_all_channels", "create_link"],
"endpointPreference": "SERVER_LOAD",
"archiveRequiresBootstrapPrep": true,
"archiveViaCreateLink": true,
"streamKind": "ARCHIVE",
"playbackMode": "PLAY_LIVE_PORTAL",
"resolvedPlaybackUrl": "http://portal.example.com/play/live.php?stream=404&play_token=arch404&utc=1715853600&lutc=1715857200",
"catchUpStartSeconds": 1715853600,
"catchUpEndSeconds": 1715857200
}
}