<div dir="ltr">Hello,<div><div><br></div><div>I'm using ffmpeg based solution in order to play hls remote stream and my problem is that some times the hls stream stops with this error:</div><div><div><br></div><div>[tcp @ 0x2ae7d90] Connection to tcp://<a href="http://8.21.48.19:7777">8.21.48.19:7777</a> failed: Connection refused</div></div><div><br></div><div>I managed to make a local patch in order to reconnect the socket but I do have another issue with the same hls stream and is that some times the connection drops with the latest displayed message print:</div><div><br></div><div><div>[hls,applehttp @ 0xa323ee60] Failed to open segment of playlist 0</div><div>[mpegts @ 0xaf3905c0] PES packet size mismatch</div><div>[hls,applehttp @ 0xa323ee60] HLS request for url '<a href="http://8.21.48.19:7777/Tounisa_HD/Tounisa_High/150860.ts?user=HTTP_Proxy_ZIXI36_12195237&session=&hlsid=HLS_11146367">http://8.21.48.19:7777/Tounisa_HD/Tounisa_High/150860.ts?user=HTTP_Proxy_ZIXI36_12195237&session=&hlsid=HLS_11146367</a>', offset 0, playlist 0</div><div>[hls,applehttp @ 0xa323ee60] Failed to open segment of playlist 0</div><div>[aac @ 0xa323ea20] decode_band_types: Input buffer exhausted before END element found</div></div><div><br></div><div>As you could notice the stream that I'm using is :</div><div>[<a href="http://8.21.48.19:7777/Tounisa_HD.m3u8">http://8.21.48.19:7777/Tounisa_HD.m3u8</a>]</div><div><br></div><div>Thanks for help,</div><div class="gmail_signature"><div></div></div>
</div></div>