Project

General

Profile

Actions

Bug #3564

open

iptv: HLS streams get stuck after a short time

Added by Marcel Schaeben about 9 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
IPTV
Target version:
-
Start date:
2016-02-08
Due date:
% Done:

0%

Estimated time:
Found in version:
0.0.0-unknown (git commit 70e8c4234be9b1169b1b0be13ff144d0f9f1a28c)
Affected Versions:

Description

When I try to play HLS streams such as http://zdf1112-lh.akamaihd.net/i/de11_v1@392881/master.m3u8 or http://hlslive.rtve.es/LA2_LV3_IPH/bitrate_2.m3u8 (which work fine when using ffmepg through pipe://), the streams get stuck after a varying amount of time ranging from a few seconds to a maximum of maybe three to five minutes. This is happening for all HLS streams I have tried.

tvheadend is cross compiled for mips with gcc 4.8.5, uClibc 0.9.33.2-nptl  configured with
 --target=mips-linux 
--host=mips-linux 
--build=x86_64-pc-linux-gnu 
--with-gnu-ld 
--disable-nls  
--arch=mips 
--platform=linux 
--disable-hdhomerun_static 
--disable-libffmpeg_static

I haven't found any useful debug or trace output hinting the cause of the problem. The stream just stops. I am using the current git master version but this has happened for me since HLS support was first introduced.
When enabling trace output for iptv and iptv-pcr and parser. I do not see any errors, the last log output before the steam stops is:

2016-02-08 15:38:25.000 [  TRACE] iptv-pcr: pcr: updated 8272952015, time start 88708398226, limit 5000000
2016-02-08 15:38:25.000 [  TRACE] iptv-pcr: unpause timer callback

When I enable trace for httpc, I see the packages coming in until the stream stops - also here, there are no error messages whatsoever.

I am happy to provide any additional information if required.

Actions

Also available in: Atom PDF