TiviMini: Android IPTV player with a self-written Rust core and fast startup
A developer has released TiviMini, an Android IPTV player built on a fully self-written playback core called RustMedia, with downloads on the site tivimini.app. The author liked the Russian IPTV player TiviMate but found its protocol support limited in China: channels took over a second to start, Chinese IPTV sources come as multicast, udpxy[1], RTSP and assorted TS streams that ExoPlayer sometimes cannot play, and TV boxes have weak hardware with high CPU load when playing 4K.
In RustMedia, the protocols, demuxing[2] and audio-video sync are all written from scratch, with the core in Rust and one copy shared by the phone and TV versions. Decoding uses only the system's hardware decoder, MediaCodec[3], with no software-decoding fallback: if a device cannot hardware-decode, the app reports it instead of silently switching to software decoding that heats up phones and stutters TVs. AAC audio is decoded by the system and MP2 in Rust, AC3 and E-AC3 support HDMI passthrough[4] with a fallback when the system has no decoder, and ExoPlayer remains as a backup engine selectable from the playback menu.
In a release-build test on one channel, taking the median of five runs, the time from pressing play to the first frame was 165 ms for RustMedia versus 151 ms for ExoPlayer, and the time to a moving picture was 264 ms versus 1128 ms. A TV box played a 4K H.265 Main10, 50 fps, 36 Mbps live stream and showed a picture in 0.35 s, while a 20,000-channel playlist parsed in ten-odd milliseconds. Protocol support covers UDP/RTP multicast played directly via rtp:// and udp:// without udpxy, HTTP-TS including addresses produced by udpxy or msd_lite, HLS with both TS and fMP4 segments, HTTP-FLV, RTMP, and the RTSP style common for carrier IPTV. Video runs from H.264 to H.265 including 10-bit and 4K depending on the device's hardware decoding, interlaced 1080i is also handled, and audio covers AAC, MP2, MP3, AC3 and E-AC3. The player supports the common catchup formats for watching past programs (playseek, PLTV/TVOD and others), with seeking inside a program and automatic start of the next one after it ends, and it takes m3u and txt playlists plus an XMLTV program guide with gzip support; channels with the same name are merged into one entry with several lines.
Discussion
Commenters mostly join the Google Play testing group and ask the author for an activation code, which he sends out by email; the author also says the app needs no login and that a previously installed version must be uninstalled first because the signature differs. He says reported problems are fixed within one to two days.
Sources
-
CNV2EX ZH
Android 全平台纯自研内核 IPTV 播放器,各种格式都可以快速起播


